Xfce Forum

Sub domains
 

You are not logged in.

#1 2013-08-10 23:22:28

Ander111
Member
Registered: 2013-03-05
Posts: 17

Change Notes font color?

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

#2 2013-08-12 13:56:49

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

Re: Change Notes font color?

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

#3 2013-08-14 07:38:20

Ander111
Member
Registered: 2013-03-05
Posts: 17

Re: Change Notes font color?

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

#4 2013-08-14 10:25:22

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

Re: Change Notes font color?


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

#5 2013-08-14 22:47:06

Ander111
Member
Registered: 2013-03-05
Posts: 17

Re: Change Notes font color?

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

#6 2013-08-14 23:53:36

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

Re: Change Notes font color?

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

#7 2013-08-15 01:51:35

MountainDewManiac
Member
From: Where Mr. Bankruptcy is Prez
Registered: 2013-03-24
Posts: 1,115

Re: Change Notes font color?

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


Mountain Dew Maniac

How to Ask for Help <=== Click on this link

Offline

#8 2013-08-19 03:58:20

Ander111
Member
Registered: 2013-03-05
Posts: 17

Re: Change Notes font color?

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.183 seconds, 7 queries executed - Memory usage: 543.49 KiB (Peak: 544.34 KiB) ]