[SOLVED] BleachBit

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
mint_aero
Level 2
Level 2
Posts: 67
Joined: Mon Mar 21, 2022 1:15 pm

[SOLVED] BleachBit

Post by mint_aero »

Why does it delete stuff from 'recent documents list' when I haven't opened any documents/files?

Thanks
Last edited by LockBot on Mon May 22, 2023 10:00 pm, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
deepakdeshp
Level 20
Level 20
Posts: 12336
Joined: Sun Aug 09, 2015 10:00 am

Re: BleachBit

Post by deepakdeshp »

It's a system wrecking program. You shouldn't use it.
If I have helped you solve a problem, please add [SOLVED] to your first post title, it helps other users looking for help.
Regards,
Deepak

Mint 21.1 Cinnamon 64 bit with AMD A6 / 8GB
Mint 21.1 Cinnamon AMD Ryzen3500U/8gb
sleeper12
Level 21
Level 21
Posts: 14558
Joined: Thu May 25, 2017 3:22 pm

Re: BleachBit

Post by sleeper12 »

exploder
Level 15
Level 15
Posts: 5623
Joined: Tue Feb 13, 2007 10:50 am
Location: HartfordCity, Indiana USA

Re: BleachBit

Post by exploder »

Stacer has a built in cleaning utility that is safer to use. It's in the default repos.
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: BleachBit

Post by t42 »

BleachBit is one of the most useful Linux programs which I'm using more then ten years without any issues whatsoever. It has clear description about every operation available. You just need to understand what you are doing, that's all.
-=t42=-
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: BleachBit

Post by Moem »

t42 wrote: Tue Nov 22, 2022 6:13 am BleachBit is one of the most useful Linux programs which I'm using more then ten years without any issues whatsoever.
Great. Then you are in the perfect position to answer the OP's question, I should think.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
ajgreeny
Level 7
Level 7
Posts: 1656
Joined: Mon Nov 19, 2007 3:27 pm

Re: BleachBit

Post by ajgreeny »

Tell us in much more detail why and how it is useful!

I suspect you may still be thinking in Windows terms where simply using the OS creates a lot of cruft that possibly needs cleaning out.
Linux Mint does not do that so bleachbit is in my opinion, just like many others here,totally unnecessary, and if you are not fully conversent with its use, far too easy to use wrongly and remove things best left alone.
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: BleachBit

Post by t42 »

mint_aero wrote: Tue Nov 22, 2022 1:00 am Why does it delete stuff from 'recent documents list' when I haven't opened any documents/files?
It deletes a list itself, which may be empty or not. It is a file located at ~/.local/share/recently-used.xbel
- may open that file in a text editor to see the list.
- you can uncheck the option Recent documents list: Delete the list of recently used documents if you consider the operation as unnecessary.
-=t42=-
User avatar
Termy
Level 12
Level 12
Posts: 4248
Joined: Mon Sep 04, 2017 8:49 pm
Location: UK
Contact:

Re: BleachBit

Post by Termy »

ajgreeny wrote: Tue Nov 22, 2022 6:58 am Tell us in much more detail why and how it is useful!
I'd guess the OP would rather this thread lead to an answer to his or her question, than another debate as to whether BleachBit is useful or not. It could make for an interesting separate thread though.

That being said, it's worth remembering that many tools can be destructive in the wrong hands, and that also goes for outside of IT. A tool having the capability to be destructive does not mean it's only ever destructive. There are some obvious real-world examples of this, but I'd probably be pushing the board rules to their limits bringing them up. I think the dd(1) program is a perfect example in Linux, though. Suffice it to say, it's likely not a black and white affair.
I'm also Terminalforlife on GitHub.
User avatar
Moem
Level 22
Level 22
Posts: 16229
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: BleachBit

Post by Moem »

Termy wrote: Tue Nov 22, 2022 7:31 am I'd guess the OP would rather this thread lead to an answer to his or her question, than another debate as to whether BleachBit is useful or not.
Mod note:
Exactly.
Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!
mikeflan
Level 17
Level 17
Posts: 7106
Joined: Sun Apr 26, 2020 9:28 am
Location: Houston, TX

Re: BleachBit

Post by mikeflan »

mint_aero wrote: Tue Nov 22, 2022 1:00 am Why does it delete stuff from 'recent documents list' when I haven't opened any documents/files?

Thanks
Why do you use BB? Is your OS shoehorned into a tight place and you need room freed up?
User avatar
Pjotr
Level 24
Level 24
Posts: 20090
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: BleachBit

Post by Pjotr »

Moem wrote: Tue Nov 22, 2022 8:05 am
Termy wrote: Tue Nov 22, 2022 7:31 am I'd guess the OP would rather this thread lead to an answer to his or her question, than another debate as to whether BleachBit is useful or not.
Mod note:
Exactly.
I don't agree. For two reasons.

First of all, this is a public forum, so the answers are being read by more people than just the participators in the thread. Warnings against software wrecking balls like BleachBit might not please the OP, but future readers can perhaps be steered away from this dangerous path.

Secondly, I consider helping people to be more than just strictly answering the question that was posed. Occasionally I like to look beyond that, to the underlying problem. Which in this case, can probably be solved in a better way than by using this horrible file destroyer. So I'm interested in the answers to the questions that mikeflan has asked.
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
mint_aero
Level 2
Level 2
Posts: 67
Joined: Mon Mar 21, 2022 1:15 pm

Re: BleachBit

Post by mint_aero »

Thanks for all the replies.

I use it because I like to think my laptop is running as optimally as possible, without clutter.

I don't run it "as root" so it often prevents a lot of operations, presumably to protect the system. Plus I click cancel if a warning comes up. I haven't had any issues with it so far, but I'll look into Stacer as an alternative.

