Xfce Forum

Sub domains

You are not logged in.

#1 2011-12-01 12:05:32

Registered: 2011-12-01
Posts: 2

Change Desktop Icon Text Color (XFCE LMDE)

How can I change the text color (or background of the text) for the icons on the desktop? I always have a black background and the black text won't work well as shown here:


Also, how can I change the panel text color (example: "Menu" in the left upper panel)?

Finally, how can I change the window button color in the lower panel from gray to say darker gray?

Thanks for the help, just another Ubuntu refugee exiled in the wake of the Unity/Gnome3 battle...


#2 2011-12-01 12:33:56

Registered: 2011-12-01
Posts: 2

Re: Change Desktop Icon Text Color (XFCE LMDE)

Nevermind, I found it in ~/.gtkrc-xfce:

Change the first line to FFFFFF

Now I'm assuming I'll adjust the panel font in /usr/share/themes/[theme]/gtk-2.0/Apps/panel.rc

Does anyone know what line that might be?_



#3 2012-05-03 20:24:25

Registered: 2012-05-03
Posts: 3

Re: Change Desktop Icon Text Color (XFCE LMDE)

Maybe you've allways found a solution, however I just found this:


In short:
create a file in your home e.g. .gtkrc.xfce4 with this content:

## Icon View Text Appearance
style "xfdesktop-icon-view" {

    ## transparency (alpha) factor
    # original: XfdesktopIconView::label-alpha = 75
    # set transparency of icon text background to 100%
    XfdesktopIconView::label-alpha = 0

    # background colors
    base[NORMAL] = "#C5C5C5"
    base[SELECTED] = "#C5C5C5"
    base[ACTIVE] = "#C5C5C5"

    # foreground colors
    fg[NORMAL] = "#000000"
    fg[SELECTED] = "#000000"
    fg[ACTIVE] = "#000000"
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

Adjust the values to your needs and save that file.

In the file $HOME/.gtkrc-2.0 add the following line:
(If you can't find .gtkrc-2.0 in your home, than create it!)

## $HOME/.gtkrc-2.0 may be changed on updates, so just add this line to it
include "/home/<your_user_name>/.gtkrc.xfce4"

Note: .gtkrc.xfce4 and .gtkrc-2.0 both file names start with a dot!

Now logout and back in again. Voila!


#4 2012-11-22 00:18:08

Registered: 2012-11-22
Posts: 1

Re: Change Desktop Icon Text Color (XFCE LMDE)

I'm new with linux and with xfce.  I see someone has a solution here but I don't quite understand it.  I use a black desktop background as well and would like to be able to change the font color.  I copied that into a text file and saved it to the desktop but I don't know where this .gtkrc.xfce4 is or what it refers to.  Please help.


#5 2012-11-22 10:58:46

Registered: 2012-01-15
Posts: 393

Re: Change Desktop Icon Text Color (XFCE LMDE)

It goes in your home folder (~/.gtkrc-xfce4). The name doesn't matter.
Then add in ~/.gtkrc-2.0

include "/home/<your_user_name>/.gtkrc-xfce4"

Change <your_user_name> for the proper user name.

Last edited by secipolla (2012-11-22 10:59:07)


#6 2013-02-16 18:01:31

Registered: 2011-12-11
Posts: 64

Re: Change Desktop Icon Text Color (XFCE LMDE)

This has been an invaluable lesson!! Thank you all! Just one thing I'm stuck in; I'd like to set shadows for my white icon text color so the text contrasts better in near white, light yellow and pink backgrounds. I've tried all kinds of combos. I know MATE can create such icon text shadows, so is this a XFCE limitation?

Thanks for any hints!

Jim in NYC

Last edited by jimwg (2013-02-16 18:02:11)


Board footer

Powered by FluxBB