The LXDE Common package provides a set of default configuration for LXDE.
This package is known to build and work properly using an LFS-7.8 platform.
Download (HTTP): http://downloads.sourceforge.net/lxde/lxde-common-0.99.0.tar.xz
Download MD5 sum: 5a417f5a0e5b510a0c018b66b0dc4081
Download size: 868 KB
Estimated disk space required: 2.8 MB
Estimated build time: less than 0.1 SBU
ConsoleKit2-1.0.0, lxde-icon-theme-0.5.1, LXPanel-0.8.1, LXSession-0.5.2, openbox-3.6.1 (runtime), and PCManFM-1.2.3
desktop-file-utils-0.22, hicolor-icon-theme-0.15, and shared-mime-info-1.4
ConsoleKit2-1.0.0 and D-Bus-1.10.0
A notification daemon such as notification-daemon-3.16.1 or xfce4-notifyd-0.2.4
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxde-common
Install LXDE Common by running the following commands:
./configure --prefix=/usr --sysconfdir=/etc && make
This package does not come with a test suite.
Now, as the root
user:
make install
If you have installed recommended dependencies, run the following
commands as the root
user:
update-mime-database /usr/share/mime && gtk-update-icon-cache -qf /usr/share/icons/hicolor && update-desktop-database -q
You can start LXDE from runlevel 3, using xinit-1.3.4, or from runlevel 5, using a Display Manager, such as sddm-0.12.0.
To start LXDE using xinit-1.3.4, run the following commands:
cat > ~/.xinitrc << "EOF"
ck-launch-session dbus-launch --exit-with-session startlxde
EOF
startx
The X session starts on the first unused virtual terminal, normally vt7. You can switch to another vtn simultaneously pressing the keys Ctrl-Alt-Fn (n=1, 2, ...). To switch back to the X session, normally started at vt7, use Ctrl-Alt-F7. The vt where the command startx was executed will display many messages, including X starting messages, applications automatically started with the session, and eventually, some warning and error messages. You may prefer to redirect those messages to a log file, which not only will keep the initial vt uncluttered, but can also be used for debug purposes. This can be done starting X with:
startx &> ~/.x-session-errors
You may wish to drop consolekit and/or dbus-launch, e.g., just using startlxde in ~/.xinitrc. However some capabilities such as mounting or umounting file systems from a file manager will not be possible, or the reboot option will be absent or inoperative, among other problems.
When shutting down or rebooting, the shutdown messages appear on the vt where X was running. If you wish to see those messages, simultaneously press keys Alt-F7 (assuming that X was running on vt7).
Last updated on 2015-09-29 14:49:19 -0700