How to solve problems with theme resources?

Hello, since 2023 I’m using linux Mint 20 xfce (VM) and Mint 21.3 xFce. The errors and problems are with the Mint 21.3 where adwaita theme is used. I searched and found some suggestion in Microsoft discussion that the resources should be remapped, but I have no idea how to do that or where the adwaita them is installed. It might be adwaita dark or something like that (probably not the Adwaita original theme). I found that there were files .xsession-errors and .xsession-errors.old and they had like 4GB size or more. I cannot start the system Mint 21.3 now, but I would like to repair the remapping and to fix this so no more problems like that happen next time. Can you suggest how to correct it? I guess the path should be changed and that the icons of image files or css files should be present on the disc. But if they are not… because this is what happen to me, I run find . -type f -name ( image extenstions , css files and similar ) -exec rm {} ; on root directory by incident, which could delete the theme files from /home too. I have ^C break it but it was like 20s later and the ssd was pretty fast, so deleted a lot of files from /usr/share directory, but I guess the /home should be fine, as I did not see images of css, xls etc. disappeared from /home. Yet do you know what? My stupidity I did not even bother to prevent to go through mounted devices and /home was mounted as separated partition.

So in conclusion I am just asking if can I remap the files, because there were errors with adwaita theme present whenever I run some apps from text terminal so I have seen the missing resources reports. But these errors were happening before the incident with find . -exec rm command.

Maybe you could even gimme some tip how to limite the .xsession-errors file size, to prevent system “crash”.

You should ask on a Mint support forum.

Hi,

The Adwaita theme embeds its images and CSS in resources files, directly linked into the binaries, so you won’t find those files with find.

Looks like the Mint theme somehow messes things up, better ask Mint people directly, as suggested by ebassi.