Xfce Forum

Sub domains
 

You are not logged in.

#1 2014-01-12 17:42:48

Jerry3904
Member
Registered: 2013-11-09
Posts: 162

change color of clock?

My graphic person would like to change the color of the (analog) clock to white, and I agree that it would look better. 

There is nothing in the Properties box to do that, so I opened the xfce4-panel.xml and, after duckduckgoing for "xml font color", tried to insert this into the clock entry:

<property name="font-color" type="string" value="#ffffff"/>

That didn't work (and why should it after all?), so I pose the question here: is there a property name entry that will allow me to change the clock color?

TIA


MX-14 (based on Debian Stable) with backported Xfce 4.10 on Acer Aspire One 722

Offline

#2 2014-01-12 19:21:39

ToZ
Moderator
From: Toronto, Canada
Registered: 2011-06-02
Posts: 1,382

Re: change color of clock?

Try adding the following code to ~/.gtkrc-2.0 (for individual user use) or /etc/gtk-2.0/gtkrc (for system-wide use):

style "myclock" {
    fg[NORMAL] = "#ffffff"
 }
class "XfceXfceClockAnalog"  style "myclock"

You'll need to either log out and back in again or change the GTK theme away and back again for it to take effect.

Offline

#3 2014-01-12 20:28:53

Jerry3904
Member
Registered: 2013-11-09
Posts: 162

Re: change color of clock?

[Impressive--thought I would at least slow you down with that one...]

Thanks--will pass it on.  It actually makes quite a visual difference given the way we are configuring the Panel.


MX-14 (based on Debian Stable) with backported Xfce 4.10 on Acer Aspire One 722

Offline

Board footer

Powered by FluxBB