Xfce Forum

Sub domains
 

You are not logged in.

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

amhainen
Member
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:

xfce_lmde

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...

Offline

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

amhainen
Member
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?_

Thx.

Offline

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

xftuxer
Member
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:

http://www.pclinuxos.com/forum/index.php?topic=86749.0

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!

Offline

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

.hettinger
Member
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.

Offline

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

secipolla
Member
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)

Offline

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

jimwg
Member
Registered: 2011-12-11
Posts: 67

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)

Offline

#7 2016-09-24 23:45:26

arkansawdave74
Member
Registered: 2016-09-24
Posts: 2

Re: Change Desktop Icon Text Color (XFCE LMDE)

xftuxer wrote:

    # 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.

Hi. I was wondering if there might be a list of color codes to chose from. Thank you for this info.

Offline

#8 2016-09-25 01:29:55

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

Re: Change Desktop Icon Text Color (XFCE LMDE)

Like this?


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

#9 2016-09-25 01:34:36

arkansawdave74
Member
Registered: 2016-09-24
Posts: 2

Re: Change Desktop Icon Text Color (XFCE LMDE)

Haha!! Thank you very much, @ToZ!!

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 544.19 KiB (Peak: 545.03 KiB) ]