Would Like to Add Documentation to FreeBSD Handbook about LXDE
Clay Daniels Jr.
clay.daniels.jr at gmail.com
Sat Jul 20 07:55:35 UTC 2019
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 at gmail.com - July 2019
Tested on FreeBSD 13.0-CURRENT r350103
More information about the freebsd-doc
mailing list