Adding a Bleachbit cleaner for disk space and privacy

If you have ever seen the disk usage nearly full message, you have probably been grateful for the free Bleachbit application for your computer. Whether it’s on Linux, Windows or other systems, Bleachbit is a good way to clear old cache when you get a warning about low disk space or to clear out a lot of old data for privacy. However there are many applications that don’t have a cleaning definition… yet.

Cleanable items

When you open up Bleachbit you will see a number of options on the left that you can check to clean out, or not.

This whole application is a Python+GTK+ app that you can check out and fork on Github here. You can see a number of different CleanerML files in /cleaners/ directory (and also managed in this repository). For example, you can see the Zoom cleaner xml file:

<?xml version="1.0" encoding="UTF-8"?>

    Copyright (C) 2008-2021 Andrew Ziem

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <>.

<cleaner id="zoom">
  <description>Chat client</description>
  <running type="exe" os="windows">Zoom.exe</running>
  <running type="exe" os="linux">zoom</running>
  <var name="base">
    <value os="windows">%AppData%\Zoom</value>
    <value search="glob" os="linux">~/snap/zoom-client/*/.zoom</value>
    <value os="linux">~/.zoom</value>
  <var name="doc">
    <value os="windows">%Documents%\Zoom</value>
    <value os="linux">~/Documents/Zoom</value>
  <option id="cache">
    <description>Delete the cache</description>
Zoom 5.1.422789.0705 on Ubuntu 20.04

Zoom 5.2.440215.0803 on Ubuntu 20.04
    <action command="delete" search="walk.all" path="~/snap/zoom-client/common/.cache/"/>
    <action command="delete" search="walk.all" path="$XDG_CACHE_HOME/zoom/"/>
  <option id="logs">
    <description>Delete the logs</description>
Zoom 5.1.422789.0705 on Ubuntu 20.04

Zoom 5.2.440215.0803 on Ubuntu 20.04

Zoom 5.2.0 on Windows 10
    <action command="delete" search="walk.all" path="$$base$$/logs/"/>
    <action command="delete" search="file" path="$$base$$/installer.txt"/>
Zoom 5.2.440215.0803 on Ubuntu 20.04
~/Documents/Zoom/2020-01-01 01.01.01 meeting name 123/

The second path had three files

Zoom 5.2.0 Windows 10
  <option id="recordings">
    <description>Delete the audio and video recordings</description>
    <action command="delete" search="glob" path="~/Downloads/zoom_*.mp4"/>
    <action command="delete" search="walk.all" path="$$doc$$" regex="(playback\.m3u|zoom_\d+\.mp4|audio_only\.m4a)"/>

As you can see, the sections on the left are pulled from xml here – You can see those ~/.zoom directories are directories you can clean up on a Linux machine. You may know of other applications that do not have a cleaner in the app. You can simply copy and create an app with a different id, and it will show up on that left list.

As an example, here you can see the addition of LibOSMGPSMap clearer for the map image cache that backs Darktable, RepeaterSTART and others.

Leave a Reply

Your email address will not be published. Required fields are marked *

twenty eight − twenty seven =