QT4 apps and GTK2

Problem: QT4 applications do not inherit the GTK theme (when using XFCE for example)
Solution: Read AlienBob’s blog regularly :) So, open /etc/profile.d/qt4.sh and add the following lines on some empty rows:

GTK2_RC_FILES="$HOME/.gtkrc-2.0:/etc/gtk-2.0/gtkrc"
export GTK2_RC_FILES

Now log your user out and in and launch qtconfig if necessary.



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s