mate-desktop / caja

Caja, the file manager for the MATE desktop
https://mate-desktop.org/
Other
271 stars 145 forks source link

Caja change background color and icon titles #1515

Open rudar00 opened 3 years ago

rudar00 commented 3 years ago

Linux Mint 20.1, Mate version 1.24; Debian 10, Mate 1.20.4

Mate has always been my favourite DE, especially because it was so easy to automatically change the background colour in Home folder (Caja) with Edit-Backgrounds and Emblems-Colors. Unfortunately, for the last several editions both of Linux Mint and other distros offering Mate as DE (including my current distro, Debian 10, Mate 1.20.4), I always get the same error: although the background colour changes according to my selection, the icon titles remain the same, while before they used to change automatically, from black to white and viceversa.

In other words, if I chose my favourite Danube blue background colour, the icon titles in the Home folder remain black, while they should automatically change to white, because of the necessary contrast. As I was unable to solve this problem automatically as I did with the early versions of Linux Mint I had used before, I was lucky to get the following tip at another forum. It was necessary to open the Terminal and write this

`sudo nano ~/.config/gtk-3.0/gtk.css

.caja-navigation-window .caja-notebook .view { background-color: #184a7f; color: #ffffff; }`

This solved my problem and I am happy to share this experience with you; if it works in Debian (as it did to me), then it should work in Mint too. However, why isn't it possible to settle the matter automatically, through Edit-Backgrounds in Caja, as it was once before, many years ago? If the user prefers a darker background in Caja, then the icon titles should also adapt automatically and change from black to white, because of the necessary contrast. If Mate developers fix this issue, I am confident this DE will get even more users. Best wishes!

HaagenBl commented 2 years ago

Nice. If I would like to change the background colour of the sidebar, i.e. Places etc. window next to the file list window, but have been unable to find the the code to enter instead of your ".caja-navigation-window .caja-notebook .view" I tried to remove the ".caja-notebook" and now your colour (which is nice, btw) is also in the Places; Information etc. window.

What is the code if I want to address only the sidebar?

Can you help me? I'm new to this. Thanks. Haagen