You are not logged in.
How do I go about this? I've noticed some themes have code for it in their gtk.css (ie Chicago95) but taking that code and pasting it into other themes that don't have a solid background for the desktop icon text almost never works.
Am I supposed to be changing this in the theme files? Or is there another config file somewhere that takes priority that I should be messing with? I noticed basically every theme where the above hasn't worked has had the same desktop icon font, lack of text background, and same text color, so I'm definitely missing something here right? Some kind of override?
I just want a nice solid (or, like 70% opaque) background for my desktop icons labels.
Last edited by pizza_rat (2022-04-06 10:26:37)
Offline
Assuming you are using a GTK3 version of xfdesktop (4.14 or higher)...
Have a read through https://forum.xfce.org/viewtopic.php?id=13284/
I just want a nice solid (or, like 70% opaque) background for my desktop icons labels.
Try adding the following to ~/.config/gtk-3.0/gtk.css:
/* default label state */
XfdesktopIconView.view .label {
background: rgba(255, 0, 0, 0.7);
text-shadow: 1px 1px 2px black; }
...adjust the background rgba to suit and restart xfdesktop:
pkill xfdesktop
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
Aha, thanks. That's exactly what I was looking for. My searches only turned up GTK2 related results, and I am indeed on GTK3.
Offline
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 535.53 KiB (Peak: 544.76 KiB) ]