You are not logged in.
Pages: 1
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-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
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.
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
[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-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
I use the digital clock dropdown, so after verifying
class "XfceXfceClockAnalog" style "myclock" worked for analog,
I tried:
style "myclock" {
fg[NORMAL] = "#ffff00"
}
class "XfceXfceClockDigital" style "myclock"
and got a wonderful yellow digital clock on my already black Xfce panel.
Thanks!
Last edited by robz (2021-12-22 13:02:39)
Offline
A potentially useful necropost--are you on Xfce 4.16?
MX-23 (based on Debian Stable) with our flagship Xfce 4.18.
Offline
I'm on Xfce 4.10 (Ubuntu 14.04 LTS), getting the last bit of life out of it.
Last edited by robz (2021-12-22 23:50:46)
Offline
Pages: 1
[ Generated in 0.008 seconds, 7 queries executed - Memory usage: 534.5 KiB (Peak: 535.34 KiB) ]