[HOW TO] Make desktop icons text background transparent in Xubuntu
In this article we'll disable the desktop icons text background, making it fully transparent.
Install
Open a terminal window and run:
wget http://goo.gl/02IGS -O - >> ~/.gtkrc-2.0
This command will create a .gtkrc-2.0
file in your home directory (or append the new content to a existing one), and add the following content it:
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
If you wish to also change the text color just edit the file replacing ffffff
with the desired color's code (tip: you can use Gcolor2 to help you determine the color code).
For changes take effect either log out and log in or run the command: killall xfdesktop
, and wait for xfdesktop restart.
Great ideas! I am a enthusiastic user of Ubuntu for years. Now I use Xubuntu 12.10 AMD64. It works fine. Your ideas work well and show a lot of understanding of system etc. Maybe it would not be as complicated for you as it is for me to find out how to make both alt keys on the computer elevating keys to the 3rd level... not only right one as normally it is? In KDE and Gnome one can just choose the option how to change a key allocation in special keyboard layout options, not in XFCE, not even in LXDE. I use 3 languages all the time and this kind of keyboard layout adjusting program is very important in every day work... what can I do?
ReplyDeleteThank you for your time...
You could add the "Keyboard layout" plugin to Xfce's panel. Edit the plugin properties choosing a "layout option" and a "compose key position", then use that combination to quickly change between keyboard layouts.
DeleteI hope this helps.
Thank you for advice. I just want to use both hands in typing without stopping Polish letters (ąęćśżźół)... I soved problem creating launcher for XFCE desktop with command: "setxkbmap -option lv3:alt_switch", which does the job for one session ;-)
ReplyDeleteThank you for your time.
Thanks for the tip on transparency ! My desktop looks a lot better now !
ReplyDeleteWhy this is not default?
ReplyDeleteI've become a great fan of XFCE and xubuntu, and I'd like to share with you a small tweak to improve font readability with light backgrounds.
ReplyDeleteMy .gtkrc-2.0 file looks like this:
style "xfdesktop-icon-view" {
XfdesktopIconView::label-alpha = 0
XfdesktopIconView::shadow-x-offset = 1
XfdesktopIconView::shadow-y-offset = 1
XfdesktopIconView::shadow-color = "#000000"
XfdesktopIconView::selected-shadow-x-offset = 0
XfdesktopIconView::selected-shadow-y-offset = 0
XfdesktopIconView::selected-shadow-color = "#ffffff"
fg[NORMAL] = "#ffffff"
fg[SELECTED] = "#ffffff"
fg[ACTIVE] = "#ffffff"
}
widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
This brings a small shadow behind the text when icons are not selected and makes it disappear when they are.
Great blog, keep the good work ;)
Thank you.
DeleteIs there any way to change this also in ubuntu 12.04 ? Thanks for help!
ReplyDeleteI'm sorry but I don't know how.
DeleteIt's not working for me... it says :
ReplyDeleteHTTP request sent, awaiting response... 502 Bad Gateway
2014-04-18 14:27:01 ERROR 502: Bad Gateway.
Please confirm that you typed the address correctly or just copy & paste it.
Delete