-
-
Notifications
You must be signed in to change notification settings - Fork 0
Home
OrphyCleaner is a tool that scans your Linux system for orphaned or unused application folders and helps you decide whether to keep or remove them.
It provides descriptions of applications using multiple sources (Pacman, AUR, Flatpak) to make it easier to identify what a folder belongs to.
The app comes with a graphical interface where you can:
- Browse detected application folders.
- See descriptions of packages from system and community sources.
- Open folders and delete them
- Mark folders to keep so they won’t be suggested for removal again.
- Save and restore your decisions between runs.
When you start the application:
- OrphyCleaner looks for application folders in common system and user locations, such as:
~/.local/share/- Flatpak directories
- AppImage folders
- It compares these against installed applications:
- Pacman packages
- AUR packages (via yay/paru, if available)
- Flatpaks
- AppImages
- Folders not matching installed apps are listed as candidates for cleanup.
When you select a folder in the interface:
- OrphyCleaner tries to guess a package name from the folder name.
- It queries, in order:
-
Pacman (
pacman -Si) -
AUR helper (yay or paru,
-Si) -
Flatpak (
flatpak info)
-
Pacman (
- The first valid description found is displayed.
- If no description is found, the app shows “Description not found”.
OrphyCleaner stores some information locally:
-
~/.cache/orphycleaner/orphycleaner_pkg_cache.json- Cache of package descriptions.
- Prevents repeated lookups for the same package/folder.
- Keys are prefixed with their source, e.g.
pacman:pkgname,aur:pkgname, orflatpak:pkgname. - To clear the cache, simply delete this file.
-
~/.local/share/orphycleaner/kept_folders.txt- List of folders marked as kept.
- Prevents OrphyCleaner from suggesting them for cleanup again.
- You can edit or delete this file manually if needed.
- If a package is not found in Pacman, AUR, or Flatpak, OrphyCleaner saves a placeholder (
"<not found>"or"Description not found") in the cache. - This avoids repeated long lookups for missing packages.
- To force a fresh check (e.g. if the package later becomes available), delete
~/.cache/orphycleaner/orphycleaner_pkg_cache.json.
- Browse through detected folders.
- Read the description to decide whether it belongs to an installed application.
- If you want to keep it, mark it as kept (this updates
kept_folders.txt). - If you don’t want it, you can directly remove it or manually outside the app.
Q: Why does description lookup take a few seconds sometimes?
Because queries to AUR helpers or Flatpak info require system calls or network requests. To speed things up, OrphyCleaner caches results.
Q: I see “Description not found”, but I know the package exists!
Make sure yay/paru (for AUR) or Flatpak is installed and available in your PATH. If it still fails, try deleting the cache file.
Q: What if I don’t want OrphyCleaner to remember my choices?
Delete both:
~/.cache/orphycleaner/orphycleaner_pkg_cache.json~/.local/share/orphycleaner/kept_folders.txt