Visit Jeremy's Blog.
Go Back > Blogs > linux-related notes
User Name


Just annotations of little "how to's", so I know I can find how to do something I've already done when I need to do it again, in case I don't remember anymore, which is not unlikely. Hopefully they can be useful to others, but I can't guarantee that it will work, or that it won't even make things worse.
Rate this Entry

Uniformity between GTK2/3 and QT/KDE with QT using GTK themes

Posted 07-04-2014 at 12:52 AM by the dsc
Updated 07-04-2014 at 12:54 AM by the dsc
Tags gtk, kde, q.t., theming

Whereas gtk-qt-engine doesn't work very well, that is, GTK can't be easily made to "simulate" QT/KDE themes, the converse seems to work very well, and apparently no additional package is needed for that, but QT alone, or actually just qtconfig-qt4, in order to set the QT/KDE* theme as "GTK+".

So one third of the problem of desktop uniformity is solved if you have one GTK2 (I believe it's GTK2, not 3, I'm not sure) theme that you find good enough to have both in GTK and QT applications. If the same theme also exists for GTK3 (that's the case with the "Adwaita" theme), then you have the closest thing possible to total homogeneity. At least for as long as GTK doesn't change its inner workings breaking the theme. Or QT/KDE do the same. And while QT5 doesn't become more prevalent.


You probably can't use custom color themes with ease, though. GTK themes seem to have "hard coded" colors, rather than independent color themes that can be applied to any theme.

* I suppose/hope that qtconfig-qt4 will also change the QT/KDE theme within KDE, but I don't really know, I'm on Openbox. KDE's "system settings" has "GTK+ Style", so I think that should probably work if qtconfig isn't enough.
Posted in Uncategorized
Views 1731 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 07:23 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration