Compdigitec Labs

« | Home | »

Enabling icons in Qt4 apps on GNOME / GTK

By admin | June 3, 2012

By default on the latest versions of Debian and Ubuntu, the gconf preferences “/desktop/gnome/interface/menus_have_icons” and “/desktop/gnome/interface/buttons_have_icons” are set to false by default. Despite this, GTK2 and GTK3 applications both display icons next to their menus by default. However, Qt4-based applications such as VLC media player don’t display icons. To fix this:

gconftool --type boolean --set /desktop/gnome/interface/buttons_have_icons true
gconftool --type boolean --set /desktop/gnome/interface/menus_have_icons true

Or, open gconf-editor and set both “/desktop/gnome/interface/menus_have_icons” and “/desktop/gnome/interface/buttons_have_icons” to true.

VLC before the menus_have_icons fix

VLC before the menus_have_icons fix

VLC after the menus_have_icons fix

VLC after the menus_have_icons fix

References

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 4 Comments »

4 Responses to “Enabling icons in Qt4 apps on GNOME / GTK”

  1. lazywin888 Says:
    January 25th, 2025 at 13:07

    … [Trackback]

    […] Here you can find 56470 more Information to that Topic: compdigitec.com/labs/2012/06/03/enabling-icons-in-qt4-apps-on-gnome-gtk/ […]

  2. รวยโชค หวย Says:
    January 26th, 2025 at 18:49

    … [Trackback]

    […] There you will find 60377 additional Info to that Topic: compdigitec.com/labs/2012/06/03/enabling-icons-in-qt4-apps-on-gnome-gtk/ […]

  3. pakong188 Says:
    January 30th, 2025 at 10:37

    … [Trackback]

    […] Information on that Topic: compdigitec.com/labs/2012/06/03/enabling-icons-in-qt4-apps-on-gnome-gtk/ […]

  4. best gym equipment shop online Says:
    February 2nd, 2025 at 11:50

    … [Trackback]

    […] Info on that Topic: compdigitec.com/labs/2012/06/03/enabling-icons-in-qt4-apps-on-gnome-gtk/ […]

Comments