QT4 apps and GTK+ iconsPosted: 2014-02-15 | |
When using a desktop environment like XFCE, the only thing required to make QT4 programs look consistent with the rest of the desktop was this. QT4 applications like Clementine inherited the GTK+ theme settings and apparently XFCE took care of the icons theme. However, this is not the case with E17. I googled a bit and found this entry in the excellent Arch Linux wiki. Somehow, the solutions they suggested didn’t fit to my system, for example I do not have
So, I decided to try putting the following in
/etc/profile.d/qt4.sh (just below the ones that take care of inheriting the GTK theme):
GTK2_RC_FILES="$HOME/.gtkrc-2.0:/etc/gtk-2.0/gtkrc" export GTK2_RC_FILES export DESKTOP_SESSION=gnome
Logged out and in and it works.