Introduction to lxqt-session

The lxqt-session package contains the default session manager for LXQt.

This package is known to build and work properly using an LFS-8.2 platform.

Package Information

lxqt-session Dependencies


liblxqt-0.12.0, (kwindowsystem-5.43.0 for lxqt or KDE Frameworks-5.43.0), and Xdg-user-dirs-0.16


git-2.16.2 (to download translation files) or lxqt-l10n-0.12.0 (to add localization files)

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/lxqt-session

Installation of lxqt-session

Install lxqt-session by running the following commands:

sed -e '/TryExec/s@=@='$LXQT_PREFIX'/bin/@' \
    -i xsession/lxqt.desktop.in &&

mkdir -v build &&
cd       build &&

cmake -DCMAKE_BUILD_TYPE=Release          \
      -DPULL_TRANSLATIONS=no              \
      ..       &&


This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed -e '/TryExec/s@=@='$LXQT_PREFIX'/bin/@' -i xsessions/lxqt.desktop.in: If using a display manager, the full path of the “TryExec” directive has to be given so that the LXQt desktop appear in the sessions list.

-DPULL_TRANSLATIONS=no: Removes the need for git-2.16.2, which would otherwise be requested to download the translation files.

Configuring lxqt-session

Window Managers other than openbox-3.6.1 may be used, e.g. Xfwm4-4.12.4. Notice that IceWM-1.4.2 is not a valid replacement. Fluxbox does work, although in this context (with lxqt-config-0.12.0) openbox-3.6.1 is better. The configuration file /etc/xdg/lxqt/windowmanagers.conf comes with several examples of Window Managers and the ones which are installed will appear in a drop down list of lxqt-config-session. For the ones not included in /etc/xdg/lxqt/windowmanagers.conf, you can use the lxqt-config-session "search" button, e.g. for Fluxbox-1.3.7, navigating through the file system until you can choose fluxbox. Alternatively, if you wish the Window Manager of your choice to appear in the drop down list, include it in /etc/xdg/lxqt/windowmanagers.conf. For Fluxbox-1.3.7, include the line


and it will appear as an option in the drop down list. To change the WM, after selecting it, you need to restart the session.


Installed Programs: lxqt-config-session, lxqt-leave, lxqt-session, and startlxqt
Installed Libraries: None
Installed Directories: None

Short Descriptions


is a GUI configuration tool for lxqt-session settings.


is a graphical dialog to terminate the session.


is a lightweight X session manager.


is used to start the desktop session for LXQt.

Last updated on 2018-02-21 04:35:18 -0800