Skip to content

cali72mero/System-Cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

8 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Linux App Cleaner ๐Ÿงน

License Platform Python PyQt5

A powerful uninstaller for Linux that finds and removes ALL traces of applications

๐Ÿ‡ฉ๐Ÿ‡ช Deutsche Version


โš ๏ธ Platform Notice

This software is ONLY for Linux distributions.
There will be NO Windows or macOS versions - ever.

Supported Linux distributions:

  • Ubuntu / Debian / Linux Mint
  • Fedora / RHEL / Nobara
  • Arch Linux / Manjaro
  • openSUSE
  • And most other Linux distributions

๐ŸŽฏ What is this?

Linux App Cleaner is a comprehensive application uninstaller that goes beyond your system's package manager. It finds and removes ALL traces of applications, including:

  • โœ… Applications from apt, flatpak, snap, pip, npm, AppImage
  • โœ… Configuration files in ~/.config/
  • โœ… Cache files in ~/.cache/
  • โœ… Application data in ~/.local/share/
  • โœ… Desktop integration files (.desktop, icons)
  • โœ… Autostart entries
  • โœ… Hidden config files
  • โœ… Temporary files
  • โœ… Log files
  • โœ… And much more!

Problem: When you uninstall an app on Linux, it often leaves behind configs, cache, and data.
Solution: Linux App Cleaner finds and removes EVERYTHING!


โœจ Features

๐Ÿ” Three Search Modes

  1. โšก Quick Search - Fast scan of common locations (seconds)
  2. ๐Ÿ”ฌ Deep Search - Scans the ENTIRE filesystem (2-10 minutes)
  3. ๐ŸŽฏ Custom Search - Select what you want to search

๐Ÿ—‘๏ธ Three Deletion Modes

  1. ๐ŸŸข Safe Delete - Removes only the application
  2. ๐Ÿ”ด Thorough Delete - Removes application + ALL data (uses deep search)
  3. ๐Ÿ” Analyze Only - Shows what would be deleted (without deleting)

๐Ÿ“ฆ Supports All Package Types

  • apt/dpkg - System packages
  • Flatpak - Sandboxed applications
  • Snap - Snap packages
  • pip - Python packages
  • npm - Node.js packages
  • AppImage - Portable applications

๐Ÿ›ก๏ธ Safety Features

  • โœ… Protects critical system packages
  • โœ… Shows exactly what will be deleted
  • โœ… Confirmation dialogs before deletion
  • โœ… Live progress indicator
  • โœ… Detailed logging
  • โœ… Export analysis to text file

๐ŸŽจ Two GUI Versions

  • PyQt5 Version - Modern, runs 100% in virtualenv (recommended)
  • tkinter Version - Classic, requires system package

๐Ÿ“ฅ Installation

Quick Setup (PyQt5 - Recommended)

# 1. Clone repository
git clone https://github.com/YOUR_USERNAME/linux-app-cleaner.git
cd linux-app-cleaner

# 2. Run automatic setup
chmod +x setup.sh
./setup.sh

# 3. Done! Start with:
app-cleaner

Manual Setup (PyQt5)

# 1. Create virtual environment
python3 -m venv venv
source venv/bin/activate

# 2. Install dependencies
pip install PyQt5

# 3. Run
python linux_app_cleaner_pyqt.py

tkinter Version

# Install system package
sudo apt install python3-tk  # Ubuntu/Debian
sudo dnf install python3-tkinter  # Fedora
sudo pacman -S tk  # Arch

# Run
python linux_app_cleaner.py

๐Ÿš€ Usage

Basic Usage

# Start the program
cd ~/AppCleaner
source venv/bin/activate
python linux_app_cleaner_pyqt.py

Example: Remove Spotify (Flatpak)

  1. Search - Type "spotify" in search box
  2. Select - Click on Spotify in the list
  3. Analyze - Click "๐Ÿ” Analyze Only"
  4. Choose search depth:
    • โšก Quick Search โ†’ Shows common locations
    • ๐Ÿ”ฌ Deep Search โ†’ Scans entire system
  5. Review - See all files that will be deleted
  6. Delete:
    • ๐ŸŸข Safe Delete โ†’ Only app
    • ๐Ÿ”ด Thorough Delete โ†’ App + all data

What You'll See

๐Ÿ“ Flatpak:
๐Ÿ“‚ ~/.var/app/com.spotify.Client/           (234 MB)
๐Ÿ“‚ ~/.var/app/com.spotify.Client/config/    (45 MB)
๐Ÿ“‚ ~/.var/app/com.spotify.Client/cache/     (123 MB)

๐Ÿ“ Desktop Files:
๐Ÿ“„ ~/.local/share/applications/spotify.desktop

