Difference between revisions of "Set all Qt app's to use GTK+ font & theme settings"
Views
Actions
Namespaces
Variants
Tools
Set all Qt app's to use GTK+ font & theme settings (view source)
Revision as of 09:13, 13 March 2018
, 6 years ago→How do you do it?
imported>Handy |
imported>Handy |
||
Line 11: | Line 11: | ||
=How do you do it?= | =How do you do it?= | ||
1) Install | 1) Install '''qt5ct''' | ||
2) Set environment variable in '''/etc/environment''' and add the following line: | 2) Set environment variable in '''/etc/environment''' and add the following line: | ||
'''QT_QPA_PLATFORMTHEME=qt5ct''' | '''export QT_QPA_PLATFORMTHEME=qt5ct''' | ||
'''export QT_AUTO_SCREEN_SCALE_FACTOR=0''' | |||
3) Restart the system | 3) Restart the system | ||
4) Start '''qt5ct | 4) Start '''qt5ct''' | ||
5) | 5) In the first tab '''Appearance''' choose '''Standard Dialogs: default''' (some people get crashes if they choose GTK3) | ||
Because we used /etc/environment to set the environment variables back in step 2), after you reboot, both the user & root accounts will be able to benefit from these changes. | |||
(If you find that certain widget styles are missing, you can see if qt5-styleplugins brings a fix for you.) | |||
<br clear="all"/> | <br clear="all"/> |