<---- template headericclude ----->
Missing menu and context menu icons in Gnome Shell
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 11 of 11
  1. #1
    Join Date
    Jan 2013
    Location
    Poland
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy Missing menu and context menu icons in Gnome Shell

    I know they're enabled in gconf-editor by setting:
    desktop/gnome/interface buttons_have_icons and menus_have_icons
    https://ask.fedoraproject.org/questi...#post-id-23117
    https://ask.fedoraproject.org/questi...context-menus/

    But it doesn't work on my current install. Does anyone know how to fix this?

    Fedora 20 (F18 -> fedup to F19 -> fedup to F20).
    It used to work on the F19 install. I've been using Faience icons theme since F19 and it was enabled while doing fedup, if it matters.

    What I tried:
    - disabling the Faience icon theme
    - setting the gconf settings also via sudo gconf-editor

  2. #2
    Join Date
    Jan 2013
    Location
    Poland
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    It seems that gconf-editor is 'useless' in Fedora 20 stable as well. It's it barely 'populated' with keys. I've tried adding the key manually:
    /home/<user>/.gconf/desktop/gnome/interface/%gconf.xml
    Code:
    <?xml version="1.0"?>
    <gconf>
    	<entry name="menus_have_icons" mtime="1276803312" type="bool" value="true"/>	
    </gconf>
    But it neither does have any effect nor it shows in gconf-editor.

  3. #3
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Most things are moving out of gconf into dconf over time. If you can't find it in gconf, look in dconf.

    Gtk did drop some configuration settings relating to this area in the version that's in f20, too. I used to configure toolbars to display only text, no icons, but gtk upstream killed the option that's the worst change this cycle for me, but I'm learning to live with it. They may have dropped the settings you like to tweak too.

    Sent from my C6506 using Tapatalk
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  4. #4
    leigh123linux Guest

    Re: Missing menu and context menu icons in Gnome Shell

    Quote Originally Posted by AdamW
    Most things are moving out of gconf into dconf over time. If you can't find it in gconf, look in dconf.

    Gtk did drop some configuration settings relating to this area in the version that's in f20, too. I used to configure toolbars to display only text, no icons, but gtk upstream killed the option that's the worst change this cycle for me, but I'm learning to live with it. They may have dropped the settings you like to tweak too.

    Sent from my C6506 using Tapatalk
    The gnome devs reverted these changes to GTK.

  5. #5
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    I think you're thinking of different changes. You're thinking of the middle-click stuff. That was reverted, but toolbar style stuff wasn't:

    https://bugzilla.gnome.org/show_bug.cgi?id=706100
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  6. #6
    Join Date
    Aug 2011
    Posts
    899
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    Both gtk-menu-image and gtk-button-images were deprecated and ignored, after that they made them deprecated but not ignored:
    https://git.gnome.org/browse/gtk+/co...0e1b7c11e9bb25
    https://git.gnome.org/browse/gtk+/co...f2e2efc98c42ca

    the problem is the gsettings keys (org.gnome.desktop.interface buttons-have-icons and menus-have-icons) are gone so I don't see a way to set them...

    However it seems you can set the relevant GtkSettings via the gnome-settings-daemon xsettings plguin:
    - Open dconf-editor -> org.gnome.settings-daemon.plugins.xsettings
    - Change the overrides key from:
    Code:
    {}
    to:
    Code:
    {'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}
    usually the change is instantaneous (e.g. in gimp), but some apps need to be restarted (e.g. firefox).

    Edit: or just use gsettings:
    Code:
    gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>}"
    but note that this method overwrites the current value of that key; one obvious caveat is if you've previously enabled pasting with the middle click from gnome-tweak-tool -> "keyboard and mouse", you'll need to re-set it there again (unlike the above gsettings command, gnome-tweak-tool "adds" new values to the overrides key and doesn't blindly overwrite it).
    Last edited by Ahmad Samir; 18th December 2013 at 09:52 AM.

  7. #7
    Join Date
    Jan 2013
    Location
    Poland
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    Thank you very much guys! I'll give it a try.

    On a side note - WTF? What recent usability studies made icons obsolete, especially in complex menus like those of libreoffice?

  8. #8
    Join Date
    Aug 2011
    Posts
    899
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    The rationale is that this is the new default, and application developers can enable showing images in menu items selectively....

    Personally I don't subscribe to that point of view, which is why looked for a workaround when I updated to F20 beta some months ago; workaround seems work... for now at least.

    c.f. the commit that made that change: https://git.gnome.org/browse/gtk+/co...93449722198d89

    On the other hand, at least they reverted the "ignored" part (see the links I posted in my first post in this thread), so this workaround works under GNOME.

  9. #9
    leigh123linux Guest

    Re: Missing menu and context menu icons in Gnome Shell

    Quote Originally Posted by AdamW
    I think you're thinking of different changes. You're thinking of the middle-click stuff. That was reverted, but toolbar style stuff wasn't:

    https://bugzilla.gnome.org/show_bug.cgi?id=706100

    It's not often your wrong

  10. #10
    Join Date
    Dec 2008
    Location
    Vancouver, BC
    Posts
    4,333
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    Quote Originally Posted by leigh123linux
    It's not often your wrong
    ha, I don't feel like I'm working unless I've been wrong four times by lunch
    Adam Williamson | awilliam AT redhat DOT com
    Fedora QA
    IRC: adamw | Fedora Chat: @adamwill:fedora.im
    http://www.happyassassin.net

  11. #11
    Join Date
    Jan 2013
    Location
    Poland
    Posts
    100
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Missing menu and context menu icons in Gnome Shell

    I've just lost the icons again. Could it be due to an update?

    EDIT:
    Somehow the {'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>} changed to just {'Gtk/ButtonImages': <1>}. Re-setting it to {'Gtk/ButtonImages': <1>, 'Gtk/MenuImages': <1>} brought back the menu icons.
    Last edited by Bucic; 2nd February 2014 at 07:04 PM.

Similar Threads

  1. Replies: 0
    Last Post: 24th June 2012, 02:40 AM
  2. nautilus - standard context menu missing
    By jediknight in forum Using Fedora
    Replies: 1
    Last Post: 23rd January 2010, 04:50 AM
  3. No Desktop Icons, No Right-Click Context Menu
    By Waggoneer in forum Using Fedora
    Replies: 8
    Last Post: 26th May 2009, 05:36 PM
  4. add menu item to gnome desktop context menu
    By jim in forum Programming & Packaging
    Replies: 0
    Last Post: 28th September 2006, 02:04 AM
  5. Gnome Desktop Context Menu
    By jimbou in forum Using Fedora
    Replies: 7
    Last Post: 27th March 2006, 05:22 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]