You are not logged in.
Pages: 1
Hey,
I'm trying to change a specific theme setting of the Clearlooks theme. The thing is, I have a panel with some launchers in it. When the cursor moves over these launchers, a grey box is drawed around them:
I'd like this box to be transparent (or no box at all, same result). I know this is possible since other themes have this property, but I can't seem to find the right setting in the gtkrc file:
$ locate Clearlooks
/usr/share/themes/Clearlooks
/usr/share/themes/Clearlooks/gtk-2.0
/usr/share/themes/Clearlooks/gtk-2.0/gtkrc
Offline
Hmm, I worked on this issue with someone with some knowledge of themes. He said that this transparency is not a setting, but a pixmap (transparent png file). Can pixmaps be used with this theme, or is it not possible?
Offline
I hate to bump this topic again, but I really would like to know how to set the launcher background to transparent
Offline
You can try a custom style on the XfceArrowButton widget class.
Offline
Thanks, but I'm not entirely sure how to do such a thing. I found this reference manual on the subject, I suspect I should either use xfce_arrow_button_new () or xfce_arrow_button_set_arrow_type ()? Could you provide an example?
Offline
look in the gtkrc of clearlooks, this has nothing to do with the api docs.
Offline
look in the gtkrc of clearlooks, this has nothing to do with the api docs.
Yeah the point is, as far as I know there is nothing in the Clearlooks gtkrc file that has anything to do with this -- that's why I started this topic in the first place. Should I define it myself? I know next to nothing about gtk themes or engines, so any reference is more than welcome.
Offline
You can try a custom style on the XfceArrowButton widget class.
My last attempt to fix this problem -- could you give an example, or perhaps a reference, how to accomplish this? Is it even possible using the Clearlooks theme? Please provide some more details, documentation, because I couldn't do much with your previous replies. Thanks!
Offline
Thanks to my friend Sam the problem is now solved. For people who are interested:
Edit the gtkrc from the Clearlooks theme (if this is the theme you're using). Then, search for something like this
style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
bg[PRELIGHT] = shade (1.06, @bg_color)
bg[ACTIVE] = shade (0.85, @bg_color)
}
and replace it with something like this:
style "button" {
xthickness = 3
ythickness = 3
bg[NORMAL] = shade (1.04, @bg_color)
engine "pixmap"
{
image
{
function = BOX
state = PRELIGHT
recolorable = TRUE
file = "button-prelight.png"
border = { 8, 8, 5, 9 }
stretch = TRUE
}
image
{
function = BOX
state = ACTIVE
recolorable = TRUE
file = "button-pressed.png"
border = { 8, 8, 5, 9 }
stretch = TRUE
}
}
}
You can create those .png files yourself, however, make sure they are in the same directory as the gtkrc file.
Now, your xfce4-panel looks like this when your mouse is over one of the launchers (in this case, it's the settings launcher):
Last edited by Ailurus (2011-08-08 14:45:54)
Offline
Pages: 1
[ Generated in 0.014 seconds, 8 queries executed - Memory usage: 543.16 KiB (Peak: 544.01 KiB) ]