Fedora Linux Support Community & Resources Center
  #1  
Old 9th December 2013, 06:51 PM
Bucic Offline
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 100
linuxfirefox
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
Reply With Quote
  #2  
Old 18th December 2013, 01:07 AM
Bucic Offline
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 100
linuxfirefox
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.
Reply With Quote
  #3  
Old 18th December 2013, 03:04 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,327
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #4  
Old 18th December 2013, 07:00 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: Missing menu and context menu icons in Gnome Shell

Quote:
Originally Posted by AdamW View Post
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.
Reply With Quote
  #5  
Old 18th December 2013, 07:34 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,327
linuxfirefox
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #6  
Old 18th December 2013, 09:13 AM
Ahmad Samir Offline
Registered User
 
Join Date: Aug 2011
Posts: 899
linuxfirefox
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.
Reply With Quote
  #7  
Old 18th December 2013, 09:44 AM
Bucic Offline
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 100
windows_xp_2003ie
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?
Reply With Quote
  #8  
Old 18th December 2013, 10:04 AM
Ahmad Samir Offline
Registered User
 
Join Date: Aug 2011
Posts: 899
linuxfirefox
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.
Reply With Quote
  #9  
Old 18th December 2013, 10:44 AM
leigh123linux
Guest
 
Posts: n/a
linuxfirefox
Re: Missing menu and context menu icons in Gnome Shell

Quote:
Originally Posted by AdamW View Post
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
Reply With Quote
  #10  
Old 18th December 2013, 11:02 AM
AdamW Offline
Fedora QA Community Monkey
 
Join Date: Dec 2008
Location: Vancouver, BC
Posts: 4,327
linuxfirefox
Re: Missing menu and context menu icons in Gnome Shell

Quote:
Originally Posted by leigh123linux View Post
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 Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net
Reply With Quote
  #11  
Old 2nd February 2014, 06:57 PM
Bucic Offline
Registered User
 
Join Date: Jan 2013
Location: Poland
Posts: 100
linuxfirefox
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.
Reply With Quote
Reply

Tags
context, gnome, gnome-shell, icons, menu, missing, shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to... manage icons from gnome-shell applications menu? Unbr0ken Using Fedora 0 24th June 2012 02:40 AM
nautilus - standard context menu missing jediknight Using Fedora 1 23rd January 2010 04:50 AM
No Desktop Icons, No Right-Click Context Menu Waggoneer Using Fedora 8 26th May 2009 05:36 PM
add menu item to gnome desktop context menu jim Programming & Packaging 0 28th September 2006 02:04 AM
Gnome Desktop Context Menu jimbou Using Fedora 7 27th March 2006 05:22 PM


Current GMT-time: 05:09 (Sunday, 24-09-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat