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

ldconfig

Starting LXQt

You can start LXQt from a TTY, using xinit-1.3.4.

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"
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

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-09-05 12:13:49 -0700