I was doing this for the first time and it took me a hell of time to customize my theme. I am using GAIA NEUE from deviant art. I am also using compiz. I set the gnome panel to be transparent with the color matching wallpaper behind it. Everything worked perfect and the panel looked transparent except the gnome menubar part (application, places, system).
No matter what I did, it wouldn't go transparent and retained the color. After digging through gtkrc and other rc files and spending about and hour here is how I achieved it.
1. In gtkrc file, added a style named toolbar :
style "toolbar"
{
bg[PRELIGHT] = @selected_bg_color
base[PRELIGHT] = @selected_bg_color
}
style "toolbar"
{
bg[PRELIGHT] = @selected_bg_color
base[PRELIGHT] = @selected_bg_color
}
@selected_bg_color : this means whatever color you selected under your panel settings.
2. Under "widget styles" section, added following
widget_class "*MenuBar" style "toolbar"
class "*MenuBar" style "toolbar"
widget_class "*MenuBar" style "toolbar"
class "*MenuBar" style "toolbar"
Yep, that's it. Took me one hour not including time spent (useless) searching on google.
0 comments:
Post a Comment