-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean Cache on startup #85
Comments
more complex version running the script on reboot, shutdown or logout:
The first version executes all found "*.sh" scripts. The second version checks if files are executeable and executes them in that case. Both versions are pretty neat. It seems systemd has a feature to check if it stops and execute a command in that case. To use the cache-cleaner, just put it in that directory. |
So here is the version using the autostop feature
|
disable logging:
|
this is a good idea. from what i heard, apple has this sort of stuff. it would be better if we can just integrate this as background process after boot, rather than on shut down, since long shut down time can be irritating |
This is very personal. For me I dont care if boot takes long, but I want the laptop to be there when I turn it on. So I would say end is way better. I mean using the nice autostop service (I think I tried it, I dont know) you can just ask the user where to put it, and then put it there. Also such a cache cleaner is not official. There is /tmp which is cleaned, there is ~/.cache with is cleaned, and the Flatpak apps themselves should manage their cache well. But I guess they dont, so no way will I not integrate that. |
Some user meant this was a problem. It can not harm to delete old cache from various flatpaks. The command for that is:
The text was updated successfully, but these errors were encountered: