PDA

View Full Version : Modify gnome theme


Arcet
January 11th, 2007, 04:15 PM
Hi, i downloaded a custom gnome GTK theme from art.gnome.org.

I would like to change the image used for certain applets (see attached image)

This theme doesn't specify the image to use so the default image is used. Problem is I don't know where to look for this file.

Where can i find this file, or how do i specify a different one in my theme??

Cheers

jem7v
January 11th, 2007, 05:42 PM
Let's pretend my original post was never here, because the one following it seems to be the answer to what you were actually asking.

bvc
January 11th, 2007, 09:05 PM
the handle?

Put the following either in the themes gtkrc (image in the gtk-2.0 directory) or .gtkrc-2.0 in your home dir (image in your home dir). If the gtkrc-2.0 file is not there in your home dir, create it.
style "handle"
{
engine "pixmap"
{
image
{
function = HANDLE
file = "pixel.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
orientation = VERTICAL
}
image
{
function = HANDLE
file = "pixel.png"
border = { 0, 0, 0, 0 }
stretch = TRUE
orientation = HORIZONTAL
}
}
}
class "PanelAppletFrame" style "handle"

Arcet
January 12th, 2007, 10:46 AM
Problem solved, thx. It did't work right away, i had to do:

sudo apt-get install gtk2-engines-pixbuf

Thx.