Hello everybody
after installing a mac theme from here , the icon's name on desktop are always highlighted :
can you please help me fix it
Hello everybody
after installing a mac theme from here , the icon's name on desktop are always highlighted :
can you please help me fix it
Last edited by dxtr12; May 27th, 2013 at 12:38 PM. Reason: Solved
To fix this, create a text file named .gtkrc-2.0 in your home folder with the following contents. Note the period at the beginning of the name (which makes it a hidden file). You can copy and paste the following:
Now the icon text should have a transparent background.Code:style "xfdesktop-icon-view" { XfdesktopIconView::label-alpha = 0 fg[NORMAL] = "#ffffff" fg[SELECTED] = "#ffffff" fg[ACTIVE] = "#ffffff" } widget_class "*XfdesktopIconView*" style "xfdesktop-icon-view"
You have to logout and login for the change to take effect.
Last edited by Dennis N; May 25th, 2013 at 01:33 AM.
What version of Xubuntu are you using?
I am looking at the ppa - What is the full package name of the file you downloaded?
@dxtr12
I suggest you test if the .gtkrc-2.0 file is working by testing with the preinstalled themes (there are only 6, under Settings Manager > Appearance > Style) and check if the icon text background is transparent. If transparent, then the file is working. When I tried a couple of the preinstalls without the added file, the text background was whitish as in you screenshot. Greybird (the default) was an exception. I wanted to install another theme, Zukitwo, and it had this problem without the .gtkrc-2.0 file. It works fine with it.
If the file works with the preinstalled themes, and your theme does not change, then obviously something else is causing this in your new theme.
I did not invent this code. I have used it in the past several releases to solve this problem. A source for this technique (there are several on the web) is:
http://xubuntugeek.blogspot.com/2012...cons-text.html
@DennisN, this is not strictly related to the question, but Greybird has many of the settings you mention within /usr/share/themes/gtk-2.0/gtkrc (towards the end of the file). So, if one wants, the values can be tweaked there (or in the corresponding location on ~/.themes) instead of editing .gtkrc-2.0.
I think Greybird was the only theme that had transparent desktop icon text background without using the extra .gtkrc-2.0, so I would guess the necessary code is added there to make it look good by default rather than relying on an external file. That would make sense. I will take a look when I next get on Xubuntu.
Bookmarks