Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers

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
add comment

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

share|improve this answer
1  
Xfce won't have Compiz –  Takkat Jul 10 '12 at 18:30
1  
Sorry, I've always used Compiz. Compiz requires too many resources. I'm using xfce4 without Compiz –  lupopa Jul 10 '12 at 18:47
add comment

Your Answer

 
discard

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.