%general-entities; ]> LXQt Desktop Pre-Install Instructions LXQt Pre-Install LXQt can be installed in /usr or /opt/lxqt. Installing in /usr Installing in /usr creates a simpler setup. Run: export LXQT_PREFIX=/usr Either add that to your own .bash_profile so that it will still be set if you build the packages over a period of time, or else add it to the system profile as the &root; user: cat > /etc/profile.d/lxqt.sh << "EOF" # Begin LXQt profile export LXQT_PREFIX=/usr # End LXQt profile EOF There is no other configuration needed to install LXQt in /usr. Installing in /opt/lxqt Installing in /opt/lxqt may simplify upgrading to a later version of LXQt. Some variables need to be defined in your system profile, as the &root; user: install -vdm755 /opt/lxqt/{bin,lib} cat > /etc/profile.d/lxqt.sh << "EOF" # Begin LXQt profile export LXQT_PREFIX=/opt/lxqt pathappend /opt/lxqt/bin PATH pathappend /opt/lxqt/share/man/ MANPATH pathappend /opt/lxqt/lib/pkgconfig PKG_CONFIG_PATH pathappend /opt/lxqt/lib/plugins QT_PLUGIN_PATH export CMAKE_PREFIX_PATH=$LXQT_PREFIX # End LXQt profile EOF cat >> /etc/profile.d/qt5.sh << "EOF" # Begin Qt5 changes for LXQt pathappend $QT5DIR/plugins QT_PLUGIN_PATH # End Qt5 changes for LXQt EOF Expand your /etc/ld.so.conf file: cat >> /etc/ld.so.conf << "EOF" # Begin LXQt addition /opt/lxqt/lib # End LXQt addition EOF Before starting to install the packages in the following pages, remember to execute: source /etc/profile Some packages from the KF5 bundle and lxqt packages install files into /usr/share, but look in $LXQT_PREFIX/share. In order to have applications find these files, create a symlink between these directories. Run the following commands as the &root; user: source /etc/profile && install -v -dm755 $LXQT_PREFIX && ln -sfv /usr/share $LXQT_PREFIX Sometimes, the installation paths are hardcoded into installed files. This is the reason why /opt/lxqt is used as installation prefix instead of /opt/lxqt-&lxqt-version;. After installing LXQt Desktop, you may rename the directory and create a symlink: mv /opt/lxqt{,-&lxqt-version;} ln -sfv lxqt-&lxqt-version; /opt/lxqt Later on, you may want to install other versions of LXQt Desktop. To do that, just remove the symlink and use /opt/lxqt as the prefix again. Which version of LXQt Desktop you use depends only on where the symlink points. No other reconfiguration will be needed. Notes about building LXQt dependencies LXQt obviously needs , but not all Qt5 modules and dependencies are necessary. Since the aim of LXQt is to be light weight, it may be interesting to cut down the Qt5 overhead, and to build only parts of it. To build Qt and LXQT dependencies, the proposed order is the following: Build , , , and , with their dependencies. Build the whole chapter, including Wayland support and xcb-utils-xxx packages, with required and recommended dependencies, and replacing twm vith (and its required dependencies). Some Xorg applications and fonts may be omitted, but with a negligible impact on build time and size. Build some of the recommended Qt dependencies, namely: , , , and . Build the required parts of . To skip all modules but the those needed for LXQt, do: ls -Fd qt* | grep / | sed 's/^/-skip /;s@/@@' > tempconf sed -ir '/base|tools|x11extras|svg|declarative|wayland/d' tempconf ./configure <book flags> $(cat tempconf) The time needed to complete the Qt installation is thus reduced to around 11 SBU. Build miscellaneous dependencies (with their required ones): , , , , , , , , , and . Build KDE frameworks dependencies: , , , and . Finally, build some desktop utilities: or other sets of icons, , (needed to update the desktop database), (needed to update the mime database), (needs only xmlto), and .