Reputation: 2318
I'm using xfce4
built on top of gtk-3.0
. Here is the system info ...
System: Host: XXXXXXXX.XXX Kernel: 4.4.0-81-generic x86_64 (64 bit) Desktop: Xfce 4.11.8 Distro: Linux Mint 17 Qiana
I am trying to change the text color of the DateTime
widget on the panel, but none of the things I have tried is working. I have a dark panel background, so I want white text for the date and time info within this widget.
I'm using the oxygen-gtk
theme, so I inserted this code in /usr/share/themes/oxygen-gtk/gtk-3.0/gtk.css
and restarted. But I'm still getting black clock text ...
ClockBox {
color: #ffffff;
}
I also tried installing this same configuration info in the corresponding gtk config files for various other themes and tried each of these themes, making a point to comment out their existing ClockBox
configuration, if it exists. After restarting, I am still getting black date-time text for each and every one of these themes.
In addition, for any of those themes which already had a ClockBox
configuration, I just changed the existing config info to be the same as the default, except for it to contain color: #ffffff;
. After restarting, I still get black date-time text.
Can anyone point me to instructions for changing the text color of the xfce4
DateTime
widget?
Thank you very much.
Upvotes: 0
Views: 3045
Reputation: 2198
Why are you using an old development release (4.11) instead of the current stable (4.12)?
Anyway, both versions are Gtk2-based, but this version of panel might support Gtk3 plugins, which is not the case for datetime until its 0.7.0 release.
Unfortunately, there's no class available that we could use a selector:
You have the following options:
Upvotes: 1