SUSE / openSUSEThis Forum is for the discussion of Suse Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My searches on this subject turned up nothing I could use.
I made a simple "quit.png" icon file to replace the shutdown icon on the Gnome panel on my openSUSE 10.3 Dell Optiplex GX260.
Then I spent the entire day trying to find out how to change that icon. The shutdown icon on my lower panel seems to be one of those icons which will not allow you to alter the Properties, (Properties is not offered with the traditional right click).
Any idea how one might go about changing this Gnome Shutdown icon on the panel?
My first guess would be a desktop configuration utility in the main menu if right-click on the panel doesn't get you to such a config utility.
My second guess would be a config file somewhere in /etc that you could edit to name another image to use.
My third guess would be that it's compiled in. You would have to find out which package installs it, download the source code, find the file that names the image to use and edit that file, add you image to the package, then recompile and reinstall.
Run something like 'find / -type f | grep <icon name>' where <icon name> is the name of the icon now used. Run the find command as root and it should find the icon's location, as well as all files that reference that icon name. From that information, you should be able to quickly determine whether you can edit a file and easily replace that icon, or if you will have to recompile the source code to add you image.
Now oddly enough in usr/share/applications there resides a file titled "System Shutdown Dialog" which is a desktop configuration file. The very same icon is associated with it. If you double click the icon the shutdown dialog box appears offering the ususal choices of Suspend, Hibernate, Restart, Cancel, and Shutdown. However this shutdown dialog box is shaped differently that the box which appears if you select the shutdown icon on the panel.
I changed the icon under Properties of this System Shutdown Dialog file yesterday. The icon changed as I desired at the file in the folder but the desktop panel icon showed no change. Used root, re-booted, etc. So I changed it back to what it was originally, gnome-shutdown.svg.
All my searching yesterday pointed to this file as the one and only System Shutdown Dialog. Strange that engaging it in it's folder brings up a different dialog box than when it is engaged on the desktop panel. Also strange that changing the icon in it's properties seems to have no affect outside the folder it resides in.
And I'm thinking that grep should have showed the icon associated with the system shutdown dialog. Yes?
did you try replacing the gnome-shutdown.svg with the one you made? (instead of changing the configuration file). Maybe the dialog box is compiled or something and changes will only propagate if you compile again. It would make sense to me to compile such a thing because, although it's small, you don't change it like every 2 days. I don't know much about compiling but I think the image will not be compiled in it so replacing the current one MIGHT do the trick.
Mind that I don't know anything about this and I'm only guessing, so at least take a backup of the file(s) before following my hints ;-)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.