Open Tea-Fox opened 7 years ago
I am facing exactly this issue currently. Does anyone know how to solve this? What files do I have to edit? I've tried editing /usr/share/themes/Radiant-MATE/gtk-3.0/apps/nautilus.css
and made this change:
21c21
< color: @theme_selected_fg_color;
---
> color: black; /*@theme_selected_fg_color;*/
But I see no change in the desktop font colour.
You won't because that is for Nautilus. In MATE, the desktop is normally managed by caja, and the desktop text color is set in caja-desktop.css to white with a contrasting shadow as this works with most backgrounds.
/* desktop mode */
.caja-desktop.caja-canvas-item {
color: #ffffff;
text-shadow: 1px 1px alpha (#000000, 0.8);
}
This is loaded with GTK_STYLE_PROVIDER_PRIORITY_APPLICATION, which overrides themes but in turn can be overrriden by entries in ~/.config/gtk-3.0/gtk.css . Create that file, copy the css snippet above into it, and set the color and shadow you want. This is loaded with GTK_STYLE_PROVIDER_PRIORITY_USER and overrides absolutely everything else.
That worked for me! Thank you!
I will try to see if I can implement this feature in the GUI for other users as well. However I wanted to ask, where can I find the system-wide caja-desktop.css? I couldn't find it in /usr/share/themes.
The systemwide file is part of Caja and is found in /usr/share/caja/
I made a similar request in 'mate-panel' for the panel text but I feel it would also prove to be a neat feature to have on the desktop itself, maybe even more so here than in the panel.
I would like to request a GUI setting (in 'Appearance' maybe) to change the font colour of Desktop Icon text as well as turning shadows for the font on or off as needed, I think this would be a really useful feature here, especially when changing to a desktop wallpaper that has the same colour as the font, it can make things a bit harder to read:
I know there are ways to change the font colour via scripts, but I don't think that's very user friendly and a GUI Setting would be nice to have.