Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use xfce.

My problem is - some programs look nice and some sort of ugly. AFAIK this is because XFCE is gtk and most programs use gtk theme, but some programs use qt and thus don't use gtk themes (rocket science right there).

So - my question is - how can I apply some theme to these qt programs? Can I download some qt theme and drop into ~/.themes? would that work? Qt programs don't have to look absolutely the same as gtk ones - I don't care about that. But I want them at least not to look so dam ugly.:)

thanks !

enter image description here

share|improve this question
Correction: VLC uses Qt not GTK. – kholis Jan 10 '12 at 7:45
up vote 12 down vote accepted

This is not exactly an answer to your question but if you want a nice, consistent and unified look for both Qt and GTK programs I recommend the QtCurve style. Modern distributions should provide a package, in Ubuntu it's apt-get install qtcurve.

And yes, qtconfig is the program to use for configuring Qt-related stuff.

share|improve this answer
i see.. Didn't now about qtCurve - thanks. – Stann Jun 29 '11 at 21:44

ok. sorted.

simply run qtconfig and select different look.

share|improve this answer

Excuse the slight self-promotion but I wrote a blog post and script to ensure QGtkEngine finds the correct GTK style:

share|improve this answer

If QT4 apps look like crap then do the following and your GTK theme will be used:

In terminal type:

gconftool-2 --set --type string /desktop/gnome/interface/gtk_theme your-theme-name

then edit the ~/.xinitrc file and add this line:

export GTK2_RC_FILES="$HOME/.gtkrc-2.0"

Das it...

share|improve this answer

Put this in ~/.bashrc. It works with Qt 5 and Gtk+ 3:

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.