Cheers
User avatar
majpooper
Level 8
Level 8
Posts: 2084
Joined: Thu May 09, 2013 1:56 pm
Location: North Carolina, USA

Re: BleachBit

Post by majpooper »

I'll add my two cents.
First I agree with Pjotr that sometimes the question has a underlying issue - such as maybe keeping linux cleaned of crud. And second, BB can be a wrecking ball especially if you don't understand what you are doing or how it actually works.

Also I would like to add my experience. I tested BB many moons ago and found it really did not clean out all that much - a few mb - nothing significant. I do not do any "cleaning" of mine or my wife's or any other linux system that I have installed and support with no adverse results. The only thing I have ever run into, several years ago, was too many old kernels but the update manager now handles maintaining that situation quite nicely. This idea of needing a "cleaner" is definitely a Windows concept like needing an AV - ideas that should be left behind when coming to linux.
cliffcoggin
Level 8
Level 8
Posts: 2297
Joined: Sat Sep 17, 2016 6:40 pm
Location: England

Re: BleachBit

Post by cliffcoggin »

t42 wrote: Tue Nov 22, 2022 6:13 am You just need to understand what you are doing, that's all.
So true, but then that applies to all software, whether its good or bad. The point at issue then is whether we understand the software we use. In my case I don't have clue so I rely on its reputation in deciding whether to install or not.
Cliff Coggin
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: BleachBit

Post by t42 »

Just for information. I run BleachBit this morning on this system, Debian Testing, installed month ago. It is its 1st run, so recovered space is bigger then usual.

Code: Select all

Bleachbit user:
Disk space recovered: 54.9MB
Files deleted: 1497

Bleachbit root:
Disk space recovered: 3.21GB
Files deleted: 64654
I know exactly what was deleted, there is a full list and it took only 2 minutes.
It speeds up subsequent upgrade process and backup, system backup image is smaller.

On this forum I remember only one issue with BleachBit about two years ago. The real problem is another application, it's Grub Customizer.
-=t42=-
motoryzen
Level 10
Level 10
Posts: 3474
Joined: Sun Dec 08, 2019 12:25 am

Re: BleachBit

Post by motoryzen »

I consider helping people to be more than just strictly answering the question that was posed. Occasionally I like to look beyond that, to the underlying problem. Which in this case, can probably be solved in a better way than by using this horrible file destroyer. So I'm interested in the answers to the questions that mikeflan has asked.
That's very reasonable Pjotr. I concur.
Mint 21.2 Cinnamon 5.8.4
asrock x570 taichi ...bios p5.00
ryzen 5900x
128GB Kingston Fury @ 3600mhz
Corsair mp600 pro xt NVME ssd 4TB
three 4TB ssds
dual 1TB ssds
Two 16TB Toshiba hdd's
24GB amd 7900xtx vid card
Viewsonic Elite UHD 32" 144hz monitor
User avatar
Pjotr
Level 24
Level 24
Posts: 20090
Joined: Mon Mar 07, 2011 10:18 am
Location: The Netherlands (Holland) 🇳🇱
Contact:

Re: BleachBit

Post by Pjotr »

mint_aero wrote: Tue Nov 22, 2022 4:35 pm I use it because I like to think my laptop is running as optimally as possible, without clutter.
You can clean safely without the help of wrecking balls, like this:
https://easylinuxtipsproject.blogspot.c ... -mint.html
Tip: 10 things to do after installing Linux Mint 21.3 Virginia
Keep your Linux Mint healthy: Avoid these 10 fatal mistakes
Twitter: twitter.com/easylinuxtips
All in all, horse sense simply makes sense.
User avatar
MiZoG
Level 8
Level 8
Posts: 2352
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: BleachBit

Post by MiZoG »

You do not need "cleaning" on Linux the way you supposedly need it on Windows. This is my experience too.
But sometimes you may want to delete a glitchy thumbnail cache, histories of recently accessed files that clutter your menus and so on.
You can do it manually, in a terminal, running a script, a cron-job, whatever but third-party apps with a gui can come handy.
Never had any problem with Bleachbit (Stacer is totally abandoned since 2019). I guess I know what I'm doing.
Bleachbit in user mode cannot wreck your system. Even in "administrator mode" I cannot find anything that could seriously compromise a Linux system. Cleaning "Localizations" perhaps if mishandled but if Bleachbit simply removes unused localizations as it should then it is OK.
Yet if I had carelessly checked all boxes, I would have ended up with deleted bash history for instance. Bash history is a valuable feature to me.
I would never have wanted to let any third party app, Bleachbit in this case, touch my Thunderbird address book, database, stored credentials no matter what. It would have been disastrous for me as a user even if it had not literally broken my system.
Last edited by MiZoG on Wed Nov 23, 2022 3:43 pm, edited 2 times in total.
t42
Level 11
Level 11
Posts: 3732
Joined: Mon Jan 20, 2014 6:48 pm

Re: BleachBit

Post by t42 »

Just to add to the above a short BleachBit safety guide:
First: go to Preferences and carefully check that en English and your other localization languages if any are checked.
Apt:
after cleaning do refresh in the Update manger or Synaptic before proceed
Bash
uncheck:
History
System
uncheck:
Clipboard
Custom
Free disk space
Memory
Brave browser
uncheck:
Cookies
History
Passwords
Search Engines
Site preferences
Sync
Firefox
uncheck:
Cookies
Form history
Passwords
Site preferences
URL history
Pale Moon
uncheck:
Cookies
Form history
Passwords
Site preferences
URL history
Other browsers and email apps
see above.

Anyway BleachBit may help with anti-forensic measures. To anonymize your system check Cookies, Form history, Passwords, Site preferences, URL history, Sync, Clipboard, Free disk space, Memory.
-=t42=-
Locked

Return to “Software & Applications”