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.12.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 a TTY, using xinit-1.4.0, or by using a graphical display manager such as lightdm-1.24.0.

To start LXQt using xinit-1.4.0, 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 2018-01-05 16:14:37 -0600