Giter Site home page Giter Site logo

bleachbit / cleanerml Goto Github PK

View Code? Open in Web Editor NEW
170.0 170.0 47.0 558 KB

System cleaners written in CleanerML used by BleachBit. Free disk space and maintain privacy.

Home Page: https://www.bleachbit.org/news/bonus-pack-moved-svn-git

License: GNU General Public License v3.0

Makefile 16.09% Batchfile 83.91%

cleanerml's Introduction

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

Read more about running from source.

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

cleanerml's People

Contributors

2mccoy7 avatar abitrolly avatar akaleeroy avatar az0 avatar biji avatar cfoellmann avatar chaython avatar cloroxguy avatar dngray avatar francoism90 avatar gsantner avatar jose1711 avatar ladadeedee avatar m-jowa1863 avatar mailaender avatar mikevainio avatar mrender0 avatar nodiscc avatar pas-calc avatar perfect7gentleman avatar r3b311i0n avatar slysven avatar theatre-x avatar tiemay avatar tobias-b-besemer avatar wgrm avatar ytrog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cleanerml's Issues

Skipped VirtualBox logs

My paths (Chakra 2014.02) for VirtuallBox logs looks like:
~/.config/VirtualBox/selectorywindow.log
~/.config/VirtualBox/selectorwindow.log.1
~/.config/VirtualBox/VBoxSVC.log
~/.config/VirtualBox/VBoxSVC.log.1
~/.config/VirtualBox/VBoxSVC.log.2
~/.config/VirtualBox/VBoxSVC.log.3
~/.config/VirtualBox/VBoxSVC.log.4
~/.config/VirtualBox/VBoxSVC.log.5
~/.config/VirtualBox/VBoxSVC.log.6
~/.config/VirtualBox/VBoxSVC.log.7
~/.config/VirtualBox/VBoxSVC.log.8
~/.config/VirtualBox/VBoxSVC.log.9
~/.config/VirtualBox/VBoxSVC.log.10

The current search pattern doesn't delete these logs:
~/.config/VirtualBox/selectorywindow.log
~/.config/VirtualBox/VBoxSVC.log

I don't know if this is on purpose or not.

Accessibility issue in Windows XP

I have had a complaint said to me about how difficult it is to read the text in the progress bar in Bleachbit in Windows XP when using that tacky, default blue/green theme. The text is white. Maybe we could highlight the text in the progress bar to make it more readable?

Firefox: Password cleaning does not give a warning

Hey all,

I never added a to the passwords option in the Firefox cleaner so users aren't being prompted due to my ignorance with Python. I don't quite know how to write that in Python. Anyone else wanna take a stab at it?

Correct/clarify 'How to use' to find personal_cleaner_dir

Currently, README.md's section "How to Use" says:

In the future automated sync may be as easy as checking one option, but for now you must manually download and copy the files to your personal cleaners directory. The easiest way to find the directory is to open BleachBit, click Help, click System Information, and look for personal_cleaner_dir.

At least in the Linux version, this instruction does not work. Clicking "Help" launches a dialogue offering to open update.bleachbit.org in a web browser.

okular.xml deletes more then intended

The recent documents option unintentionally deletes the "state" and "toolbarsmovable" parameters under the "MainWindow" section. It seems harmless as they are regenerated the next time Okular starts, but it's still weird. The native "clear list" function built into Okular only deletes the "Recent Files" section.

Please create a release

Could you please create a release or tag? :)
I would like to provide a stable package in AUR (Arch Linux).

Potentially cleanable Calibre JSON files

Here are a couple JSON files generated by Calibre which might potentially be cleanable.
~/Calibre Library/metadata_db_prefs_backup.json
~/.config/calibre/viewer.json

metadata_db_prefs_backup.json has "gui_view_history": [] which is a 2D array of the 15 most recently opened books using calibre — I had trouble getting command="json" working for this one.

viewer.json has "viewer_open_history": [] which is an array of the most recently opened books using calibre's ebook viewer (whether you opened the book from calibre itself or otherwise) — I didn't attempt cleaning this bit, it might be easy to do.

New bleachbit release including cleaners?

Hi @az0, this took some time but we now have a bunch of good cleaners in the release/ directory. Would you like to release a new bleachbit version with those cleaners added?

I see many people are not aware of this repository (eg. http://www.webupd8.org/2014/10/unity-privacy-indicator-04-released.html, see comments), and there is still no mechanism in bleachbit to add those (I just clone the repo and manually copy files, which is fine, but many people won't bother)

What do you think? It would be cool to have the well tested cleaners in Debian.

<warning>text not displaying</warning>

For me, text wraped <warning>in these</warning> wont be displayed at all.

I'm on Chakra 2014.02 "Curie" (uses KDE)
BleachBit 1.0
GTK2 theme: Raleigh
GTK3 theme: Default
GTK2 & 3 icon theme: oxygen with oxygen white as fallback
GTK2 & 3 font: DejaVu Sans Book 9

Firefox (CleanerML version)

Here's my attempt at porting the Firefox cleaner to CleanerML, with some additional directories added.

Tested on Windows 7 with Firefox Aurora 21.0a2 (2013-04-01).
There was a "thumbnails-old" folder that had almost 1GB of files on it.

Get it here.

What are the "promotion" rules for cleaner files?

I have contributed some files to this project in the past, but I am simply not sure how/where I should be contributing some future work.

For instance, I see that the cleaning rules are divided into, essentially, three pieces:

  • This project's pending directory.
  • This project's release directory.
  • Bleachbit's shipped rules.

I am running a new Firefox version (either aurora or, sometimes, even nightly) and there is a considerable amount of things that bleachbit 1.8 from Debian doesn't clean and I have to add my own personal rules.

Oh, and depending on the extensions to Firefox that you may have, you may gather a lot of garbage. But Firefox is only one of the many programs that need a face lift here.

Of course, I would like to give them back to the community (and let the community improve them while I am sleeping :)), but, really, I don't know where to send the patches!

