HOWTO: Resizing GTK Toolbar Icon Size

People with low resolutions screens tends to use smaller stuff in their UI to save space. Here is a tips on how to reduce the size of your GTK toolbar icons etc. Its quite hard to google for, so I dump it here. I found this tip @ http://gnomesupport.org/forums/viewtopic.php?t=10961

Step 1.
Create a file named .gtkrc-2.0 at your home folder if it haven't yet exist

Step 2.
Add this line into the file

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

Step 3.
Logout and relogin (or you can juz kill all your gtk apps and restart it)


Comments

Anonymous said…
Thanks! Made my 1024x768 screen much more bearable.
surface said…
This is not yet "small", I face the same problem which I am not using gnome as my wm, I want my toolbar icon small and the smallest I can have is 14,14 which is still huge.

Actually gnome-settings-daemon fix the thing, but the daemon is bulky.

But finally i find the thing, add this line to your .gtkrc-2.0
gtk-toolbar-style = GTK_TOOLBAR_ICONS

Popular posts from this blog

Tee'ing Python subprocess.Popen output

Consolidated community site infrastructure on Plone

HOWTO: Linux Container (LXC) on Fedora 12