Bugzilla – Bug 475791
allow customization of main-menu (computer) icon
Last modified: 2012-05-15 16:59:16 UTC
Beta customers have requested the ability to customize the icon for the main-menu button (computer button).
Created attachment 272807 [details] patch This patch adds a gconf key /desktop/gnome/applications/main-menu/panel_button_override_icon_name. Packages are in the internal build service in home:sreeves1:branches:SUSE:SLE-11:GA/gnome-main-menu.
You can test this with the gnome-main-menu packages from http://repos.suse.de/home:/sreeves1:/branches:/SUSE:/SLE-11:/GA/standard/
Also available here - http://www.gnome.org/~sreeves/gnome-main-menu/
Sorry to be dense on this one but it appears that the RPMs available in the URL listed on Comment 3 are older than those provided in RC4. Am I to backrev? Additionally, can someone provide the specific command line for installing the intended RPMs? Thanks, Jason
Installed package, found key in gconf-editor and pointed to a PNG file in my home directory. Restarted and I get a red X in a white box in place of the normal computer icon. Additionally, the text to the right, "Computer," is still present. Is there a particular resolution the image file must match in order to be used? Is there a way to alter the text? Thanks, Jason
The revision number being older was a temporary build service problem - I have updated the packages with newer versions. The icon name needs to be the name of an icon installed (and cached) in the standard icon path so gtk_image_set_from_icon_name can find it. You might need to run /sbin/SuSEconfig to update the icon cache if you just installed it. No way to change the text - can only change the icon. The newer versions have an updated description in the gconf schema listing the default name and how to replace it.
Sorry but I'm not sure how I'm suppose to know the name of such an icon. Can someone provide specific instructions for how to use a custom icon? Thank you, Jason
The exact icon loaded is dependent on your current theme and XDG env vars. On a stock SLED install it looks first in /usr/share/icons/Tango so to test this 1. Make sure you have the latest version from comment #3 installed. 2. run gconf-editor and edit key in comment #1 look at the long description for that key it indicates the default value is gnome-fs-client 3 Replace the empty override value with some icon name in that dir (for example - "camera") 4. relogin (or type "killall main-menu" and hit the reload button on the dialog that will popup).
Okay, got it. It would appear that the only size icon that can be used here is one with a resolution of 16x16. If we are to have access to change this icon, I'd like to request that it include the following: 1) The ability to use larger image files 2) The ability to customize the text to the right of the icon 3) The ability to specify an alternate path to the override icon Let me know what you think... Jason
Moving this to openSUSE 11.1 to make the bug public.
We are now in 2011, and as far as I can see this code never entered master. Sreeves: please close this bug as wontfix if there are no plans to add it.
Sorry for the spam. I'm mass-closing gnome-main-menu/slab bugs: gnome-main-menu has gone unmaintained upstream because it's not usable in GNOME 3, and is not shipped since 12.1. I don't expect any maintenance updates for it in 11.4 either.