In other words, this project (and bleachbit also) needs a CONTRIBUTING.md file. I can send an appropriate patch if I know how the project is structured.

Regards,

Rogério Brito.

Comodo IceDragon cleaner

Based on the Firefox cleaner I sent.
This browser is only for Windows.

Tested on Windows 7 with Comodo IceDragon 19.0.1.
Get it here.

ini section globs

I'm writing a cleaner for Dragon Player. In ~/.kde4/share/config/dragonplayerrc it creates a section for each file opened:

[file:///tmp/0002-0040.ogv]
brightness = \s0
contrast = \s0
date = \s05/05/2014
hue = \s0
isvideo = \strue
preferred size = \s647,262
saturation = \s0

[https://upload.wikimedia.org/wikipedia/commons/8/83/Elephants_Dream_(high_quality).ogv]
brightness = \s0
contrast = \s0
date = \s08/06/2014
hue = \s0
isvideo = \sfalse
preferred size = \s647,262
saturation = \s0

So I tried doing <action search="glob" path="~/.kde4/share/config/dragonplayerrc" command="ini" section="*://*"/> and well it didn't work, I didn't think putting glob in the search parameter would help, but I was hopefull. Is there a way to use glob in the section parameter?

easytag.xml duplicate

An easytag.xml exists both here in pending and in bleachbit/cleaners. Is this ok? Or should they be merged?

Better documentation on CleanerML syntax for cleaning XML-files

Should have a better documentation on CleanerML syntax for cleaning XML-files.

In the specific case there must be the value removed from the parameter "MediaDir".
Don't know if handle it with command="ini" is the right solution...
Think, there should be a better documentation about such cases...

Steam.xml

Hi,

I saw Steam.xml. The cleaner looks good. However I have installed Steamin D: drive. So is it possible to look for installation directory first and then perform cleaning instead of using $PROGRAMFILES ?

git for the bleachbit

hey

it would be much easier to contribute if bitbleech itself was also on github.

cleaner for DHCP leases

On Linux systems, clear the DHCP leases that are stored in /var/lib/dhcp/*.{lease,leases}.

Search function walk.all and delete not empty folders

I want to configure the constellation to delete all directories (with included files) with ending strings like (1), (2), (3), ...

My actual configuration is
<action command="delete" search="walk.all" path="C:\Tools\cloud_open\apps\" regex=" \(\d\)" />

The file structure is
C:\Tools\cloud_open\apps\FirefoxPortable...
|-------------------------\BleachBit-Portable...
|-------------------------\LibreOfficePortable...

Example directories which should be deleted:

  • C:\Tools\cloud_open\apps\FirefoxPortable\Data\Firefox\safebrowsing (1)\
  • C:\Tools\cloud_open\apps\FirefoxPortable\Data\Firefox\safebrowsing (3)\
  • C:\Tools\cloud_open\apps\LibreOfficePortable\Data\LibreOffice\user\extensions\tmp (1)\

So I want to clean the complete structure C:\Tools\cloud_open\apps and it must be walk through all directories. The files inside the directories should also be deleted, independent from the defined regex.

My problem was, that it works only, if the directories are empty. How can I change the configuration that it deletes also the included files?

Cleaner action to compress files?

I would like for it to be possible to compress files using BleachBit either using an archiver or for example NTFS compression.

So for example:

<action command="compress" search="walk.files" path="$localappdata\temp\chocolatey\" regex="\.log$"/>

Driver Leftovers.xml - Windows

A cleanerml xml to delete AMD/Nvidia and other driver installation media.

Each option will save users several hundred mb to several gigabytes in space, depending on how many drivers they have installed, and the last time they deleted the dirs.

#274

Possible improvment for the SMPlayer cleaner, but welcome?

I found a "strange" bug in SMPlayer.
I reported it now here: https://sourceforge.net/p/smplayer/bugs/937/
In short said: There are a combination of issues in SMPlayer that cascaded lock files get created, no more delete and make SMPlayer "un-usable" this way.
I would be able to improve the SMPlayer cleaner in this way, that this lock files gets deleted (it's trash) and SMPlayer will work normal, again.
My problem is the following: It's normally a bug in SMPlayer and if this issue would exist, there were no need to delete this files! So it feels a bit like "cleaning" a bug, what normally isn't the job of BB...
...on the other side it's a trash file! A job for BB! And: A bug fix will land in a future version of SMPlayer (earliest 20.04!) and then the user have to install the update and then the update hopeful fix a broken config/install... With a cleaner we would have a immediate solution to help users now, without any update of SMPlayer needed!
So the question is: If I add some lines to the cleaner to delete this trashy lock files, @az0 would you accept and check in the PR ???

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.