DIGIT-ARC read-only archive · snapshot: July 23, 2026

Gtkrc Help Needed.

17 posts · originally from https://geek.digit.in/community/threads/gtkrc-help-needed.82577/

ray|raven
ray|raven Original post #1
Mar 13, 2008 at 4:55 PM
I have a theme called Samui,
*www.opendesktop.org/content/show.php/Samui?content=41263

Everything is fine with the theme, except the part that , it shows large icons on popup menus.
Could someone tell me how to change the size of the images displayed on popup menus?

Thanx,
ray
infra_red_dude
Mar 13, 2008 at 7:21 PM
Add this line to gtkrc file:

gtk-icon-sizes = "panel-menu=20,20:panel=16,16:gtk-button=24,24:gtk-large-toolbar=30,30"

Customize the size according to your preferences.
ray|raven
Mar 14, 2008 at 8:54 AM
^Thanx, but i kinda fiddled with the theme yesterday night and got it working.

P.S : How abt writing a "How to make gtk+ themes?"
infra_red_dude
Mar 14, 2008 at 10:45 AM
Actually it'd be a real tuff job. It would vary for engine to engine. And gtk theming part is the worst component of gtk when it comes to documentation. No practically useful documentation exists! :(
ray|raven
Mar 14, 2008 at 10:46 AM
^Yeah , that was the reason why i asked you for a how-to.
I tried to get a decent how-to on the net, but even after half-an-hour of searching, i coudnt find a single one.

Wonder how all these themer's started their theming days?
ray|raven
Mar 14, 2008 at 11:08 AM
^ I was asking you :p
Though in a wierd and cryptic way ;)
Should've written ,"Points finger up" with the prev post :D
abhinandh
Mar 15, 2008 at 12:29 PM
offtopic : @ray, i have made the samui icon theme to work with new gnome version.
you may want to have a look.

*www.mediafire.com/download.php?12mnytdpkip
ray|raven
Mar 17, 2008 at 9:02 AM
^Thanx , but i use Xfce , and the set from gnome-look works fine with no modifications.
ray|raven
ray|raven #10
Mar 18, 2008 at 11:05 AM
Guys, I need a no frills color chooser app, having to run gimp to just to know the hex of a color is crappy.
abhinandh
abhinandh #11
Mar 18, 2008 at 11:44 AM
for gnome gcolor2 is great.
can't recollect anything for Xfce.
ray|raven
ray|raven #12
Mar 18, 2008 at 11:47 AM
^Just what i was looking for.
Thanx, its a gtk+ app and needs no gnome deps.
ray|raven
ray|raven #13
Jul 24, 2008 at 9:05 AM
Ok , First up, Apologies for bumping an old thread.
But i figured a new thread is pretty much useles for the small query i had.

As for the question,
What widget class do i have to set style to , to theme the handles on the panel?
infra_red_dude
Jul 24, 2008 at 1:32 PM
Handles on the panel?? Cudn't get you...
ray|raven
ray|raven #15
Jul 24, 2008 at 1:38 PM
By Handles i mean the grip like thingies that appear as the seperators and also before and after the system tray and others.

Sorry, dont know how else to explain.
infra_red_dude
Jul 24, 2008 at 2:11 PM
Oh yes.. thats called handle alrite :) I'll show a sample here using the pixmap engine. The widget class is GtkHandleBox :

style "myhandlebox" = "default"

{
engine "pixmap"

{
image
{
function = SHADOW
}

image
{
function = HANDLE
recolorable = TRUE
overlay_file = "handle-vertical.png"
overlay_stretch = FALSE
orientation = VERTICAL
}

image
{
function = HANDLE
overlay_file = "handle-horizontal.png"
overlay_stretch = FALSE
orientation = HORIZONTAL

}

}
}

class "GtkHandleBox" style "myhandlebox"

You can use the relevant pixmap. If you wanna use default one then use something like clearlooks/aurora/murrina engine. Hope this helps :)
ray|raven
ray|raven #17
Jul 24, 2008 at 2:24 PM
^Ah Thanx .
Ill try it and let you know if it works. :)