LXQt Desktop Final Instructions

Post-Install Instructions

Final steps, before starting LXQt.

Dependencies to Start LXQt

Required

openbox-3.6.1, or another window manager, such as Xfwm4-4.12.4, or kwin from Plasma-5.10.5. Note that IceWM-1.4.2 is not suitable for LXQt

Recommended

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

Final Configuration

If LXQt is installed in /usr, jump directly to LXQt Final Updates, otherwise run the commands in the next section.

Configuration needed only if installing into /opt

If LXQt is installed into /opt, some files have to be copied to /usr/share, so that the system can find them. 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

LXQt Final Updates

The desktop databases have to be created or updated at this point. Run the following commands as the root user:

update-mime-database /usr/share/mime          &&
xdg-icon-resource forceupdate --theme hicolor &&
update-desktop-database -q

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.16.0.

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 2017-09-15 11:43:01 -0500