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

Comments
  • 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 priority:high gui 
    opened by notonymous 46
  • BleachBit v4.4.0 display unreadble text after installed on win7(64bit), Simplified Chinese os

    BleachBit v4.4.0 display unreadble text after installed on win7(64bit), Simplified Chinese os

    Describe the bug The newest BleachBit v4.4.0 display unreadble text when I installed it on win7(64bit), Simplified Chinese operating system. Please see the screenshots below. I like this tools and expect this could be resolved, thank you.

    To Reproduce

    1. install the Bleachbit new version v4.40
    2. It prompt old version BleachBit already exist, and follow the instructions to unstall the old one(v4.0.0)
    3. continue to install BleachBit v4.4.0
    4. run the BleachBit by click from the start menu on win7 64bit, Simplified Chinese operating system.
    5. It display unreadble text srceen after the window opened.

    The error happens (sometimes/every time).

    Expected behavior Tt should display nornal Simplified Chinese screen just like the install process.

    Screenshots bleachbit bug1

    Desktop (please complete the following information):

    • OS: win7 bit64
    • BleachBit version 4.4.0

    Additional context System info displayed by BleachBit is list below by texts: BleachBit version 4.4.0 Build number 1929 GTK version 3.18.9 GTK theme = Adwaita GTK icon theme = Adwaita GTK prefer dark theme = True SQLite version 3.35.0 local_cleaners_dir = None locale_dir = C:\Program Files (x86)\BleachBit\share\locale
    options_dir = C:\Users\rs\AppData\Roaming\BleachBit personal_cleaners_dir = C:\Users\rs\AppData\Roaming\BleachBit\cleaners system_cleaners_dir = C:\Program Files (x86)\BleachBit\share\cleaners
    locale.getdefaultlocale = ('zh_CN', 'cp936') os.getenv('APPDATA') = C:\Users\rs\AppData\Roaming os.getenv('cd') = C:\Program Files (x86)\BleachBit os.getenv('LocalAppData') = C:\Users\rs\AppData\Local os.getenv('LocalAppDataLow') = C:\Users\rs\AppData\LocalLow os.getenv('Music') = C:\Users\rs\Music os.getenv('USERPROFILE') = C:\Users\rs os.getenv('ProgramFiles') = C:\Program Files (x86) os.getenv('ProgramW6432') = C:\Program Files os.getenv('TMP') = C:\Users\rs\AppData\Local\Temp os.path.expanduser('~') = C:\Users\rs platform.win32_ver1 = 6.1.7601 platform.platform = Windows-7-6.1.7601-SP1 platform.version = 6.1.7601 sys.argv = ['C:\Program Files (x86)\BleachBit\bleachbit.exe'] sys.executable = C:\Program Files (x86)\BleachBit\bleachbit.exe sys.version = 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)] win32com.shell.shell.IsUserAnAdmin() = False file = C:\Program Files (x86)\BleachBit\library.zip\bleachbit\SystemInformation.pyo

    priority:high gui bug: regression 
    opened by huastone2018 42
  • 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 DerekTurtleRoe 37
  • 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
  • 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
  • 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
  • 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
  • sudo bleachbit takes a long time to start on Fedora 35

    sudo bleachbit takes a long time to start on Fedora 35

    https://user-images.githubusercontent.com/63902683/140805646-05046b48-b086-401b-8d0f-7c5dae3cfd5b.mp4

    After upgrading to Fedora 35, the command "sudo bleachbit" takes a long time to execute and sometimes leading to system freeze.

    I have been experiencing the problem ever since I upgraded my system to Fedora 35.

    • OS: Fedora 35
    • BleachBit version: 4.4.0
    new platform: linux 
    opened by Biplab-Dutta 25
  • Internet Explorer not cleaned with non-English folder name

    Internet Explorer not cleaned with non-English folder name

    BleachBit - Unable to Delete Internet Temporary Files IE8 in Windows XP

    After cleaning Internet Temporary Files IE8 in Windows XP the directories and desktop.ini files are not deleted.

    ex. C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\2IW1KED4\desktop.ini C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\LS10OW75\desktop.ini

    C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\desktop.ini C:\Documents and Settings\username\Local Settings\Temporary Internet Files\Content.IE5\index.dat

    The error occurs in the BleachBit version 2.0 and 2.1 Beta

    Help

    bug 
    opened by PiotrMP006 25
  • AttributeError when shredding files from clipboard

    AttributeError when shredding files from clipboard

    To reproduce

    1. In Windows Explorer, copy files to clipboard
    2. In BleachBit application, press CTRL+V

    Or

    1. In Windows Explorer, copy files to clipboard
    2. In BleachBit application, click application menu
    3. Click Shred Paths from Clipboard

    What happens

    Error is printed to console, but no files are previewed or deleted.

    Traceback (most recent call last):
      File "bleachbit\GUI.pyc", line 241, in cb_clipboard_uri_received
    AttributeError: 'NoneType' object has no attribute 'get_uris'
    

    System

    • Build 2310 (new Python 3.10 and GTK 2.24)
    • Windows 10
    modernization gui 
    opened by az0 0
  • "Make chaff" closes the application

    To reproduce

    1. Open application (either with admin permissions or not)
    2. Click the application menu
    3. Choose the Make Chaff option

    What happens

    • Application immediately closes
    • No error message in GUI
    • Nothing printed to console (bleachbit_console.exe)

    System

    • Build 2310 (new Python 3.10)
    • Windows 10
    modernization gui 
    opened by az0 0
  • remove some fontconfig files/code

    remove some fontconfig files/code

    In build 2310 (new Python 3.10), application no longer requires:

    • %localappdata%\fontconfig directory
    • fc-cache.exe
    • etc\fonts directory

    The file fontconfig-1.dll is still needed.

    So remove fontconfig from

    • [ ] bleachbit.nsi
    • [ ] setup_py2exe.py
    • [ ] GUI.py
    • [ ] Windows.py
    • [ ] _init.py (FONTCONFIG_FILE environment variable)
    modernization 
    opened by az0 0
  • Windows 10 theme broken with GTK 2.24 update

    Windows 10 theme broken with GTK 2.24 update

    When enabling the theme in the preferences, the console is filled with pages of messages like this

    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.734: Theme parsing error: gtk-widgets.css:1:61: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.748: Theme parsing error: gtk-widgets.css:1:95: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.760: Theme parsing error: gtk-widgets.css:1:123: The style property GtkButton:default-border is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.772: Theme parsing error: gtk-widgets.css:1:150: The style property GtkButton:image-spacing is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.784: Theme parsing error: gtk-widgets.css:1:176: The style property GtkButton:inner-border is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.798: Theme parsing error: gtk-widgets.css:1:204: The style property GtkWidget:interior-focus is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    (bleachbit_console.exe:7396): Gtk-WARNING **: 15:42:19.810: Theme parsing error: gtk-widgets.css:1:240: The style property GtkButtonBox:child-min-height is deprecated and shouldn't be used anymore. It will be removed in a future version
    
    

    A while ago, Max noted the Windows 10 theme was broken, so this is not news. This is just to track the issue. The theme will either be replaced (fixed) or removed.

    modernization 
    opened by az0 0
  • DynamicImporter.find_spec() not found; falling back to find_module()

    DynamicImporter.find_spec() not found; falling back to find_module()

    This error was seen when cleaning with build number 2310 (Python 3.10) on Windows 10. It happened during the first clean for each application session. (In other words, it did not happen until restarting the application and cleaning again.)

    Delete 942B C:\Users\username\AppData\Roaming\Mozilla\Firefox\Profiles\abc123.default-release\bookmarkbackups\bookmarks-2023-01-01_11_JYVVFSGkZAAD2OYbxWK0yQ==.jsonlz4
    DynamicImporter.find_spec() not found; falling back to find_module()
    
    Disk space recovered: 942B
    Files deleted: 1
    
    modernization 
    opened by az0 0
  • [Feature Request] Smart Cleaning for Browsers

    [Feature Request] Smart Cleaning for Browsers

    Now, I am using CCleaner by two reasons: smart cleaning for browsers and cleaning schedule.

    I think it will be useful if this app also has those features.

    new 
    opened by gracie95 7
