LXQt the lightweight Qt based desktop environment, result of merging two desktop environments, LXDE and RazorQt.
LXQt has atleast three significant advantage than other lightweight based desktops like XFCE, LXDE, MATE etc.
- It’s built with Qt, so more cleaner and and unified user interface.
- LXQt has It’s own policykit handler, app runner, notification daemon etc . etc.
- Everything is highly costomizable, even you could use own Qt style sheet.
So lets install LXQt in Ubuntu, Linux Mint or any other ubuntu derivative.
LXQt is available in the main repository of Ubuntu 16.04 and above, no need to add the PPA below, but if you want to try latest LXQt, you may want to use the PPA from Lubuntu devs.
To install LXQt in Ubuntu or Linux Mint 18 , just install these packages listed here.
sudo apt-get install lxqt-session lxqt-panel lxqt-qtplugin lxqt-sudo lxqt-policykit lxqt-globalkeys lxqt-admin lxqt-powermanagement lxqt-runner pcmanfm-qt lximage-qt
The above line is a bit long, it’s better to copying it somewhere.
Continue reading if you want to make your LXQt desktop even better.
1. For experimental installintion, add the LXQt PPA
LXQt packages are available from LXDE developer team’s PPA, first add the PPA
sudo add-apt-repository -y ppa:lubuntu-dev/lubuntu-daily
Now update the software repository
sudo apt-get update
2. Installing LXQt desktop
In Ubuntu LXQt desktop could be installed installed manually package by package, but it’s going to be headache for newbies, difficult to locate what is not working why it’s not working.
So if you have no worry about how much internet bandwidth will be consumed, just install the lxqt-metapackage , it’ll install the rest as dependency.
sudo apt-get install lxqt-metapackage
A little harder way, install just what is needed
sudo apt-get install openbox pcmanfm-qt lxqt-admin lxqt-common lxqt-config lxqt-globalkeys lxqt-notificationd lxqt-panel lxqt-policykit lxqt-powermanagement lxqt-qtplugin lxqt-runner lxqt-session lxqt-sudo
This will install most LXQt related packages, but still something may be missing, depending on your system.
3. Choosing a window manager
Traditionally LXQt uses the openbox window manager to be lightweight, but other window managers like Kwin , compiz, mutter, xfwm4 etc. could be used as well.
Here I’m using the kwin window manager, which is highly costomizable, nice window decoration and lots of other feature.
Installing minimal kwin and systemsettings on ubuntu
sudo apt-get --no-install-recommends install kwin-x11 kwin-style-breeze kwin-addons systemsettings
set kwin_x11 as window manager in LXQt Session Settings , read more about Kwin with LXQt here .
4. Choosing a widget style for Qt apps
LXQt could use many Qt widget style like Breeze, Oxygen, Fusion, QtCurve Gtk+ , the Breeze style looks very clean and unified. To install Breeze style, run the command bellow
sudo apt-get install kde-style-breeze kde-style-breeze-qt4
Change the widget style from with the LXQt appearance Configuration application. More about Qt5 application style in detail How to change Qt5 application style with qt5ct . You may want to install a good looking icon theme too, Breeze icons matches with LXQt very well.
5. Final configuration
If you use a graphical login manager like lightdm , sddm or gdm, just logout , select LXQt desktop and login again.
Only if you are not using any graphical login manager, just using the startx command from the login shell, run the command bellow and select lxqt-session .
sudo update-alternatives --config x-session-manager
6. Bonus ! Best icon themes for LXQt and apply dark theme to LXQt
If you’re looking for a pleasant icon theme for LXQt it’s here, choose the best from few hand picked icon themes.
If you like dark widget style or want to make the Desktop darker at night, it’s here.
No doubt it’s a bit tricky to apply dark themes to Qt applications if you’re not using KDE, but above I’m using a qt5ct to do so, no KDE.
So it’s fairly simple to install LXQt in ubuntu from PPA, sadly LXQt is becoming more bloated day by day.
Share your experience with LXQt desktop here, any suggestion, question or feedback is welcome.