A simple GUI to clean your Linux distro with an intuitive interface and powerful cleaning features.
sudo pip install PyQt5 pillow
wget -Nnv https://raw.githubusercontent.com/liberodark/LCleaner/master/lcleaner.py && sudo python3 lcleaner.py
Standalone : nuitka3 --standalone --recurse-on --python-version=3.7 lcleaner.py
Normal : nuitka3 --recurse-on --python-version=3.7 lcleaner.py
shell-nixsudo apt-get update
sudo apt-get install -y python3-tk python3-pil python3 policykit-1sudo dnf install -y python3-tkinter python3-pillow python3 polkitsudo pacman -S tk python-pillow python polkitsudo zypper install python3-tk python3-Pillow python3 polkitsudo apk add py3-tk py3-pillow python3 polkitgit clone https://github.com/liberodark/LCleaner.git
cd LCleaner
makepkg -sigit clone https://github.com/liberodark/LCleaner
cd LCleaner
python lcleaner.pypython -m tkinter
python -c "from PIL import Image, ImageTk; print('Pillow Work')"lcleaner --clean : Clean All
lcleaner -cache : Clean Cache
lcleaner -trash : Clean Trash
lcleaner -journal : Clean Journal
lcleaner -desktop : Clean Desktop
lcleaner --analyze : Analyze disk space usage
lcleaner --help : show help
lcleaner --clean (To Clean All)
lcleaner -cache -trash (To Clean Trash and Cache)
The graphical interface now provides:
- Option to select which components to clean
- Space analysis to see how much space can be freed
- Status updates during cleaning operations
- Package manager auto-detection
- Tabbed interface with Main, Advanced, and About sections
- Remove cache apps
- Remove Trash
- Remove journal apps
- Remove empty or old desktop entries
- Package manager auto-detection
- Space analysis
- One-click cleaning
- Modern tabbed interface
- Ubuntu
- Arch Linux / Manjaro
- Fedora / RHEL / CentOS
- OpenSUSE
- Other distros need testing
- Modern GUI with tabs
- Python 3 support
- Command-line arguments
- Space analysis
- Package manager auto-detection
- One-button cleaning
- System file cleaning
- Auto-clean scheduling
- Old kernel cleanup (Ubuntu/Debian)
- Detailed application cache cleaning
- Backup/restore functionality
- System optimization options
- Translation support
