You are not logged in.
Pages: 1
HI!
I am a newbie on this so have patience please
it is possible to set a color background for desktop icons and its text? So this way icons colors and icons text won't get confused with the desktop wallpaper color and shapes.
Thanks!!
Last edited by Navegante (2019-09-11 21:16:50)
Offline
Yes it is. Can you tell us which version of Xfce and more importantly, xfdesktop you are using:
xfdesktop -V
If you are using a version built on GTK2 (4.12 or earlier), then have a read through https://docs.xfce.org/xfce/xfdesktop/advanced. For versions built on GTK3 (4.13 and 4.14), have a read through this thread.
Once you've digested this information, feel free to post back any follow-up questions you may have.
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
Hi!!
This is my Xfce version:
(In Spanish)
:~$ xfdesktop -V
Esto es xfdesktop versión 4.13.3, ejecutándose en Xfce 4.12.
Compilado con GTK+ 3.24.7, Enlazado con GTK+ 3.24.8.
Opciones de compilación:
Menú del escritorio: activado
Iconos de escritorio: activado
Iconos de archivos del escritorio: activado
Ok. I gonna take a look at that links and tell you my results. Thank you very much!!
Last edited by Navegante (2019-09-12 00:45:22)
Offline
Yes, see if the information in the second link helps.
Note: I'll put this here in case it helps...
Try putting the following snippet into ~/.config/gtk-3.0/gtk.css (create the file if it doesn't exist):
/* default label state */
XfdesktopIconView.view .label {
background: blue;
text-shadow: 1px 1px 2px black; }
/* active (selected) label state */
XfdesktopIconView.view .label:active {
background: red;
text-shadow: 1px 3px 3px blue; }
...and change "backgound: blue" and "background: red" to match the colours you want to use. You can also use RGB designations in the form of #RRGGBB (e.g. #ff0000 = red).
You will need to restart xfdesktop for this to take effect:
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
That is what I was searching for.
Here I user rgba designator to add a little transparency on the background.
/* default label state */
XfdesktopIconView.view .label {
background: rgba(0, 0, 0, 0.6);
text-shadow: 1px 1px 2px black; }
/* active (selected) label state */
XfdesktopIconView.view .label:active {
background: rgba(0, 50, 90, 0.8);
text-shadow: 1px 3px 3px blue; }
It would be nice to access to this settings through a graphic interface configurator.
Offline
Can I use @theme_fg_color or just stick to rgb?
/* default label state */
XfdesktopIconView.view .label {
color: rgb(44,44,44);
background: rgb(212,212,212);
text-shadow: 1px 1px 2px black; }
/* active (selected) label state */
XfdesktopIconView.view .label:active {
color: @theme_fg_color;
background-color: @theme_bg_color;
text-shadow: 1px 3px 3px blue; }
Last edited by Time7man (2020-03-11 18:02:34)
Offline
Pages: 1
[ Generated in 0.012 seconds, 7 queries executed - Memory usage: 536.72 KiB (Peak: 537.56 KiB) ]