/bleachbit

A (almost) cross-platform system cleaner

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

BleachBit

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

Running from source

To run BleachBit without installation, get the soure code 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

Read more about running from source.

About this wxPython port

I made this port in order to make this work on macOS as well and help Windows users have a real system look without using any GTK theme (since it's not GTK on Windows anymore, it's Win32 with default build settings).

I'm pretty alone here... This is a HUGE big project!

What I have done (inside and outside bleachbit/):

  • Patched system-dependent modules to not use GTK code if any
  • Ported dialogs (Make chaff, About, System infomation) to wxPython
  • Ported main window & GUI entrypoint to wxPython (not completed)
  • Ported all universal GUI functions to use wxPython and cross-platform solutions
  • Kept all strings for translation
  • Removed Windows theme for GTK as not needed anymore

What I have not done:

  • All packaging-related stuffs (so MUCH FILES)
  • Fully port Preferences (completed) and main window
  • Add macOS search paths
  • Update tests (they're a bunch of files)

For macOS search paths for the cleaner, I suggest you ask in forums, or look at programs such as iCleaner (for jailbroken device). Create a fork or message me about what did you find!

FAQ

Q: ETA?

A: It's in /dev/null (no ETA) for now. Especially that I'm going to have a lot of things else to do this summer. New: now I give up, no time for this anymore:(

Q: Is resolving packaging files (e.g bleachbit.spec) so hard?

A: Yes. Look at bleachbit.spec and NSIS files for windows. It's a huge mess.

Q: Why making this?

A: To make it work on macOS, natively using macOS UI toolkit (wxPython - Python wrapper of wxWidgets, which will do this), using macOS paths. GTK is not made for both Windows and macOS anyways.

Links

Localization

Read translation documentation or translate now in Weblate, a web-based translation platform.

Translation status

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