LXQt Desktop Final Instructions

Post-Install Instructions

Final steps, before starting LXQt.

Dependencies to Start LXQt

Required

openbox-3.6.1 (runtime) - this may be replaced by another WM, see the Configuring instructions in lxqt-session-0.10.0.

Recommended

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/post-install

Final configuration

If installed in /usr, you do not need final configuration. Jump to “Starting LXQt”, below.

If installed in /opt, in order for the system to find some files, run the following commands, as the root user:

ln -svfn $LXQT_PREFIX/share/lxqt /usr/share/lxqt &&

cp -v {$LXQT_PREFIX,/usr}/share/xsessions/lxqt.desktop &&

for i in $LXQT_PREFIX/share/applications/*
do
  ln -svf $i /usr/share/applications/
done

for i in $LXQT_PREFIX/share/desktop-directories/*
do
  ln -svf $i /usr/share/desktop-directories/
done

unset i

Starting LXQt

You can start LXQt from runlevel 3, using xinit-1.3.4, or from runlevel 5, using a Display Manager, such as sddm-0.13.0. The lxqt.desktop file needs to be fixed, or will not be listed in sddm-0.13.0 and lxdm-0.5.3:

sed -e '/TryExec/d' \
    -i /usr/share/xsessions/lxqt.desktop

To start LXQt using xinit-1.3.4, run the following commands:

cat > ~/.xinitrc << "EOF"
ck-launch-session dbus-launch --exit-with-session startlxqt
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
[Note]

Note

You may wish to drop consolekit and/or dbus-launch, e.g., just using startlxqt 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 2016-03-06 15:31:27 -0800