Difference between revisions of "LXQt"

3,497 bytes removed ,  5 years ago
Revamp to better match the current state of LXQt - First Pass
imported>Dalto
m (Dalto moved page LXQt Theming to LXQt: Generalize article)
imported>Dalto
(Revamp to better match the current state of LXQt - First Pass)
Line 1: Line 1:
This wiki page is about theming your LXQt installation.
__TOC__
__TOC__




=Window Title Bar Theming=
=Overview=


The window title bars are drawn onto your screen by the window manager you use. The default window manager of LXQt is Openbox.
The '''[https://lxqt.org/ LXQt Desktop Environment]''' LXQt is a lightweight Qt desktop environment. It will not get in your way. It will not hang or slow down your system. It is focused on being a classic desktop with a modern look and feel.


The Openbox Configuration Manager can be opened: Start Menu --> Settings --> Openbox Configuration Manager


[[File: Lxqt-de-18.png|center|600px]]
<div style="clear: both"></div>


If you lack the Openbox Configuration Manager, please install it:


sudo pacman -S obconf
=Installing LXQt=


Instructions for installing LXQt can be found on the [[Install_Desktop_Environments#LXQt|Install Desktop Environments]] page.


You can also install the AUR package:


yaourt -S obconf-qt-git
=Theming=


In can take a few steps to get everything matching on LXQt since it is a collection of things.  There are a few different things that are separately themed:
* GTK2/GTK3
* QT
* Openbox
* LXQt panels


Then please choose your preferred window title bar theme in Openbox Configuration Manager .


Additional themes can be downloaded. Examples:
==Kvantum==


sudo pacman -S menda-themes-dark
Using Kvantum is a good way to get a matching qt5 and openbox theme with a modern look


sudo pacman -S menda-themes


  yaourt -S mediterraneannight-theme
To install Kvantum install the package {{ic|kvantum-manjaro}} in your favorite package manager or using the command:
  pamac install kvantum-manjaro




Alternatively, follow this guide to install a more modern window manager with higher hardware resources: [[LXQt with kwin]]
Once it is installed, open the '''Kvantum Manager''' and set a theme that matches your preferences.




=Window Content Theming=
After saving the settings in Kvantum Manager, open the "LXQt Configuration Center" and select "Appearance".  Set the "Qt Style" on the "Widgets Style" tab to Kvantum.


This section is about theming the content of you windows. Especially the background and font colors, but also the form of menus and buttons.


{{tip|Using a Kvantum theme that has a matching GTK theme will give everything a uniform look}}


Instructions to have a unified theme for all your GTK2/3/Openbox and Qt4/5 applications and be able to customize them:


===1.===
==Window Theming==
Choose <code>GTK+</code> in <code>lxqt-config</code> (LXQt Configuration Center --> LXQt Appearance)
 
===2.===
Install the LXDE theme switcher:
sudo pacman -S lxappearance
Open it by clicking on: Start Menu --> Settings --> Appearance.
 
Unfortunately, this functionality is not implemented in LXQt yet. Therefore, the LXDE theme switcher is still needed.
 
===3.===
Install well maintained themes supporting [http://gnome-look.org/index.php?xcontentmode=167 GTK2/3] and [http://box-look.org/index.php?xcontentmode=7402 Openbox]
 
 
Examples:
 
sudo pacman -S menda-themes-dark
 
sudo pacman -S menda-themes
 
yaourt -S vertex-themes
 
Edit manually the theme files to further customize if you like.
 
 
=Theming A Pure Qt4/5 System=
 
For customizing a pure Qt4/5 system you can use the preinstalled qtconfig-qt4 and you can install its qt5 version, <code>qt5ct</code> by
 
yaourt -S qt5ct-svn
 
 
After installation you need to put this in your <code>~/.bashrc</code> file:
 
export QT_QPA_PLATFORMTHEME=qt5ct
 
Attention: After an update to Qt5 you may need to re-install/compile <code>qt5ct</code>.
 
 
Your customization by this tool will not be honoured immediately (only) by <code>pcmanfm-qt</code> which runs in your LXQt system in daemon mode. In order for it to honour your customization you need to re-login.


The window title bars are drawn onto your screen by the window manager you use. The default window manager of LXQt is Openbox.


In addition to the preinstalled Qt theme engines you can install <code>qtcurve-qt4</code> and <code>qtcurve-qt5</code> from the repo by:


  sudo pacman -S qtcurve-qt4 qtcurve-qt5
To configure OpenBox, open the "LXQt Configuration Center" and select "Openbox Settings". Then select the same theme you choose in Kvantum.




And you can install <code>virtuality</code> AUR packages by:
==GTK Theming==


yaourt -S virtuality-qt4-git virtuality-qt5-git
LXQt now provides an easy way to set the themes for GTK2 and GTK3 applications.




Those two theming engines' default styles by themselves can be customized too. With <code>qtcurve</code> you need to manually edit the <code>~/.config/qtcurve/stylerc</code> file. You can, for instance, change the menu bar background colour by
Open the "LXQt Configuration Center" and select "Appearance". On the "Widget Style" there are dropdowns to select the GTK styles.


shadeMenubars=#cdcdcd


and then change the popup menu background colour by


shadePopupMenu=true
==Panel Theming==
 
or change sliders colour by
 
shadeSliders=origselected
 
Instead of "origselected" you can enter "selected" or any colour (#xyxyxy) you want.
 
You can set
 
colorMenubarMouseOver=true
 
You can set custom menu text colour by
 
customMenuNormTextColor=#ff5500
customMenuSelTextColor=#ffaa00
customMenuTextColor=true
 
Besides, you can download a qtcurve preset (a xxxxx.qtcurve file) and copy-paste its content into your .stylerc.
 
Another theme engine is <code>kvantum</code>:
 
yaourt -S kdestyle-kvantum-kde4-git
 
It doesn't have KDE dependencies, but its said customization utility seemingly only works in KDE (at this time) as I couldn't see any such utility in my system after installing it. <code>kvantum</code> can be installed as a Qt5 app as well, but since there's no separate Qt5 AUR package, you need to install it once more as a Qt5 app. To do that you should edit the package content when <code>yaourt</code> asks you to; just replace the "qt4" entries with "qt5".
 
 
=Panel Theming=


Panel theming is available via the LXQt Configuration Center --> LXQt Appearance --> LXQt Theme
Panel theming is available via the LXQt Configuration Center --> LXQt Appearance --> LXQt Theme


Additionally there are more themes available for download in the [https://forum.manjaro.org/index.php?board=20.0 Manjaro LXQt subforum].
All Theme folders need to be unpacked into the following directory:
/usr/share/lxqt/themes/


Attention: Some themes do not fully work. Please read the comments about the recommended usage.
==Change Mouse Cursor==
 
===Example:===
Please look at this [https://forum.manjaro.org/index.php?topic=18058.msg165462#msg165462 Chrome theme].
 
The downloaded folder needs to be unpacked and moved into the right location mentioned above. The final path to the "chrome" folder has to be
 
/usr/share/lxqt/themes/chrome/
 
 
=Change Mouse Cursor=


Mouse cursor theming is available via the LXQt Configuration Center --> LXQt Appearance --> Cursor.
Mouse cursor theming is available via the LXQt Configuration Center --> LXQt Appearance --> Cursor.
Line 157: Line 74:




=Change Icon Theme=
==Change Icon Theme==


The icon theme can be changed via LXQt Configuration Center --> LXQt Appearance --> Icon Theme
The icon theme can be changed via LXQt Configuration Center --> LXQt Appearance --> Icon Theme
Line 164: Line 81:




Examples of other icon themes are:
==Change Icons of Applications and System Settings==
 
sudo pacman -S menda-circle-icon-theme
 
yaourt -S numix-icon-theme-git
 
sudo pacman -S faenza-icon-theme
 
yaourt -S tango-icon-theme
 
yaourt -S azenis-icon-theme
 
yaourt -S azenis-green-icon-theme
 
All of these example do '''not''' provide '''complete''' icon themes. Especially in the LXQt Configuration Center are icons missing. Some application icons can be missing, too. You can easily identify applications and settings with missing icons by opening the start menu and looking at all the icons in it.
 
Please read the next chapter (chapter 5) for a tutorial on how to assign new/other icons.
 
 
=Change Icons of Applications and System Settings=


The path of icons is saved in <code>.desktop</code> files. For each application you can find their corresponding <code>.desktop</code> files in one of these two locations:
The path of icons is saved in <code>.desktop</code> files. For each application you can find their corresponding <code>.desktop</code> files in one of these two locations:
Line 205: Line 103:




=Create Custom Icon on Panel=
==Create Custom Icon on Panel==


Right click on your panel and choose "Add panel widget". Then add a Quick Launch / Starter widget. A text will appear on your panel.
Right click on your panel and choose "Add panel widget". Then add a Quick Launch / Starter widget. A text will appear on your panel.
Line 236: Line 134:




=Create Custom Icon in Start Menu / Mainmenu=
==Create Custom Icon in Start Menu / Mainmenu==


Read the [https://wiki.manjaro.org/index.php?title=LXQt_Theming#Create_Custom_Icon_on_Panel previous chapter] of this Wiki tutorial in order to get familiar with the content of <code>.desktop</code> files.
Read the [https://wiki.manjaro.org/index.php?title=LXQt_Theming#Create_Custom_Icon_on_Panel previous chapter] of this Wiki tutorial in order to get familiar with the content of <code>.desktop</code> files.
Line 257: Line 155:




=Change Order of Icons on Panel=
==Change Order of Icons on Panel==


You can click the right mouse button on top of a panel element in order to move it. Alternatively, you can move panel elements by holding <code>CTRL+Left Mouse</code> and draging the element. These methods work for all panel elements, except Quick Launch / Starter elements with added icons.
You can click the right mouse button on top of a panel element in order to move it. Alternatively, you can move panel elements by holding <code>CTRL+Left Mouse</code> and draging the element. These methods work for all panel elements, except Quick Launch / Starter elements with added icons.
Line 266: Line 164:




=Change Icon of Start Menu / Mainmenu=
==Change Icon of Start Menu / Mainmenu==


This Icon can be changed by opening the following folder with root privileges:  
This Icon can be changed by opening the following folder with root privileges:  
Line 283: Line 181:




=Links=
=Seel Also=
 
* You can find more pages about LXQt in the Manjaro Wiki [https://wiki.manjaro.org/index.php?title=Desktop_Environments#LXQt here].
You can find more pages about LXQt in the Manjaro Wiki [https://wiki.manjaro.org/index.php?title=Desktop_Environments#LXQt here].




[[Category:Contents Page]]
[[Category:Contents Page]]
Anonymous user