Releases(v4.4.2)
Easily update resume to naukri with one click

NAUKRI RESUME AUTO UPDATER I am using poetry for dependencies. you can check or change in data.txt file for username and password Resume file must be

Rahul.p 1 May 02, 2022
A discord bot providing notifications of player activity on a minecraft server.

tos-alert A discord bot providing notifications of player activity on a minecraft server. Setup By default the app does not launch and will crash with

1 Jul 22, 2022
Discord Token Nuker With Python

Discord token nuker a.k.a A$$Fvcker Setup For installing the requirements do this: pip install -r requirements.txt To start the Token nuker run this

PR3C14D0 8 Sep 22, 2022
Work with the AWS IP address ranges in native Python.

Amazon Web Services (AWS) publishes its current IP address ranges in JSON format. Python v3 provides an ipaddress module in the standard library that allows you to create, manipulate, and perform ope

AWS Samples 9 Aug 25, 2022
Minimal API for the COVID Booking System of the Offices at the UniPD Math Dep

Simple and easy to use python BOT for the COVID registration booking system of the math department @ unipd (torre archimede). This API creates an interface with the official website, with more useful

Guglielmo Camporese 4 Dec 24, 2021
Versatile async-friendly library to retry failed operations with configurable backoff strategies

riprova riprova (meaning retry in Italian) is a small, general-purpose and versatile Python library that provides retry mechanisms with multiple backo

