frankwakeman
September 28th, 2009, 02:11 PM
I've been experimenting with and to an extent researching gtkrc-2.0, first in Gnome Ubuntu and now in Xubuntu. This has been mostly to advance the panel design (in both versions I delete the bottom panel and put the top one there) beyond the grey Windows 95 look. I'm pleased with my Ubuntu desktop, which is practically indistinguishable from KDE now, but I'm still a bit stumped with Xubuntu. There are 3 gtkrc-2.0 files below, numbered. The first is my current Xubuntu one, and so far just gets rid of that unsubtle desktop icon background. The second is my Gnome Ubuntu gtkrc-2.0 file, which gives me white text on my darker panel background (without mucking up the rest of the gtk theme), which at the moment is a Kubuntu-like semi-transparent one. The third is one I found online which enables a flawed panel background in Xubuntu - flawed because panel icons aren't in sync. I've as a compromise used a version of this, replacing mention of the pixmap with a grey colour I like, #353535, with which white text sits well. I imagine some hybrid of all three will give me what I want, where the applications & places menus when selected don't leave a merely grey selection colour when they're clicked on. In 2. I managed to achieve this, but at first I just pasted the relevant detail from 2. (from 'widget' onwards) into 1., which proved unsuitable - obviously XFCE requires a slightly different format somehow. I've seen a few gtkrc-2.0 boffins gives replies here, that'd be appreciated.
1.
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
base[NORMAL] = "#ffffff"
base[SELECTED] = "#ffffff"
base[ACTIVE] = "#ffffff"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
2.
bg[NORMAL] = "#353535"
bg[PRELIGHT] = "#353535"
bg[ACTIVE] = "#353535"
bg[SELECTED] = "#353535"
bg[INSENSITIVE] = "#FFFFFF"
base[NORMAL] = "#FFFFFF"
base[PRELIGHT] = "#FFFFFF"
base[ACTIVE] = "#FFFFFF"
base[SELECTED] = "#FFFFFF"
base[INSENSITIVE] = "#FFFFFF"
text[NORMAL] = "#FFFFFF"
text[PRELIGHT] = "#FFFFFF"
text[ACTIVE] = "#FFFFFF"
text[SELECTED] = "#FFFFFF"
text[INSENSITIVE] = "#FFFFFF"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"
3.
style "panel"
{
bg_pixmap[NORMAL] = ".panelbackground.png"
fg[NORMAL] = "white"
}
widget_class "*Panel*" style "panel"
widget "*Panel*" style "panel"
class "*Panel*" style "panel"
1.
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
base[NORMAL] = "#ffffff"
base[SELECTED] = "#ffffff"
base[ACTIVE] = "#ffffff"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
2.
bg[NORMAL] = "#353535"
bg[PRELIGHT] = "#353535"
bg[ACTIVE] = "#353535"
bg[SELECTED] = "#353535"
bg[INSENSITIVE] = "#FFFFFF"
base[NORMAL] = "#FFFFFF"
base[PRELIGHT] = "#FFFFFF"
base[ACTIVE] = "#FFFFFF"
base[SELECTED] = "#FFFFFF"
base[INSENSITIVE] = "#FFFFFF"
text[NORMAL] = "#FFFFFF"
text[PRELIGHT] = "#FFFFFF"
text[ACTIVE] = "#FFFFFF"
text[SELECTED] = "#FFFFFF"
text[INSENSITIVE] = "#FFFFFF"
}
widget "*PanelWidget*" style "panel"
widget "*PanelApplet*" style "panel"
class "*Panel*" style "panel"
widget_class "*Mail*" style "panel"
class "*notif*" style "panel"
class "*Notif*" style "panel"
class "*Tray*" style "panel"
class "*tray*" style "panel"
3.
style "panel"
{
bg_pixmap[NORMAL] = ".panelbackground.png"
fg[NORMAL] = "white"
}
widget_class "*Panel*" style "panel"
widget "*Panel*" style "panel"
class "*Panel*" style "panel"