Alt Text
A screenshot of a file manager preview window for my ~/.cache folder, which takes up 164.3 GiB and has 246,049 files and 15,126 folders. The folder was first created about 1.75 years ago with my system
You don’t have to clean your ~/.cache every now and then. You have to figure out which program eats so much space there, ensure that it is not misconfigured and file a bugreport.
So OP’s headline should be saying instead:
Reminder to CHECK your ~/.cache folder every now and then
just symlink ~/.cache to /dev/null
Cache exists for a reason, that sounds like itd break programs, a safer method is probably having it be a ramdisk
I did this and now my games have no icons in lutris, some of my gnome settings got reset and my proton email bridge stopped working
So the apps are broken. Cache is meant to be deleted at any time
Time to write some bug reports. ~/.cache is supposed to be disposable.
You shouldn’t have done that Dave.
For some reason devs can’t wrap their head around cache being temporary.
Even better: mount ~/.cache as ramfs. It will also speed up some apps significantly.
I always felt that there should be some user directory like
/tmp/
which will be wiped regularly./tmp and /var/tmp are writable to regular users on most distributions
This is one of those things that makes me shake my head about Linux. It’s these small dumb problems that make Linux inaccessible to the common person.
deleted by creator
This is why Linux sucks!
Windows famously never generates any garbage files. It’s so reliable all servers run windows. Right?