A Python utility to monitor directories for AppImages on Linux systems and automatically create desktop entries for seamless integration with desktop environments.
- Automatic Desktop Entry Creation: Integrates AppImages with the desktop environment
- Icon Extraction: Automatically extracts icons from AppImage files
- Desktop Shortcut Support: Generates shortcuts on the desktop
- Systemd User Service: Runs as a lightweight background service
- Self-cleaning: Removes obsolete desktop entries when AppImages are deleted
- Python 3.6 or higher
- Linux system with systemd
- Standard Linux desktop environment
-
Clone the repository:
git clone https://github.com/abcdqfr/AppImgMon.git cd AppImgMon
-
Make the script executable:
chmod +x AppImgMon.py
-
Install the user service:
./AppImgMon.py --install
The following environment variables can be customized:
Variable | Description | Default |
---|---|---|
APPIMAGE_WATCH_DIR |
Directory to monitor for AppImages | ~/appimages |
DESKTOP_ENTRY_DIR |
Directory to store .desktop entries | ~/.local/share/applications |
ICON_DIR |
Directory to save extracted icons | ~/.local/share/icons |
-
Create the watch directory:
mkdir -p ~/appimages
-
Place your
.AppImage
files in the watch directory. -
Manage the service:
# Check service status systemctl --user status appimgmon.service # Start the service systemctl --user start appimgmon.service # Stop the service systemctl --user stop appimgmon.service
-
Stop and disable the service:
systemctl --user stop appimgmon.service systemctl --user disable appimgmon.service
-
Remove service and configuration files:
rm ~/.config/systemd/user/appimgmon.service rm ~/appimages/AppImgMon.py rm ~/.local/share/applications/AppImg*.desktop rm ~/Desktop/AppImg*.desktop
Contributions are welcome! Please open an issue or submit a pull request on our GitHub repository.
This project is licensed under the MIT License.
For issues or feature requests, please file a ticket on the GitHub repository.