It's me ;-)

Remove the borders of your desktop icon text in Xfce

Xfce is my favourite desktop environment, simple is beautiful 😀 but it has one point I don’t like: the desktop icons with ugly background & borders around the text. I found the tip can make it looks nice 🙂

1. Open up a terminal, and create and edit a GTK configuration file:

touch ~/.gtkrc-2.0
nano ~/.gtkrc-2.0

2. Copy and paste in it the following:

style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"

You can also change the font colors.

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

base[NORMAL] = "#3F6BA4"
base[SELECTED] = "#3F6BA4"
base[ACTIVE] = "#3F6BA4"

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

Gives the icon text a dark black background with white text.

3. Save the file and exit. You may need to log out and in again for the changes to take effect.


“Xfce is a lightweight desktop environment for various *NIX systems. Designed for productivity, it loads and executes applications fast, while conserving system resources.” – Olivier Fourdan, creator of Xfce

Leave a Reply

Your email address will not be published.