Install LXQt desktop in Ubuntu, Linux Mint

LXQt the lightweight Qt based desktop environment, result of merging two desktop environments, LXDE and RazorQt.

install lxqt desktop ubuntu

LXQt has atleast three significant advantage than other lightweight based desktops like XFCE, LXDE, MATE etc.

  1. It’s built with Qt, so more cleaner and and unified user interface.
  2. LXQt has It’s own policykit handler, app runner, notification daemon etc . etc.
  3. 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.

 

UPDATE:

LXQt is available in Ubuntu 16.04 main repository, no need to add the PPA below, but if you want to try latest LXQt, you may 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 

ubuntu lxqt kwin

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.

LXQt_qt5ct_choose_color_schema

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.

11 Responses

  1. Greg says:

    I tried this a while ago and again now with a new laptop. Not a very advanced user, after entering this:

    sudo apt-get –no-install-recommends install kwin-x11 kwin-style-breeze kwin-addons systemsettings

    I get:

    E: Unable to locate package kwin-x11 | E: Unable to locate package kwin-style-breeze | E: Unable to locate package kwin-addons

    I tried using Synaptic but no progress. Is there a simple fix that I am too dense to see?

  2. Astor says:

    which is the counterpart of this command:
    sudo apt-get install lxqt-metapackage

    i mean: how can i uninstall ?

    • Arnab says:

      Hi, so you messed up your LXQt installation 🙂 Just joking .
      I don’t know any direct counterpart of this command, till now.

      But you could use sudo apt-get purge lxqt-metapackage

      Then find the packages recommanded by it, sudo dpkg -I /var/cache/apt/archives/lxqt-metapackage*

      Finally sudo apt-get autoremove –purge
      And thanks for your valuable feedback.

Leave a Reply

Your email address will not be published. Required fields are marked *