Tom 108 Apr 27, 2022
A management system designed for the employees of MIRAS (Art Gallery). It is used to sell/cancel tickets, book/cancel events and keeps track of all upcoming events.

Art-Galleria-Management-System Its a management system designed for the employees of MIRAS (Art Gallery). Backend : Python Frontend : Django Database

Areesha Tahir 8 Nov 30, 2022
An Auto-Grinding bot made for Pokemeow. Efficient but not many features yet

PokeGrinder 🤖 This is an Auto-Grinding bot made for Pokemeow. Efficient but not many features yet. Supported features This bot can currently handle :

Xombie 9 Feb 01, 2022
An open source raffle bot made to increase the chance of winning limited sneaker raffles by automating entries.

🚀 SyneziaRaffles An open source raffle bot made to increase the chance of winning limited sneaker raffles by automating entries. 🏄‍♂️ Quick Start Pr

Alexis M. 29 Dec 22, 2022
A simple versatile telgeram bot written in Python using pyTelegramBotAPI library.

A simple versatile telgeram bot written in Python using pyTelegramBotAPI library.

Benyamin Zojaji 15 Jun 17, 2022
Python API for Photoshop.

Python API for Photoshop. The example above was created with Photoshop Python API.

Hal 372 Jan 02, 2023
=>|<= the MsgRoom bot for Windows 96

=|= bot A MsgRoom bot in Python 3 for Windows96.net. The bot joins as =|=, if parameter name_lasts is not true and default_name is =|=. The full

Larry Holst 2 Jun 07, 2022
Seth Userbot with python

SETH-USERBOT DEPLOY TO HEROKU Group Support: String Session : Stay Support 🚀 ❁ LonamiWebs and Telethon © Credits ⚡ THANK YOU VERY MUCH FOR zeinzo Zei

seth 4 Jan 10, 2022
Token Manager written in Python

Discord-API-Token-Entrance Description This is a Token Manager that allows your token to enter your discord server, written in python. Packages Requir

Tootle 1 Apr 15, 2022
just a program i made cuz a friend got tokenlogged and spammed me with these scam/phishing links so i made a programm to spam these websides with fake logins

scam-webside-spammer just a program i made cuz a friend got tokenlogged and spammed me with these scam/phishing links so i made a programm to spam the

TerrificTable 3 Sep 23, 2022
微信支付接口V3版python库

wechatpayv3 介绍 微信支付接口V3版python库。 适用对象 wechatpayv3支持微信支付直连商户,接口说明详见 官网。 特性 平台证书自动更新,无需开发者关注平台证书有效性,无需手动下载更新; 支持本地缓存平台证书,初始化时指定平台证书保存目录即可。 适配进度 微信支付V3版A

chen gang 258 Jan 06, 2023
A Python wrapper for Discord RPC API

Discord RPC An Python wrapper for Discord RPC API. Allow you to make own custom RPC Install PyPI pip install discord-rpc Quick example import Discord

LyQuid :3 10 Dec 29, 2022
BiliBili-live-barrage-transceiver - A simple python program for sending and receiving barrage in bilibili live room

BiliBili-live-barrage-transceiver - A simple python program for sending and receiving barrage in bilibili live room

zeroy 2 Jan 18, 2022
A Python script for rendering glTF files with V-Ray App SDK

V-Ray glTF viewer Overview The V-Ray glTF viewer is a set of Python scripts for the V-Ray App SDK that allow the parsing and rendering of glTF (.gltf

Chaos 24 Dec 05, 2022
Requests based multi-threaded script for increasing followers on Spotify

Proxyless Spotify Follow Bot Requests based multi-threaded script for increasing followers on Spotify. Click here to report bugs. Usage Download ZIP h

397 Jan 03, 2023