BleachBit system cleaner for Windows and Linux

Overview

BleachBit

BleachBit cleans files to free disk space and to maintain privacy.

Running from source

To run BleachBit without installation, unpack the tarball and then run these commands:

make -C po local # build translations
python3 bleachbit.py

Then, review the preferences.

Then, select some options, and click Preview. Review the files, toggle options accordingly, and click Delete.

For information regarding the command line interface, run:

 python3 bleachbit.py --help

Links

Licenses

BleachBit itself, including source code and cleaner definitions, is licensed under the GNU General Public License version 3, or at your option, any later version.

markovify is licensed under the MIT License.

Development

Issues
  • Application window stays minimized with dual monitors, Windows 10, BleachBit 3

    Application window stays minimized with dual monitors, Windows 10, BleachBit 3

    On Win10, BB 3.0 will sometimes stay minimised in the task bar and cannot be restored to a normal window. (a) Sometimes this happens if I close BB when the window is open on one monitor and then open BB later in a different multi-monitor configuration. (b) Sometimes this happens when I maximise the BB window on a monitor that is not the primary monitor and then minimise the window; I can't restore the window and have to kill the process.

    I have reverted to BB 2.2

    Microsoft Windows 10 Enterprise Version 10.0.17134 Build 17134

    bug gui priority:high 
    opened by notonymous 46
  • Freeze with preview or cleaning of Steam games (via Winapp2.ini)

    Freeze with preview or cleaning of Steam games (via Winapp2.ini)

    This issue occurs on a Windows 10 laptop running BleachBit 1.12. This has been happening for awhile, but I thought it was an issue with the Winapp2.ini so I didn't report it. Then I realized it shouldn't matter what's in the file, it still shouldn't crash, heh.

    It should be noted I can't duplicate this on systems without Steam, Origin, etc. So it has to be an issue with deleting things that are there because if they aren't there it runs fine.

    I can run all of the other options in BleachBit, but if I choose any of the options within the games category, the crash happens the second the games category starts cleaning.

    The only thing I can do to clean my system is uncheck the games category.

    I'm not really sure what other information I can give, so if you need anything else please let me know. I have included the log file here.

    bleachbit.exe.log

    UPDATE: This issue occurs on Windows 10 regardless of version, and occurs on BleachBit 1.12 and the latest commit built from GitHub.

    The issue is with the "Steam Games", "Steam Installers", and "Steam Logs" entries.

    Those entries contain these values:

    [Steam Games*] Section=Games Detect=HKCU\Software\Valve\Steam Default=False FileKey1=%ProgramFiles%\Steam\steamapps|.mdmp;.tmp;.dmp;.icns;.DS_Store;logfile.;.log;text.txt;output_log.txt;log.txt;log.txt|RECURSE FileKey2=%ProgramFiles%\Steam\steamapps\common*\Cache|.|RECURSE FileKey3=%ProgramFiles%\Steam\steamapps\common*\config\html|.|RECURSE FileKey4=%ProgramFiles%\Steam\steamapps\common*\DebugData|.|RECURSE FileKey5=%ProgramFiles%\Steam\steamapps\common*\docs|.|RECURSE FileKey6=%ProgramFiles%\Steam\steamapps\common**\downloads|.|RECURSE FileKey7=%ProgramFiles%\Steam\steamapps\common*\EULA|.|RECURSE FileKey8=%ProgramFiles%\Steam\steamapps\common*\Manual|.|RECURSE FileKey9=%ProgramFiles%\Steam\Steamapps\temp|.|RECURSE ExcludeKey1=PATH|%ProgramFiles%\Steam\steamapps\common\Supreme Ruler 1936\Cache|. ExcludeKey2=PATH|%ProgramFiles%\Steam\steamapps\common\Supreme Ruler Cold War\Cache|. ExcludeKey3=PATH|%ProgramFiles%\Steam\steamapps\common\Supreme Ruler Ultimate\Cache|.

    [Steam Installers*] Section=Games Detect=HKCU\Software\Valve\Steam Warning=Run this entry AFTER you have launched all of your steam games once, as they will not be able to load for the first time. After the first launch, these files become useless. Default=False FileKey1=%ProgramFiles%\Steam\Steamapps\common|redist.msi;dosbox*.tar.gz;redist.exe;setup.msi;pbsvc.exe;UPlayInstaller*.exe;WMFADist.exe;SPInstaller.exe;python*.msi;bitmap2substance_installer.exe;perforce*.exe;p4vinst*.exe;mcpp*.;firewallinstallhelper.dll;gameuxinstallhelper.dll;eadm-installer.exe;wmpappcompat.exe;umdf.exe;Microsoft .NET Framework.cmd;Microsoft .NET Framework*.bat;NDP*.exe;WMFDist*.exe;PhysX*.msi;PhysX*.exe;d3dx11.cat;d3dx11.inf;prompt.bat;GDFInstall.exe;DSInstaller.exe;d3d*.exe;directx*.exe;.msu;Windows-KB*.exe;cmp.bat;PVRTexTool.exe;wmp11-windowsxp-x86-enu.exe;.vdk;RGB9RAST.msi;WIC*.exe;XPSEPC*.exe;msxml6.msi;AdbeRdr*.;inst.vdf;.cab;.msp;ac3filter.exe;GamesExplorerIntegrationTool.exe;install.ini;globdata.ini;install.exe;install.res..dll;eula..;DSETUP.DLL;oalinst.exe;dsetup32.dll;D3DInstall.exe;D3DInstall.dll;dotnetfx*.exe;vcred*.exe;vcred.msi;WindowsInstaller*.exe;locdata..ini;setupres..dll;setup.exe;wapres..dll;NetFx.|RECURSE

    [Steam Logs*] Section=Games Detect=HKCU\Software\Valve\Steam Default=False FileKey1=%AppData%\SteamVR\Logs|.|REMOVESELF FileKey2=%ProgramFiles%\Steam|.log;log.last;connection_log_.txt;log.txt;remote_connections.txt;vr*.txt|RECURSE FileKey3=%ProgramFiles%\Steam\logs|.* FileKey4=%ProgramFiles%\Steam\vr\runtime\logs|.|RECURSE FileKey5=%LocalAppData%\VirtualStore\Program Files*\Steam|.log;log.last;connection_log_.txt;log.txt;remote_connections.txt;vr**.txt|RECURSE

    enhancement::performance 
    opened by vgturtle127 37
  • Python 3 compatibility

    Python 3 compatibility

    • [X] print statements
    • [x] old-style exceptions
    • [X] unicode vs. bytes-fun (other branch)
    • [X] misc changes
    • [X] actually running it
    opened by tstenner 33
  • Py3-Tracker

    Py3-Tracker

    Todo-tracker for supporting both Python 2 and 3:

    • [X] print statements (PR #153)
    • [x] require six
    • [x] absolute imports
    • [ ] unicode / str-split (types for unit tests)
    • [x] merge GTK 3 port (PyGTK isn't available for Python 2)
    modernization 
    opened by tstenner 31
  • Improve unit tests

    Improve unit tests

    For an eventual py3-transition we need better unit test coverage.

    What's planned / done:

    • [X] Introduce a custom base class with better tempfile handling and asserts
    • [ ] Convert asserts / tempfile creation to use the class
    • [x] Convert asserts from self.assert_ to more meaningful asserts (especially self.assert_(isinstance(...))
    • [ ] test for unicode / bytes explicitly
    opened by tstenner 31
  • Some cleaner take long to

    Some cleaner take long to "load" at start, when option "only needed" is checked ("Vuze Case")

    Some cleaner take long to "load" at start, when option "only needed" is checked ("Vuze Case") My English... :-D

    OK, I have now the "Vuze Case" also on BiglyBT and on my Windows Cleaner...

    Is it really sure, that the check stops, after the first file, the cleaner finds ???

    Can you display a bit more what the cleaner do in console for debugging ???

    Whats about the case, I cleaned e.g. Vuze immediately before, then the cleaner can't find anything and have to run to the end, right?

    Is maybe a < Detect >-Rule a solution for such scanners that have to scan a big amount of files ???

    enhancement::performance 
    opened by Tobias-B-Besemer 30
  • Bring Maël Lavault's GTK3 port up to date

    Bring Maël Lavault's GTK3 port up to date

    To do:

    • [x] launching from CLI
    • [x] shredding files via drag & drop
    • [x] keep the windows installer small
    • [x] test everything
    opened by tstenner 29
  • bleachbit.exe (BleachBit-3.1.0.1507-portable.zip) false positive with ratio 29/70

    bleachbit.exe (BleachBit-3.1.0.1507-portable.zip) false positive with ratio 29/70

    Starting from BleachBit-3.1.0.1496-portable https://www.virustotal.com/gui/file/821f953c72ebfabaa4247caf7c0aa86cb90cd96b2df8e915910605326cbf04a2/detection

    false positive 
    opened by ediowar 29
  • Bleachbit 4 doesn't start in Windows 10 (slow start without feedback to user)

    Bleachbit 4 doesn't start in Windows 10 (slow start without feedback to user)

    I recently tested Bleachbit 4 in Windows 10, but it didn't start at all. I believe I had the latest version; I installed it within the past 48 hours, unless you've updated Bleachbit within that time frame. In case it becomes important, I was running Windows 10 version 1909.

    I do see a bleachbit.exe process in Task Manager, but no Bleachbit window opens. Running bleachbit_console.exe just opens a blank black window that does nothing. Bleachbit 2.0 ran just fine on the same installation of Windows, but I'd rather not have to go back to that.

    priority:high 
    opened by gitthepie 28
  • Mac OSx  Support - Enhancement

    Mac OSx Support - Enhancement

    Love to see Mac OSX Support.

    i started working on it but love to see more people helping me with the effort , i am beginner python coder so it might be over ambitious project.

    opened by brahmastra2016 26
  • BleachBit-4.3.0-portable.zip has two false positives

    BleachBit-4.3.0-portable.zip has two false positives

    https://www.virustotal.com/gui/file/7e93a63b919a6b121576ee3168b71356824eed46fa7238371d49b44489e8e125/detection

    Cylance: Unsafe MaxSecure: Trojan.Malware.300983.susgen

    false positive 
    opened by az0 0
  • Integrate openSUSE Build Service with GitHub

    Integrate openSUSE Build Service with GitHub

    https://openbuildservice.org/2021/05/31/scm-integration/

    opened by az0 0
  • A minor issue: Dark mode preference is not working

    A minor issue: Dark mode preference is not working

    Describe the bug Bleachbit is set to dark theme but remains light. The error happens every time.

    Expected behavior To be the same shade as the theme

    Desktop:

    • OS: Linux Mint Cinnamon 20.1
    • BleachBit version 4.2.0
    new 
    opened by ineuw 3
  • Shred with Bleachbit doesn't work when the application is installed only for the current user

    Shred with Bleachbit doesn't work when the application is installed only for the current user

    1. Install for the current user (Windows).
    2. Try 'Shred with Bleachbit' context menu command over a file
    3. Nothing happens

    Expected behavior: the file that we execute the command on should be shredded.

    A note: The "for current user only" installation is often used without administrator privileges, so the user may not have access to write to HKCR.

    bug component:nsis 
    opened by rados 0
  • The width of the Global Menu is too long

    The width of the Global Menu is too long

    Describe the bug I've noticed the main menu of the application is quite wide in size and there should be some submenus included - it's just too wide for my top panel:

    To Reproduce Steps to reproduce the behavior:

    1. Open Bleachbit
    2. Check the Global Menu widget inside of your panel The width of all the items inside the Global Menu is just too long.

    Expected behavior Here's example of how tidy and structured is GIMP when Global Menu is shown:

    **Desktop: **

    • OS: 5.10.34-1-MANJARO KDE Plasma
    • BleachBit version: 4.2.0
    new 
    opened by madjoe 1
  • Drag & drop does not delete file in Windows system directory

    Drag & drop does not delete file in Windows system directory

    To Reproduce Steps to reproduce the behavior:

    1. Open Bleachbit app with elevated privileges (answer 'Yes' to the UAC dialog)
    2. Drag a file and drop it in the Bleachbit window
    3. Verify that nothing happens - no information in the app window and the file remains undeleted

    Expected behavior The dropped file should be deleted and the app window should display a text about the deletion.

    Desktop:

    • OS: Windows 10
    • BleachBit version 4.2.0
    bug 
    opened by rados 5
  • error in case of no fonts on Windows

    error in case of no fonts on Windows

    If the Windows fonts are unavailable (e.g., failed to copy), use win32api.MessageBox to display an error message.

    gui 
    opened by az0 0
  • Bleachbit overwrites upstream winapp2.ini

    Bleachbit overwrites upstream winapp2.ini

    Describe the bug Currently, if database updating is enabled and if winapp2.ini does not match the latest release's hash, it is overwritten. This causes an issue for users who want to use the latest upstream version of winapp2.ini but leave the database updating option enabled (in case they do not check it's repo regularly and would like the auto-updater to update in case of new version)

    To Reproduce Steps to reproduce the behavior:

    1. Enable database auto-updating
    2. Replace winapp2.ini with any edits and save
    3. Restart BleachBit
    4. winapp2.ini is overwritten by the database updater

    The error happens every time.

    Expected behavior BleachBit would not update the database if it was newer than the last release. This perhaps could be done by adding a new check which looks at the version number that is at the top of the file. This check would likely not overwrite the hash check that is currently in place, but would come before it just to see if the version number is higher than that of the latest release.

    Screenshots N/A

    Desktop (please complete the following information):

    • OS: Windows 10 Home x64
    • BleachBit version: 4.2.0

    Additional context Not necessarily a "bug" but rather an oversight.

    priority:low 
    opened by treacherousfiend 0
  • file association verb fails when user declines uac dialog

    file association verb fails when user declines uac dialog

    To Reproduce Steps to reproduce the behavior:

    1. Install BleachBit (I used build 1835)
    2. Right click on file
    3. Click "Shred with BleachBit"
    4. Decline the UAC

    File name is mangled.

    The error happens every time.

    Expected behavior Delete file without admin rights.

    Screenshots bb-decline_uac

    Desktop (please complete the following information):

    • OS: Windows 10
    • BleachBit version build 1835 (post 4.2.0)
    new 
    opened by az0 0
  • Add Cleaners for Interlink Mail Client and Chromium Browser

    Add Cleaners for Interlink Mail Client and Chromium Browser

    Interlink is a mail/news client based on Thunderbird

    https://binaryoutcast.com/projects/interlink/

    Thanks

    opened by indiuscartha 1
Releases(v4.3.0)
Ubuntu Cleaner is a tool that makes it easy to clean your ubuntu system.

Ubuntu Cleaner Introduction Ubuntu Cleaner is a tool that makes it easy to clean your Ubuntu system. Ubuntu Cleaner can free up disk space and remove

Gerard Puig 142 Jun 3, 2021
Graphical program used to map keyboard buttons and mouse controls to a gamepad. Useful for playing games with no gamepad support

antimicro ?? Important update ?? This repo is currently unmaintained. The code hasn't been updated for a while. But not all is lost, antimicro has a f

null 1.4k Jun 5, 2021
🎧 Kaku is a highly integrated music player supports different online platform like YouTube, SoundCloud, Vimeo and more. Available on Mac, Windows and Linux.

Kaku Kaku is a highly integrated music player that supports different online platforms like YouTube, SoundCloud, Vimeo and more. Available on Windows,

Chia-Lung Chen 1k Jun 2, 2021
Display and control your Android device

scrcpy (v1.17) Read in another language This application provides display and control of Android devices connected on USB (or over TCP/IP). It does no

Genymobile 49.4k Jun 4, 2021
Create multiboot live Linux on a USB disk...

Only limited instructions are provided here. For detailed instruction please refer User guide What is multibootusb? MultiBootUSB is a cross platform*

multibootusb 1.1k Jun 4, 2021
Make any web page a desktop application

Nativefier You want to make a native wrapper for WhatsApp Web (or any web page). nativefier 'web.whatsapp.com' You're done. Introduction Nativefier is

null 27.2k Jun 4, 2021
Multi-platform app that allows your devices to communicate

KDE Connect - desktop app KDE Connect is a multi-platform app that allows your devices to communicate (eg: your phone and your computer). (Some) Featu

KDE GitHub Mirror 1.1k Jun 7, 2021
Flash OS images to SD cards & USB drives, safely and easily.

Etcher Flash OS images to SD cards & USB drives, safely and easily. Etcher is a powerful OS image flasher built with web technologies to ensure flashi

balena 20.6k Jun 6, 2021
Terminal disk space navigator 🔭

diskonaut How does it work? Given a path on your hard-drive (which could also be the root path, eg. /). diskonaut scans it and indexes its metadata to

Aram Drevekenin 925 Jun 6, 2021
Popcorn Time is a multi-platform, free software BitTorrent client that includes an integrated media player ( Windows / Mac / Linux ) A Butter-Project Fork

Popcorn Time A multi-platform, free software BitTorrent client that includes an integrated media player. Visit the project's website at popcorntime.ap

Popcorn Software 6k Jun 4, 2021
GeneWeb is an open source genealogy software with a web interface created by Daniel de Rauglaudre.

GeneWeb GeneWeb is an open source genealogy software written in OCaml. It comes with a Web interface and can be used off-line or as a Web service. Doc

GeneWeb 177 Jun 4, 2021
Self-hosted VirusTotal / MetaDefender wannabe with API, demo UI and Scanners running in Docker.

MalwareMultiScan Self-hosted VirusTotal / OPSWAT MetaDefender wannabe API for scanning URLs and files by multiple antivirus solutions. IMPORTANT: vers

Volodymyr Smirnov 233 Jun 6, 2021
The Linux PowerTOP tool -- please post patches to the mailing list instead of using github pull requests

PowerTOP PowerTOP is a Linux* tool used to diagnose issues with power consumption and power management. In addition to being a diagnostic tool, PowerT

Arjan van de Ven 499 May 31, 2021