How do I change background Color of the desktop icon Font?
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).)
Related videos on Youtube
lupopa
Updated on September 18, 2022Comments
-
lupopa over 1 year
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.
-
Takkat almost 12 yearsXfce won't have Compiz
-
lupopa almost 12 yearsSorry, I've always used Compiz. Compiz requires too many resources. I'm using xfce4 without Compiz
-
Admin almost 12 yearsHi, happy to help. You could also check out this for more help. Xfce's documentation is pretty decent.
-
mchid almost 10 yearsyou have to install compiz first, of course