Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

This question already has an answer here:

I changed the icon theme in Ubuntu 12.04, but it doesn't affect Qt-applications. They have the default theme.

For KDE applications the icon theme can be changed with the systemsettings package. This, however, does not work for some non-KDE QT applications.

Is there a setting I can change to make all QT applications follow suit?

share|improve this question

marked as duplicate by Uri Herrera, AgentCool, coteyr, user68186, Mateo_ May 20 '13 at 20:02

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
@UriHerrera The asker here says system settings doesn't work for him. –  Seth May 19 '13 at 18:35
    
@Seth unfortunately the OP doesn't say where he/she installed the icons. Also Some Qt applications (such as Skype) seem to have their some icons within the binary. –  Uri Herrera May 19 '13 at 18:48

1 Answer 1

Gconf and Dconf settings

A lot of QT applications will query GNOME's configuration databases for the icon theme settings. Under some circumstances there might be a discrepancy between the icon theme in use and the corresponding GNOME setting.

So to change the icons you might have to set the corresponding Gconf and Dconf keys first. You can do so with the following commands (replace Faenza-Dark with your icon theme of choice):

gsettings set org.gnome.desktop.interface icon-theme Faenza-Dark

and

gconftool-2 --type=string --set "/desktop/gnome/interface/icon_theme" "Faenza-Dark"

It might take a relog to see the changes.

The theme names correspond with their basename in the filesystem. It doesn't matter where the theme is located. Be it /usr/share/icons/AskUbuntu, ~/.icons/AskUbuntu or ~/.local/share/icons/AskUbuntu, in each case the Gconf/Dconf name will be AskUbuntu.

Note

This fix will not work for all QT applications out there. Some, e.g. Clementine, have turned out to be very resilient and - as much as you might try - just won't change their icon theme. That's likely due to issues with how these applications detect the system theme. In other cases (e.g. Skype) the icons might be hard-coded into the binary and impossible to change.

References

https://github.com/linuxmint/Cinnamon/issues/1793

http://forums.fedoraforum.org/showpost.php?p=1453006&postcount=19

http://slackbuilds.org/repository/11.0/desktop/tango-icon-theme/

How to change desktop theme periodically

share|improve this answer

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