Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jul 2019 17:35:18 -0500
From:      "Clay Daniels Jr." <clay.daniels.jr@gmail.com>
To:        freebsd-doc@freebsd.org
Subject:   Re: Would Like to Add Documentation to FreeBSD Handbook about LXDE
Message-ID:  <CAGLDxTVP_wwtako-vv6PFGGg_VGyrSkzN4Pj2mZVqz45qZ2YtA@mail.gmail.com>
In-Reply-To: <CAGLDxTXUGUTTC2emzMcDPxGMg_DhL-Ct1DfNHJdTgpjhy9TZGg@mail.gmail.com>
References:  <CAGLDxTXUGUTTC2emzMcDPxGMg_DhL-Ct1DfNHJdTgpjhy9TZGg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I have a second draft of my How-To Install & Configure LXDE Desktop below.
I think I want to just post it to the How_To Forum. What I would like is
for anyone to look this over and seem if you can help me improve it. Thanks.

*How-To Install & Configure LXDE Desktop*

LXDE (Lightweight X11 Desktop Environment) is a nice lite desktop, easy to
install and configure. LXDE is a good choice for those who want to have a
lot of control on what apps are installed. Beyond the basic desktop it only
pre-installs a few programs: two terminals, a task manager, a file manager,
an image viewer, and desktop configuration tools. You pick your graphical
text ediror, web browser, etc. Nice and clean. Neat screen savers!

Assuming you have installed Xorg, and installed the drm-kmod for your video
drivers, and added user(s) who will have permission to 'startx' the video
by adding them to either the wheel or video groups, you are ready to
install a desktop environment. At this point log in as user [NOT ROOT], and
run:

% startx

You should be able to see the skeleton X window with three xterm terminals
and a clock.
Now return to root login, and back to console if you like, or just just
work in the skeleton Xorg window:

1. INSTALL LXDE:

EITHER: # pkg install lxde-meta
OR: # cd /usr/ports/x11/lxde-meta && make install clean

2. CREATE ~/.xinitrc file in user's home directory:

Switch to users home directory:
# cd /usr/home/<username>
Create the new .xinitrc file:
# vi .xinitrc
Add these two lines to the new .xinitrc file:
ck-launch-session dbus-launch --exit-with-session startlxde
exec startlxde

3. ENABLE D-BUS

Add this line to the existing /etc/rc.conf file:
dbus_enable="YES"

4. MOUNT PROC

Add procfs like this to existing /etc/fstab file:
proc   /proc   procfs   rw   0   0

5. RE-BOOT, LOGIN AS USER, AND RUN startx

% startx

Remember, _NEVER RUN STARTX AS ROOT_, only as a user!

Taken in part from https://wiki.lxde.org/en/FreeBSD at lxde.org and other
sources,
including FreeBSD forums and trial & error experience.
Clay Daniels - clay.daniels.jr@gmail.com - July 2019
Tested on FreeBSD 13.0-CURRENT r350103

On Sat, Jul 20, 2019 at 2:55 AM Clay Daniels Jr. <clay.daniels.jr@gmail.com>
wrote:

> I have installed the LXDE desktop environment and really like it. The
> FreeBSD Handbook does not have a section for it, and I would like to add
> one to Chapter 5.7, where there are instructions for Gnome, KDE. and XFCE.
> I need some help with the procedure to submit such a document. Here is my
> rough draft:
>
> Install & Configure LXDE
>
> LXDE (Lightweight X11 Desktop Environment) is a nice lite desktop and easy
> to install and configure. Assuming you have installed Xorg, and the
> drm-kmod for your video drivers, and added users who will have permission
> to 'startx' the video by adding them to either the wheel or video groups,
> you are ready to install a desktop envirnment. LXDE is a good choice for
> those who want to have a lot of control on what apps are installed. Beyond
> the basic desktop it only pre-installs a few programs: two terminals, an
> image viewer, and a file manager. You pick your graphical text ediror, web
> browser, etc. Nice and clean. Neat screen savers!
>
> 1. INSTALL
>
> EITHER: # pkg install lxde-meta
>
> OR: # cd /usr/ports/x11/lxde-meta && make install clean
>
> 2. CREATE ~/.xinitrc file in user's home directory
>
> a. PUT this line in your ~/.xinitrc to start LXDE via startx command:
>
> # echo 'exec startlxde' > ~/.xinitrc
>
> You can also do this as user so you will be their home directory,
> not root's home directory.
>
> % echo 'exec startlxde' > ~/.xinitrc
>
> b. ADD this line above 'exec startlxde':
>
> ck-launch-session dbus-launch --exit-with-session startlxde
>
>
> All of this .xinitrc work could also be done in vi or leafpad,
> by root or user,and ~/.xinitrc should now have these two lines:
>
> ck-launch-session dbus-launch --exit-with-session startlxde
> exec startlxde
>
> 3. ENABLE D-BUS
>
> Add this line to /etc/rc.conf:
>
> dbus_enable="YES"
>
> 4. MOUNT PROC
>
> Add procfs like this to "/etc/fstab" file,
> using vi or other text editor:
>
> proc   /proc   procfs   rw   0   0
>
> 5. RE-BOOT, LOGIN AS USER, AND RUN startx
>
> % startx
>
> Remember, _NEVER RUN STARTX AS ROOT_, only as a user!
>
> Taken in part from https://wiki.lxde.org/en/FreeBSD at lxde.org and other
> sources, including FreeBSD forums and trial & error experience.
> Clay Daniels - clay.daniels.jr@gmail.com - July 2019
> Tested on FreeBSD 13.0-CURRENT r350103
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGLDxTVP_wwtako-vv6PFGGg_VGyrSkzN4Pj2mZVqz45qZ2YtA>