Introduction to LXDE Common

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.5 platform.

Package Information

LXDE Common Dependencies


ConsoleKit-0.4.6, lxde-icon-theme-0.5.0, LXPanel-0.6.1, LXSession-, openbox-3.5.2 (runtime), and PCManFM-1.1.2


Optional Runtime Dependencies

Notification Daemon, such as notification-daemon-0.7.6 or xfce4-notifyd-0.2.4 and Polkit Authentication Agent, such as LXPolkit-0.1.0 or polkit-gnome-0.105

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxde-common

Installation of LXDE Common

Install LXDE Common by running the following commands:

sed -e "s:@prefix@/share/lxde/pcmanfm:@sysconfdir@/xdg/pcmanfm/LXDE:" \
    -i startlxde.in &&
./configure --prefix=/usr --sysconfdir=/etc &&

This package does not come with a test suite.

Now, as the root user:

make install &&
install -Dm644 lxde-logout.desktop /usr/share/applications/lxde-logout.desktop

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

Starting LXDE

To start LXDE using xinit-1.3.3, run the following commands:

cat > ~/.xinitrc << "EOF"
ck-launch-session startlxde


Command Explanations

sed -e ...: This sed fixes the wrong path of the default PCManFM configuration file.


Installed Programs: lxde-logout, openbox-lxde and startlxde
Installed Libraries: None
Installed Directories: /etc/xdg/lxsession/LXDE, /etc/xdg/pcmanfm/LXDE, /usr/share/lxde and /usr/share/lxpanel/profile/LXDE

Short Descriptions


is a wrapper script which runs Openbox with LXDE specific config file.


is used to start the desktop session for LXDE.

Last updated on 2014-02-20 04:20:28 -0800