Repository navigation
Disk Prune 0.2.0
Disk Prune 0.2.0
20+ new cleanup rules
- Browser caches: Chrome, Chromium, Brave, Edge, Firefox (deb and snap), Flatpak apps. Profiles and logins are never touched; while a browser is running the rule becomes a manual step.
- Electron app caches (VS Code, Slack, Discord, …), skipped while the app runs. Stale locks left by a crash are recognised.
- Obsolete VS Code/Cursor extension versions; caches of older JetBrains IDE versions.
- uv (only data not hard-linked into a venv), Poetry, Conda, pnpm, npx, Yarn, Go, Gradle, Selenium, Playwright, Mesa shader cache, tracker3. Hugging Face models are a manual step only.
- System: orphaned snapd downloads,
apt autoremove(simulated first; kernels excluded), unused Flatpak runtimes, systemd core dumps, Trash on other drives.
More accurate
- APT counts only
.debs and partial downloads. Package lists are rebuilt on the nextapt, so they no longer count. - Leftover kernel module dirs also purge their
rcdpkg records. - Snap revisions include each revision's data and show what is freed now vs. later.
- The journal estimate replays journald's own vacuum.
Runs on any Ubuntu 22.04 machine
- System paths come from
apt-config,snap,flatpak, journald, apport, fontconfig andPATH. - User paths honour
XDG_*,CARGO_HOME,PIP_CACHE_DIRandnpm_config_cache.
Also
- "Worth a look" is now Top savings.
- The review dialog wraps long commands.
- New
tests/system/validate_ubuntu_rules.pychecks every recommendation against the owning tools on a live system: 39/39 rules exact. - 103 unit tests; black-box suite 178/178.
Install:
wget https://github.com/saad-git-007/linux_disk_prune/releases/download/v0.2.0/linux-disk-prune_0.2.0_amd64.deb
sudo apt install ./linux-disk-prune_0.2.0_amd64.deb