LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-26-2005, 04:37 PM   #1
timswim78
Member
 
Registered: Dec 2004
Location: Baltimore, Maryland (USA)
Distribution: Fedora Core 3
Posts: 70

Rep: Reputation: 15
Change GNOME Icon


I would like to change the Main Menu Icon on GNOME to match the rest of my Mac OSX theme. All of the other icon's let me right click and select a new icon, but not this one. It is the icon all the way at the bottom left in this screenshot:
http://bmore.us/screen.png
 
Old 02-26-2005, 09:10 PM   #2
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Depending on the distro the file you need to change could be in several locations. The most popular would be the following:

/opt/gnome/share/pixmaps
/usr/share/pixmaps

Anyway, you get the idea. Once you find the proper directory (some systems have multiple pixmap locs so you have to look for the specific file name), find the image file that is named:

gnome-main-menu.png

There's your buddy. Using the same image size (usually 48x48), substitute your pic for the one currently in place and name it as gnome-main-menu.png. Just rename the old one as gnome-main-menu2.png or similar so you have an easy backup. Log back into Gnome and there's your new image.

BTW, if you ever want to change the Menu Bar image in Gnome that file is the one named gnome-logo-icon-transparent.png. It is in the same directory. Just follow the same procedure.
 
Old 02-26-2005, 09:42 PM   #3
timswim78
Member
 
Registered: Dec 2004
Location: Baltimore, Maryland (USA)
Distribution: Fedora Core 3
Posts: 70

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by Xian
Depending on the distro the file you need to change could be in several locations. The most popular would be the following:

/opt/gnome/share/pixmaps
/usr/share/pixmaps

Anyway, you get the idea. Once you find the proper directory (some systems have multiple pixmap locs so you have to look for the specific file name), find the image file that is named:

gnome-main-menu.png

There's your buddy. Using the same image size (usually 48x48), substitute your pic for the one currently in place and name it as gnome-main-menu.png. Just rename the old one as gnome-main-menu2.png or similar so you have an easy backup. Log back into Gnome and there's your new image.

BTW, if you ever want to change the Menu Bar image in Gnome that file is the one named gnome-logo-icon-transparent.png. It is in the same directory. Just follow the same procedure.
Thanks for the tip! I got it working.

Here is what I did.
1. I went to /usr/share/pixmaps and got the name of the icon for the gnome main panel.
2. I downloaded the icon that I liked and named it after the icon in step 1.
3. I copied that Icon into the icon folder for my theme.

Here is a screenshot:
http://bmore.us/screen2.png

Last edited by timswim78; 02-26-2005 at 10:17 PM.
 
Old 02-26-2005, 11:58 PM   #4
Xian
Member
 
Registered: Feb 2004
Location: 33.31N -111.97W
Distribution: SuSE
Posts: 918

Rep: Reputation: 31
Quote:
Originally posted by timswim78
Thanks for the tip! I got it working.
Nice screenie. It's looks great.
 
Old 03-14-2005, 06:54 PM   #5
djabbot
Member
 
Registered: Jan 2005
Location: Normal, IL
Distribution: Ubuntu
Posts: 88

Rep: Reputation: 15
Quote:
Originally posted by Xian
Depending on the distro the file you need to change could be in several locations. The most popular would be the following:

/opt/gnome/share/pixmaps
/usr/share/pixmaps

Anyway, you get the idea. Once you find the proper directory (some systems have multiple pixmap locs so you have to look for the specific file name), find the image file that is named:

gnome-main-menu.png

There's your buddy. Using the same image size (usually 48x48), substitute your pic for the one currently in place and name it as gnome-main-menu.png. Just rename the old one as gnome-main-menu2.png or similar so you have an easy backup. Log back into Gnome and there's your new image.

BTW, if you ever want to change the Menu Bar image in Gnome that file is the one named gnome-logo-icon-transparent.png. It is in the same directory. Just follow the same procedure.
OK, Im using Gnome in Mandrake and am using the Menu Bar. Mandrake puts the Mandrake Logo Star on there and i want to use the regular Gnome logo. I looked at the gnome-logo-icon-transparent.png image that you said and it is the regular one that i want to use. How do i stop mandrake from overriding the default icon with the star?
 
Old 03-21-2005, 08:00 AM   #6
jeickal
Member
 
Registered: Oct 2004
Distribution: Mandrake, DSL, SuSE, RedHat
Posts: 71

Rep: Reputation: 15
In Mandrake, replace the following file ==> /usr/share/pixmaps/mdk/mandrake.png
Notice that it is a link pointing there ==> /usr/share/icons/large
Personnaly I move this link to /usr/share/pixmaps/mdk/mandrake.png.ori and copy /usr/share/pixmaps/gnome-main-menu.png to /usr/share/pixmaps/mdk/mandrake.png and I'm pretty happy with the result.

Hope this help
 
Old 04-05-2005, 08:25 PM   #7
jong357
Senior Member
 
Registered: May 2003
Location: Columbus, OH
Distribution: DIYSlackware
Posts: 1,914

Rep: Reputation: 52
Or you guys can just do it the 'proper' way.... by opening up GCONF editor and going to:

/apps/panel/profiles/default/objects/object_? where "?" is a number that coresponds to your main menu. Look at each one until you see:

"tooltip" for the Name catagory and "Main Menu" for the Value. Put a check mark in the box for "use_custom_icon". Now double left click on "custom_icon". For the "Key Value" enter the FULL path to your new icon
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change default icon size in GNOME? Mateo1041 Linux - Newbie 7 08-07-2010 12:13 PM
how to change icon size in gnome - fc4 ginda Fedora 1 07-21-2005 02:42 PM
GNOME - problems with menu editing and icon change VertX Fedora 1 04-08-2005 03:39 AM
change the redhat 9 hat icon in gnome osiris777 Red Hat 4 03-18-2004 04:23 AM
change gnome icon yenonn Linux - Newbie 1 05-14-2003 04:30 PM


All times are GMT -5. The time now is 07:45 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration