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

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

  1. ซอฟต์แวร์บริหารงานบริการทำความสะอาด Says:
    June 27th, 2024 at 19:11

    … [Trackback]

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

  2. เว็บสล็อต Says:
    August 5th, 2024 at 18:28

    … [Trackback]

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

  3. do not trust Says:
    August 19th, 2024 at 18:59

    … [Trackback]

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

  4. PHUKET VILLA Says:
    August 19th, 2024 at 22:31

    … [Trackback]

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

  5. new Says:
    August 24th, 2024 at 23:58

    … [Trackback]

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

  6. ล่องเรือเจ้าพระยา Says:
    August 25th, 2024 at 20:47

    … [Trackback]

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

  7. ร้านทำเล็บ Says:
    September 1st, 2024 at 05:07

    … [Trackback]

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

  8. ทำไมต้องเลือกเดิมพันกับ BG Gaming Casino Says:
    September 3rd, 2024 at 18:58

    … [Trackback]

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

Comments