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 | 6 Comments »

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

  1. Anya Belcampo scandal Says:
    March 18th, 2024 at 23:24

    … [Trackback]

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

  2. quik Says:
    March 20th, 2024 at 22:58

    … [Trackback]

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

  3. How to not kill yourself when bitcoin crashes Says:
    April 3rd, 2024 at 23:47

    … [Trackback]

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

  4. bola 808 Says:
    April 16th, 2024 at 11:07

    … [Trackback]

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

  5. รับทำเว็บไซต์ WordPress Says:
    April 16th, 2024 at 13:08

    … [Trackback]

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

  6. trustbet Says:
    April 18th, 2024 at 20:07

    … [Trackback]

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

Comments