You are not logged in.
Pages: 1
Hey guys,
I'm using Linux Mint 15 XFCE. I've tried all the Mint versions on my netbook, and XFCE is obviously the fastest---thanks for such excellent work.
One small question: In the Notes plugin, I see the option to change the background color. Is there a way to change the font color too?
Offline
There is an active bug report (https://bugzilla.xfce.org/show_bug.cgi?id=8505) with respect to xfce4-notes and GTK themeing.
In the meantme, to work around this, paste the following code:
gtk_color_scheme = "notes_fg_color:#dcdcdcdcdcdc\nnotes_bg_color:#000000000000\nnotes_base_color:#dcdcdcdcdcdc\nnotes_text_color:#ffff00000000\nnotes_selected_bg_color:#000000000000\nnotes_selected_fg_color:#dcdcdcdcdcdc"
...at the top of /usr/share/xfce4-notes-plugin/gtk-2.0/notes.gtkrc and change the section:
notes_text_color:#ffff00000000
...to the colour that you want in the format of rrrrggggbbbb. In the example above, the text colour is set to red (ffff00000000).
For it to take effect, either log out andf back in again or change the appearance theme to something else and back again.
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
Thanks—but what is that colour format with 4 digits for each RGB value? The only formats I know use 2 (hex) or 3 (decimal) digits per value.
Offline
See: http://git.xfce.org/panel-plugins/xfce4 … me-gtkrc.c and https://developer.gnome.org/gdk/stable/ … -to-string. Looks like this gdk widget/function uses 4 digits/value.
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
Dude, I'm not doubting you that it uses 4-digit values. I'm asking how you how to make 4-digit colour values.
All I've ever seen before are 2-digit values (hex) and 3-digit values (decimal). Why would a 4th digit be necessary? Are they using Base 4 or something?
Offline
I posted those links because I'm not sure myself, thinking I'd send you to the source. However, after some testing, it looks like only the first character of each set of 4 makes a colour change. For example:
Red = f00000000000
Green = 0000f0000000
Blue = 00000000f000
Yellow = f000f0000000
White = f000f000f000
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
Maybe because GdkColor's red, green, and blue component values can be between 0 and 65535 (with 65535 being full intensity), and 65535 in hexadecimal is FFFF? Maybe there's some connection between the two.
Regards,
MDM
Offline
Thanks guys... I've just changed the text colour to black and accepted the default background, a light gray.
I'm not sure why the devs insist on such an obscure colour-code format, when we're so familiar with the more common ones. But Linux is still like that sometimes, isn't it? ;?)
Offline
Pages: 1
[ Generated in 0.183 seconds, 7 queries executed - Memory usage: 543.49 KiB (Peak: 544.34 KiB) ]