Xfce Forum

Sub domains
 

You are not logged in.

#1 2015-10-26 22:30:55

xendistar
Member
Registered: 2011-11-07
Posts: 20

How do you chnage the desktop font colour??

How do you change the Desktop icon font colour?

A quick google suggests that you change the code in either .gtkrc-xfce or\and .gtkrc-2.0 I have the following text in both files

style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0

fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

That should mean the text is white, but my text is black

I am running XFCE 4.10

Any thoughts?

Offline

#2 2015-10-27 01:03:15

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

Re: How do you chnage the desktop font colour??

Well this is interesting. It would appear that if the theme already defines a style by the same name ("xfdesktop-icon-view"), then you can't overwrite it. I didn't know that.

Try renaming "xfdesktop-icon-view" to "my-xfdesktop-icon-view" (for example) and it should work. You'll have to make the change in two places in your snippet.


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 2015-10-27 11:28:35

Mark7
Member
Registered: 2007-10-05
Posts: 119

Re: How do you chnage the desktop font colour??

It worked for me

MzFaKKul.png

Offline

#4 2015-10-27 12:06:17

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

Re: How do you chnage the desktop font colour??

Mark7 wrote:

It worked for me

Try it with a theme that already defines an "xfdesktop-icon-view" style like Greybird or Numix. It won't overwrite the existing style definition.


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

Board footer

Powered by FluxBB