A lightweight GUI that scans your home folder for orphaned or unused application folders left behind after uninstalling apps, and helps you decide what to keep and what to remove. Built for Arch-based distributions, and easy to adapt to others.
yay -S orphycleaner
git clone https://github.com/dodog/orphycleaner.git
cd orphycleaner
python3 orphycleaner.py
sudo pacman -S python-gobject gtk4 libadwaita
OrphyCleaner scans your Linux system for orphaned or unused application folders and helps you decide whether to keep or remove them. It looks up descriptions from Pacman, AUR, and Flatpak to make it easier to tell what a folder actually belongs to.
On startup, OrphyCleaner:
~/.local/share/, Flatpak directories, AppImage foldersWhen you select a folder:
pacman -Si), an AUR helper (yay/paru -Si), then Flatpak (flatpak info)~/.cache/orphycleaner/orphycleaner_pkg_cache.json — cache of package descriptions, keyed by source (pacman:, aur:, flatpak:). Delete this file to clear the cache.~/.local/share/orphycleaner/kept_folders.txt — folders you've marked as kept. Safe to edit or delete by hand.If a package isn't found in Pacman, AUR, or Flatpak, OrphyCleaner caches a placeholder result so it doesn't repeat a slow lookup every time. To force a fresh check — say, once a package becomes available — delete orphycleaner_pkg_cache.json.
kept_folders.txtWhy does description lookup take a few seconds sometimes?
Queries to AUR helpers or Flatpak require system calls or network requests. Results are cached afterward to keep things fast.
It says "Description not found," but I know the package exists.
Make sure yay/paru (for AUR) or Flatpak is installed and on your PATH. Still stuck? Try deleting the cache file.
How do I make OrphyCleaner forget my choices?
Delete both orphycleaner_pkg_cache.json and kept_folders.txt.
Also welcome: bug reports and pull requests. Customization tip: the ignored-folders list and alias map both live near the top of orphycleaner.py.