[Solved] cleanup of temporary files - a newbie questuon

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

[Solved] cleanup of temporary files - a newbie questuon

Post by ineuw »

I am using BleachBit to clean up the browser cache and the system's temporary files, which can total up to 400MB at a time. What happens to the system if these files are never cleaned up by the user? Is there an automatic that removes the accumulated junk? Or the temp files use the same name and are overwritten?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Cosmo.
Level 24
Level 24
Posts: 22968
Joined: Sat Dec 06, 2014 7:34 am

Re: cleanup of temporary files - a newbie questuon

Post by Cosmo. »

Temporary files, which are stored in /tmp, get automatically deleted by the system with every reboot. The browser cache is usually limited by the browser itself, this can get configured in the browser, also the cache can get deleted. There is no need for a software wrecking ball for that purpose. Even not, if the result is an amount, which makes most likely not even a tenths of one percent of the size of your drive. (In other words: 400 MB is today flyspeck.)
User avatar
Flemur
Level 20
Level 20
Posts: 10096
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: cleanup of temporary files - a newbie questuon

Post by Flemur »

ineuw wrote:I am using BleachBit to clean up the browser cache and the system's temporary files, which can total up to 400MB at a time.
Free advice: stay away from the BlechBit "wipe" feature.
What happens to the system if these files are never cleaned up by the user? Is there an automatic that removes the accumulated junk? Or the temp files use the same name and are overwritten?
Linux OS cleans its own files pretty well, but others would depend on the program that wrote the files, e.g. the browser.
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
aes2011
Level 4
Level 4
Posts: 498
Joined: Wed Jul 06, 2011 10:39 pm

Re: cleanup of temporary files - a newbie questuon

Post by aes2011 »

ineuw wrote:I am using BleachBit to clean up the browser cache and the system's temporary files, which can total up to 400MB at a time. What happens to the system if these files are never cleaned up by the user? Is there an automatic that removes the accumulated junk? Or the temp files use the same name and are overwritten?
Hi,
Side question: are you the tooltip background guy?

Back on topic:
As Cosmo said, strictly temporary files automatically created by programs are in /tmp and that's taken care of automatically on shutdown.

There are cache files such as in /var/cache/apt/archives for which sudo apt-get autoclean (mild) or sudo apt-get clean (strong) could be used.

There are files in ~/.cache. I prefer to use the application itself to clear the corresponding cache in the case of google-chrome or firefox. ncdu is a nice terminal application to see what ~/.cache contains.

Your home folder may also have a .thumbnails folder. Once in a while, I delete it.

If you don't want Firefox to create thumbnails, Make a new about:config entry of type boolean called browser.pagethumbnails.capturing_disabled. Set it to true.

As for locales, see https://askubuntu.com/questions/477974/ ... ry-locales and the heated comments for one of the answers.

And if you're very sure you don't need 32-bit software, you could look at https://askubuntu.com/questions/113301/ ... untu-64bit

That's all I can think of for now!
User avatar
ineuw
Level 5
Level 5
Posts: 825
Joined: Sun Nov 13, 2016 12:27 am
Location: Montreal, Canada

Re: cleanup of temporary files - a newbie questuon

Post by ineuw »

Thanks for the advice. I will remove it.
Desktop: Linux Mint Cinnamon 21.3 English Edge - Desktop: Linux Mint Cinnamon 21.3 French
Laptop: Linux Mint Cinnamon 21.3 English - as of 24-04-15
Locked

Return to “Beginner Questions”