Hi terminal lovers! (like me)
I'm back after a pretty wild and interesting journey. I've brought you a little gift, especially for those of you who are real experts and love digging deep under the hood!
MintApp Remover, version 2.2.0. It's a single Bash script, in English and Spanish, that lives in the terminal (Zenity windows are optional). It's not an "optimizer" and it doesn't promise miraculous gigabytes: it only removes what you choose, with no surprises but with deeply configuration. All the info and documentation is in the repository.
What does MintApp Remover do?
- Real plan before removing anything: it runs the package manager's own simulation (apt-get -s purge on apt systems) and shows you the plan as it is, dependents included. The default answer is "no", and the plan is checked again before it asks for your password. If the plan would also remove meta-packages (the ones that hold a whole desktop together), it warns you and asks a stronger question.
- Catalog and advanced mode: you pick from a checklist, and the catalog follows your desktop (Cinnamon, GNOME, KDE Plasma, XFCE and MATE). The advanced mode finds applications outside the catalog by scanning the menu launchers (.desktop files). Flatpak and Snap apps show up there too, each with its own plan, confirmation and record.
- Cleanup: it removes leftover dependencies and has a deep cleanup for waste files, caches and logs, at two levels (simple and complete), always showing what and how much first. Its catalog follows BleachBit's cleaners, adapted.
- Security: it runs as a normal user and asks for your password only when it really has to change something. Every removal leaves a private record with the command to reinstall it. The cleanup doesn't touch your documents, your settings or your browser profiles, and it never deletes open files.
- Beyond apt: I developed it on Linux Mint (apt), but it also supports dnf 4 (Fedora, RHEL), pacman (Arch) and zypper (openSUSE). The tests run the real rpm, dnf, pacman and zypper against fake roots. With dnf the password is asked before the plan is shown (dnf won't calculate one without admin rights). dnf 5 (Fedora 41 and later) is not supported: the script detects it and stops with a clear message.
- Terminal first: it needs Bash 4.3 or newer and no other dependency besides the package manager (whiptail and zenity are optional). It runs in the terminal with its own dialogs, whiptail or a plain-text menu (MINTAPP_UI=text), and opens Zenity windows only if you ask for them or there is no terminal. It respects NO_COLOR and falls back to plain ASCII when the locale is not UTF-8. With "install" it puts a command, a menu launcher and the icon in your own folders, with no sudo.
- Tests: over 7,700 checks that run in a sandbox with stand-ins for apt, dpkg and sudo, so they never touch the real system. ShellCheck 0.11.0 allows no findings, and the same checks run on GitHub Actions.
* MintApp Remover Repo: https://github.com/Filonux/mintapp_remover
If you try it on other desktops or on Fedora, Arch or openSUSE, feedback and bug reports are very welcome.