πŸ“ˆ GH Trending Explorer 🎲 Surprise me

← all repos

cyb3rl00m / safe-disk-cleaner

git clone https://github.com/cyb3rl00m/safe-disk-cleaner.git v1.1.1 Β· 3d ago

See where your disk space went β€” and understand what is safe to delete. GTK 4 app for Ubuntu and systemd distros.

+3
stars, 24h Β· #8,473
+65
stars, 7 days Β· #3,160
+65
stars, 30 days Β· #10,141
65
β˜… total Β· +65% this week
1
forks Β· 1 open issues

Star history (as recorded here)

2026-10-20 Β· 57 β˜… 2026-10-23 Β· 65 β˜…
LanguagePython
LicenseMIT
Created2026-10-16 (7d ago)
Last push3d ago
Watchers0
OwnerUser

Links

README excerpt
# Safe Disk Cleaner
**See where your disk space went β€” and understand what is safe to delete.**
Install Β· What it cleans Β· How it keeps your system safe Β· FAQ Β· Credits Β· Contributing
Linux quietly keeps gigabytes you'll never need: old kernels, downloaded update files, old Snap
versions, Flatpak runtimes nothing uses anymore, years of picture previews for files you deleted
long ago. Most cleaners show you a wall of checkboxes and hope you know what they mean.
**Safe Disk Cleaner explains every single item** β€” what it is, why it grew, whether deleting it is
safe, and exactly which command will run β€” and then lets *you* decide.
## Highlights
- 🧭 **Explains everything in plain language.** Every category answers four questions: *What is it?
 Why does it get so big? Is it safe to delete? What will this app do?*
- πŸ›‘οΈ **Safe by design.** Only items marked *Safe* are pre-selected. The kernel you're running and a
 fallback kernel are always kept. Nothing is deleted until you confirm.
- πŸ” **Smarter, not just wider.** It reads every picture preview and removes only those whose file no
 longer exists. Previews of USB drives that aren't plugged in are kept.
- πŸ“¦ **Made for modern Linux.** Old Snap revisions and unused Flatpak runtimes β€” often several GB on
 Ubuntu β€” are first-class categories.
- πŸ”’ **Locks apps that are running.** Firefox's cache can't be deleted while Firefox is open.
- πŸ“ **Stops the problem from coming back.** One click caps the journal size for good, or sets how
 many Snap versions are kept.
- πŸ“Š **Shows real results.** After cleaning it reports how much free space your disks actually gained.
- πŸ‘€ **Nothing hidden.** "Show the exact commands" reveals every command before it runs.
## What it cleans
| | Category | What it is | Label |
|:-:|---|---|---|
| 🐧 | **Old kernels** | Previous Linux kernels left behind by updates | Safe |
| ⬇️ | **Downloaded update files** | Package files APT / DNF / pacman / zypper kept after installing | Safe |
| πŸ“¦ | **Packages no longer needed** | Dependencies nothing uses anymore | Usually safe |
| πŸ”„ | **Old Snap versions** | Disabled revisions kept only for `snap revert` | Safe |
| 🧩 | **Unused Flatpak runtimes** | Runtimes no installed app needs | Safe |
| πŸ“œ | **System journal** | Old entries of the system log β€” shrink it and cap it permanently | Safe |
| ⚠️ | **Crash reports & core dumps** | Memory snapshots of crashed programs | Safe |
| πŸ—‚οΈ | **Old log files** | Rotated copies like `syslog.1` and `kern.log.2.gz` | Safe |
| πŸ–ΌοΈ | **Picture previews** | Thumbnails β€” especially of files that no longer exist | Safe |
| πŸ“ | **App caches in your home** | Every folder in `~/.cache`, each explained on its own | Per folder |
| πŸ“± | **Flatpak & Snap app caches** | Caches of sandboxed apps | Usually safe |
| πŸ—‘οΈ | **Trash** | Every item with its original location and deletion date | Review first |
**What the labels mean**
- **Safe** β€” nothing you need is lost; it is recreated or re-downloaded if it's ever needed again.
- **Us