Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"
From Manjaro
Views
Actions
Namespaces
Variants
Tools
imported>Yoy0 (replacing restart with source command) |
imported>Dalto (Update content and formatting) |
||
Line 1: | Line 1: | ||
__TOC__ | |||
=Overview= | |||
When using a [[Desktop_Environments|Desktop Environment]] or Window Manager that doesn't allow for the settings of QT themes, you can set QT to use your GTK themes instead. | |||
=Using qt5ct= | |||
{{note|In some Manjaro editions, this is already done for you by default}} | |||
Install {{ic|qt5ct}} using your favorite package manager or the command: | |||
pamac install qt5ct | |||
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines: | |||
export QT_QPA_PLATFORMTHEME="qt5ct" | |||
Run the application '''QT5 Configuration Manager''' from the menu or run the command {{ic|qt5ct}}. | |||
Logout and login again to make the change effective | |||
=See Also= | |||
* [https://wiki.archlinux.org/index.php/Uniform_Look_for_Qt_and_GTK_Applications Arch Wiki] | |||
* Matching [https://forum.manjaro.org/t/wiki-set-all-qt-apps-to-use-your-gtk-theme-font-settings/17654 Forum Topic] | |||
[[Category:Contents Page]] | [[Category:Contents Page]] |
Revision as of 23:32, 23 May 2019
Overview
When using a Desktop Environment or Window Manager that doesn't allow for the settings of QT themes, you can set QT to use your GTK themes instead.
Using qt5ct
Install qt5ct
using your favorite package manager or the command:
pamac install qt5ct
Set environment variables in ~/.profile
by adding or updating the following lines:
export QT_QPA_PLATFORMTHEME="qt5ct"
Run the application QT5 Configuration Manager from the menu or run the command qt5ct
.
Logout and login again to make the change effective
See Also
- Arch Wiki
- Matching Forum Topic