Manjaro Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"

From Manjaro
(Updated style and added translate tags)
(Marked this version for translation)
Line 2: Line 2:
__TOC__
__TOC__


{{SectionTemplate|<translate>Overview</translate>|
{{SectionTemplate|<translate><!--T:16--> Overview</translate>|
<translate>
<translate>
<!--T:17-->
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.  
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.  
</translate>}}
</translate>}}
Line 9: Line 10:
{{SectionTemplate|
{{SectionTemplate|
<translate>
<translate>
<!--T:18-->
Using qt5ct
Using qt5ct
</translate>
</translate>
|2=
|2=
<translate>
<translate>
<!--T:19-->
{{note|In some Manjaro editions, this is already done for you by default}}
{{note|In some Manjaro editions, this is already done for you by default}}




<!--T:20-->
Install {{ic|qt5ct}} using your favorite package manager or the command:
Install {{ic|qt5ct}} using your favorite package manager or the command:
  pamac install qt5ct
  pamac install qt5ct




<!--T:21-->
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines:
Set environment variables in {{ic|~/.profile}} by adding or updating the following lines:
  export QT_QPA_PLATFORMTHEME="qt5ct"
  export QT_QPA_PLATFORMTHEME="qt5ct"




<!--T:22-->
Run the application '''QT5 Configuration Manager''' from the menu or run the command {{ic|qt5ct}}.
Run the application '''QT5 Configuration Manager''' from the menu or run the command {{ic|qt5ct}}.




<!--T:23-->
Logout and login again to make the change effective
Logout and login again to make the change effective
</translate>}}
</translate>}}

Revision as of 09:44, 19 December 2020

Other languages:
English • ‎Türkçe • ‎español • ‎русский • ‎فارسی

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

Note
In some Manjaro editions, this is already done for you by default


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
Chmsee-icon.png

See Also

Cookies help us deliver our services. By using our services, you agree to our use of cookies.