Difference between revisions of "User FAQ"
m (→How do I make Gtk+/Qt apps to use the Trinity style/colors/fonts?: switch to Q template) |
m (→Gtk+2: Added crash warning) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
− | {{Q|1|How do I make Gtk+/Qt apps |
+ | {{Q|1|How do I make Gtk+/Qt apps use the Trinity style/colors/fonts?|toolkit, consistency, look and feel}} |
− | |||
− | Keywords: toolkit, consistency, look and feel |
||
== Gtk+2 == |
== Gtk+2 == |
||
+ | |||
+ | {{WarningBox|text=This theme engine is known to cause mysterious startup crashes in some applications (e.g. OpenOffice.org).}} |
||
+ | |||
Install the Gtk+2 TQt engine (<tt>gtk-tqt-engine</tt>). Then configure it via <code>Trinity Control Center > Appearance > GTK Styles and Fonts</code>. |
Install the Gtk+2 TQt engine (<tt>gtk-tqt-engine</tt>). Then configure it via <code>Trinity Control Center > Appearance > GTK Styles and Fonts</code>. |
||
Line 28: | Line 29: | ||
== Qt5 == |
== Qt5 == |
||
− | Install <tt> |
+ | Install <tt>qt5ct</tt> and the Gtk+ style plugin for Qt5 (probably in a package named something like <tt>qt5-styleplugins</tt>). |
Then, make Qt5 use <tt>qt5ct</tt> settings by means of the appropriate environment variable: |
Then, make Qt5 use <tt>qt5ct</tt> settings by means of the appropriate environment variable: |
Latest revision as of 19:38, 6 February 2022
This page is meant to be a collection of answers to questions frequently coming up on the users' mailing list.
You can use the table of contents below or your browser's in-page search feature (usually Ctrl+F
) to find relevant information.
Q1 How do I make Gtk+/Qt apps use the Trinity style/colors/fonts?
Gtk+2
Install the Gtk+2 TQt engine (gtk-tqt-engine). Then configure it via Trinity Control Center > Appearance > GTK Styles and Fonts
.
Gtk+3
Install the Gtk+3 TQt engine (gtk-tqt-engine). Then configure it in the same way as the Gtk+2 style.
Qt4
Start Qt4's qtconfig (might be named qtconfig-qt4 or similarly on your system). In the option Select GUI Style
pick GTK+
from the drop-down menu.
You will have to pick the appropriate fonts manually.
Qt5
Install qt5ct and the Gtk+ style plugin for Qt5 (probably in a package named something like qt5-styleplugins).
Then, make Qt5 use qt5ct settings by means of the appropriate environment variable:
$ export QT_QPA_PLATFORMTHEME=qt5ct
You can put this line in your .bashrc for the current user or in a script in the /etc/profile.d directory to set it system-wide.
Next, start qt5ct and select Gtk2
as your Qt5 style.
Once again, you will have to pick the appropriate fonts manually.