An alternative is to install stuff like this inside a Docker container so that your main system isn't overrun with issues like this.
I run pretty much all my applications like that, mounting only a volume with data that is relevant to the application, shielding all other data from unintended exposure.
Seems like overkill. The last time I tried it, I had so many problems, like sound not working, wrong cursor theme or not following system dark theme, etc. I guess if I wanted to go in that direction I would just install flatpak, but I don't want to do that for the same reason. It's not as good as a native application.
An alternative is to install stuff like this inside a Docker container so that your main system isn't overrun with issues like this.
I run pretty much all my applications like that, mounting only a volume with data that is relevant to the application, shielding all other data from unintended exposure.
Seems like overkill. The last time I tried it, I had so many problems, like sound not working, wrong cursor theme or not following system dark theme, etc. I guess if I wanted to go in that direction I would just install flatpak, but I don't want to do that for the same reason. It's not as good as a native application.