How to change trash icon's color?

I wanna change trash icon’s color, because it’s always green, and I want another color.

Find the trash Adwaita icon from /usr/share/icons, copy the folder structure its in and the icon to .icons/[something]/, also copy index.theme, but inside it change the theme name to something that’s not Adwaita and add Adwaita as the first ‘inherit’, then recolor the icon with Inkscape or ask ChatGPT to tell you how, and apply the custom theme

That should be ~/.local/share/icons instead of ~/.icons.

But yeah, a small custom icon theme overriding the icon seems like the easiest approach.

What’s the difference? I’ve been placing in ~/.icons and it works

Because ~/.icons is the legacy path. And since quite some time now the rule is to follow the XDG path specifications, which places data files, including icons, under ~/.local/share.

Its true that the legacy path still works, mostly. Some newer tools like Refine don’t work with it anymore. So I think it makes sense to not give anymore as advice.

1 Like