Small Gnome Menu Icons


Recommended Posts

Behemoth

I found a trick that will work for all themes, instead of editing each individual theme's file. Create a file called .gtkrc-2.0 in your home folder, and add the line:

gtk-icon-sizes = "panel-menu=16,16"

where 16,16 can be changed to whatever size you want your icons. You have to be using a GTK2.0 theme.

Thanks to megamanXplosion for posting the original trick.

Here is a screenshot of my menu after the file has been created.

post-46085-1250899033.jpg

Link to post
Share on other sites
Behemoth

After the changes are made, you need to run killall gnome-panel or logout to initiate.

Link to post
Share on other sites
  • 2 weeks later...
Behemoth

Anyone try it? :cool:

Link to post
Share on other sites
tiagosilva29

Just tried... and it feels good man. Thanks guys!

Link to post
Share on other sites
Behemoth
Just tried... and it feels good man. Thanks guys!

Sweet - glad someone tried it out!:)

Link to post
Share on other sites
Behemoth

^^Looking good ;)

Link to post
Share on other sites
megamanXplosion

I didn't know that a .gtkrc-2.0 file in the home folder would over-ride the theme-specific ones. Thanks for pointing that out :)

Link to post
Share on other sites
Behemoth

No problem. I stumbled across it another forum, figured I would post it here. :)

Link to post
Share on other sites
  • 2 weeks later...
Growled

That is a cool tip. I'm going to try it soon. Thanks.

Link to post
Share on other sites
Behemoth

^^Sounds good. Post some screenies when you're done. :)

Link to post
Share on other sites
  • 2 weeks later...
SooperDoode

Not to be a complete downer but...

This doesn't work for me. I followed the steps, checked, double-checked, had a cookie, then checked a third time. No such luck. Icons stay the same size. The cookie was good though.

Can anyone confirm this works in Karmic Koala? In fact, Anyone know of a way to get rid of the icons entirely? I don't like them in my menu. It's like having your Mother-in-law in the room as you make love to your wife. Horrible invasion of privacy.

Link to post
Share on other sites
Rob2687

I'm not sure why but this doesn't work on all themes (like the default Human theme on Ubuntu).

Link to post
Share on other sites
Behemoth

I can't really remember how I got it to take on the default (human) theme, I've been using Openbox for a few months now...I think you have to change metacity( window border) themes to jump start it, and just change back to the one your were wanting to modify. Try that and see if it helps.

Link to post
Share on other sites
Rob2687

You can always edit the gtkrc file for the theme itself.

Just go to the theme folder open up the gtkrc file and look for the gtk-icon-sizes line. Then edit or add the panel-menu option.

Link to post
Share on other sites
Behemoth
You can always edit the gtkrc file for the theme itself.

Just go to the theme folder open up the gtkrc file and look for the gtk-icon-sizes line. Then edit or add the panel-menu option.

Creating this file keeps you from having to edit the individual theme file.

Link to post
Share on other sites
  • 3 weeks later...
SooperDoode

I know I'm extremely late to reply but the alternative suggestion works wonderfully with the themes that don't like the first suggestion. If that makes any sense. Basically, I got it to work. Thank you. Very smooth having the small icons!

Link to post
Share on other sites
Behemoth

^^ Glad you got it to work!

Link to post
Share on other sites
Hardi

i use this line, makes all the other icons small too.

gtk-icon-sizes = "gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16"

Link to post
Share on other sites
Behemoth
i use this line, makes all the other icons small too.

gtk-icon-sizes = "gtk-large-toolbar=16,16:gtk-small-toolbar=16,16:panel-menu=16,16:gtk-button=16,16"

Nice - I'll have to give that a shot.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.