Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How to i change background Color of the desktop icon Font?

The Font is white and Font Background is darkgray. I want to set the background Color to transparent.

share|improve this question
up vote 2 down vote accepted

I am assuming the DE is Xfce because Xubuntu is a tag. One way to do so is to create an empty .gtkrc-2.0 file in your home folder. It will be an ordinary text file but "hidden". In this file, you can paste the following content and modify it to your taste.

(If you already have an existing .gtkrc-2.0 file you can just append the stuff.)

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

fg[NORMAL] = "#83aab7"     #was #83aab7
fg[SELECTED] = "GreenYellow"      # greenyellow
fg[ACTIVE] = "yellow"      # yellow

widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
  • The second line governs transparency of the icon text background.
  • The third line controls the size of the tooltip that appears when one hovers the mouse cursor on an icon on the desktop.
  • The next three lines control the text color for different "states" of the icon. Both hex code and recognized words are acceptable to specify the color.

By the way, I have a plain black desktop and those colors suit me.

Depending on your set-up, you may need to just switch to another theme and back to see the change take effect or you may need to log out and back in again.

(This works for me in Xfce 4.10; it should work with 4.8 (which is what vanilla Xubuntu 12.04 has).)

share|improve this answer
YaaaaY that's it.. Thank you – lupopa Jul 11 '12 at 7:35
Hi, happy to help. You could also check out this for more help. Xfce's documentation is pretty decent. – user25656 Jul 11 '12 at 7:39

Try with CompizConfig Settings Manager, it's a good application.

share|improve this answer
Xfce won't have Compiz – Takkat Jul 10 '12 at 18:30
Sorry, I've always used Compiz. Compiz requires too many resources. I'm using xfce4 without Compiz – lupopa Jul 10 '12 at 18:47
you have to install compiz first, of course – mchid Jun 23 '14 at 4:28

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.