๐Ÿ“ Icons:
๐Ÿ“„ ~/.local/share/icons/hicolor/256x256/apps/spotify.png

๐Ÿ“ Autostart:
๐Ÿ“„ ~/.config/autostart/spotify-autostart.desktop

SUMMARY:
  Files/Folders: 15
  Total Size: 402 MB

๐Ÿ“– Documentation


๐Ÿ”ฌ Deep Search Feature

The Deep Search scans these locations:

๐Ÿ“ User Data:
  ~/.config/, ~/.cache/, ~/.local/share/
  ~/.var/app/ (Flatpak), ~/snap/ (Snap)

๐Ÿ“ Desktop Integration:
  ~/.local/share/applications/ (.desktop files)
  ~/.local/share/icons/ (Icons)
  /usr/share/applications/, /usr/share/icons/

๐Ÿ“ Autostart:
  ~/.config/autostart/

๐Ÿ“ Hidden Files:
  ~/.*programm*/ (Hidden configs)

๐Ÿ“ Temporary Files:
  /tmp/, /var/tmp/

๐Ÿ“ System Configs:
  /etc/ (System configurations)

๐Ÿ“ Logs:
  ~/.local/share/systemd/, /var/log/

๐Ÿ“ Other:
  ~/Applications/, ~/Downloads/, /opt/

Performance: 2-10 minutes depending on disk size and file count.


โš™๏ธ Requirements

  • OS: Linux (any distribution)
  • Python: 3.8 or higher
  • Dependencies: PyQt5 (installed via pip)
  • Disk Space: ~50 MB
  • Permissions: sudo access for system packages

๐Ÿค Contributing

How to Help

โœ… Report bugs - Open an issue
โœ… Test on your distribution - Share results
โœ… Translate - Help with other languages
โœ… Documentation - Improve docs
โœ… Share - Tell your friends!

What's NOT Allowed

โŒ Modifying the source code
โŒ Creating forks or derivative works
โŒ Selling this software

See LICENSE for details.


๐Ÿ› Known Issues

  • Deep search can take 5-10 minutes on HDDs
  • Some system paths require sudo access
  • Progress updates may pause during sudo prompts

๐Ÿ“Š Comparison

Feature apt remove flatpak uninstall Linux App Cleaner
Remove app โœ… โœ… โœ…
Remove configs โŒ โŒ โœ…
Remove cache โŒ โŒ โœ…
Remove desktop files โŒ โŒ โœ…
Remove autostart โŒ โŒ โœ…
Find hidden files โŒ โŒ โœ…
Search entire disk โŒ โŒ โœ…
Works for all types โŒ โŒ โœ…

๐ŸŽฏ Use Cases

Perfect for:

  • ๐Ÿงน Cleaning up after uninstalling apps
  • ๐Ÿ’พ Freeing disk space
  • ๐Ÿ” Finding leftover files from old installations
  • ๐ŸŽฎ Completely removing games and their data
  • ๐Ÿงช Testing software without leaving traces
  • ๐Ÿ“ฑ Preparing a clean system

Examples:

  • Remove Flatpak completely: Finds data in ~/.var/app/
  • Clean up AppImages: Finds desktop integration files
  • Delete old configs: Finds hidden .programm folders
  • Free disk space: Shows exact size of all files

๐Ÿ“ License

This project uses a Custom License that allows:

  • โœ… Personal and commercial use
  • โœ… Distribution and sharing
  • โœ… Bug reporting and support

But does NOT allow:

  • โŒ Modifications or derivative works
  • โŒ Claiming as your own
  • โŒ Selling

See LICENSE for full details.


โš ๏ธ Disclaimer

USE AT YOUR OWN RISK

This software deletes files from your system. While it has safety measures:

  • Always review what will be deleted before confirming
  • Make backups of important data
  • Test on non-critical systems first
  • The author is not responsible for any data loss

๐Ÿ’ฌ Support

  • ๐Ÿ“– Read the documentation
  • ๐Ÿ› Report bugs via Issues
  • ๐Ÿ’ก Suggest features via Issues
  • โญ Star this project if you find it useful!

๐Ÿ™ Acknowledgments

Made with โค๏ธ for the Linux community

Special thanks to:

  • PyQt5 team for the excellent GUI framework
  • All Linux distributions for making this tool necessary ๐Ÿ˜„
  • Everyone who reports bugs and suggests improvements

๐Ÿ“Œ Version

Current Version: 2.1
Release Date: 2026-01-01
Platform: Linux only
Status: Active development


Remember: This tool is Linux-only by design. Don't ask for Windows or macOS versions - they will never happen! ๐Ÿง

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages