Xfce Forum

Sub domains
 

You are not logged in.

#1 2016-09-24 08:48:15

Friedrich
Member
Registered: 2016-09-18
Posts: 134

xfce panel: disable text shadow / clock background color

hi,

this is whats in my ~/.gtkrc-2.0 to change the text color and the background of the xfce panel:

style "gtk-theme-config-panel" {
	bg[NORMAL] = "#AFBBC9"
	bg[PRELIGHT] = "#AFBBC9"
	bg[ACTIVE] = "#5187C4"
	bg[SELECTED] = "#FF0000"
	fg[NORMAL] = "#FFFFFF"
	fg[PRELIGHT] = "#FFFFFF"
	fg[SELECTED] = "#FFFFFF"
	fg[ACTIVE] = "#FFFFFF"
}

widget "*PanelWidget*" style "gtk-theme-config-panel"
widget "*PanelApplet*" style "gtk-theme-config-panel"
widget "*fast-user-switch*" style "gtk-theme-config-panel"
widget "*CPUFreq*Applet*" style "gtk-theme-config-panel"
widget "*indicator-applet*" style "gtk-theme-config-panel"
class "PanelApp*" style "gtk-theme-config-panel"
class "PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*PanelToplevel*" style "gtk-theme-config-panel"
widget_class "*notif*" style "gtk-theme-config-panel"
widget_class "*Notif*" style "gtk-theme-config-panel"
widget_class "*Tray*" style "gtk-theme-config-panel" 
widget_class "*tray*" style "gtk-theme-config-panel"
widget_class "*computertemp*" style "gtk-theme-config-panel"
widget_class "*Applet*Tomboy*" style "gtk-theme-config-panel"
widget_class "*Applet*Netstatus*" style "gtk-theme-config-panel"
widget "*gdm-user-switch-menubar*" style "gtk-theme-config-panel"
widget "*Xfce*Panel*" style "gtk-theme-config-panel"
class "*Xfce*Panel*" style "gtk-theme-config-panel"

when i move the mouse over a symbol in the panel and don't select the symbol the text changes a little bit. is white, but i think there is a shadow. how can i disable this? is this something i can disable using gtkrc-2.0? what is 'bg[SELECTED]'? i can't find out what's that. i've set the color to normal red, but until now i've never seen this red.

when i move the mouse over the clock and the show desktop plugin the background changes. i think this is because of 'bg[PRELIGHT]'? how can i disable this only for the clck and the show desktop plugin?

Offline

#2 2016-09-24 14:08:27

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,017

Re: xfce panel: disable text shadow / clock background color

If you're using the Greybird theme, greybird uses the murrine engine to generate some effects - like what you are seeing. You can remove that effect by removing this theming. Use this snippet:

style "gtk-theme-config-panel" {
	bg[NORMAL] = "#AFBBC9"
	bg[PRELIGHT] = "#AFBBC9"
	bg[ACTIVE] = "#5187C4"
	bg[SELECTED] = "#FF0000"
	fg[NORMAL] = "#FFFFFF"
	fg[PRELIGHT] = "#FFFFFF"
	fg[SELECTED] = "#FFFFFF"
	fg[ACTIVE] = "#FFFFFF"
}
	engine "murrine" {
		roundness	= 0
		glowstyle	= 0
		glazestyle	= 0
		textstyle	= 0
		text_shade	= 0.0
	}
}

Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

Board footer

Powered by FluxBB