A powerful Windows application to save and restore your desktop icon positions with advanced features like automatic backups, system tray integration, and adaptive scaling for multi-monitor setups.
- πΎ Quick Backup: Save your desktop icon layout with a single click
- βΊ Restore Options: Restore from the latest backup or choose from a list of saved configurations
- π·οΈ Custom Tags: Add descriptive tags to your backups for easy identification
- π Resolution Tracking: Automatically records screen resolution with each backup
- πΌοΈ Visual Layout Preview: See a mini-map of your icon arrangement before restoring
- π Adaptive Scaling: Automatically adjusts icon positions when restoring to different screen resolutions
- π₯οΈ Multi-Monitor Support: Detects and handles multiple monitor configurations
- ποΈ Smart Cleanup: Automatic deletion of old backups (configurable limits: 5, 10, 25, 50, or unlimited)
- β‘ System Tray Integration: Run minimized in the background with quick access to save/restore
- Auto-Save on Exit: Automatically backup your layout when closing the application
- Auto-Restore on Startup: Automatically restore your layout when the application starts
- Background Operations: Non-blocking operations with progress indicators
- Dark Theme Support: Adapts to your Windows theme preferences
- Keyboard Shortcuts:
Ctrl+Sfor quick save,Ctrl+Qto exit - Detailed Activity Log: Track all operations with timestamped entries
- Confirmation Dialogs: Prevent accidental overwrites or deletions
- Windows 10 or later
- Python 3.8+ (for running from source)
- Desktop icons must be visible (not hidden)
- Download the latest
DesktopIconBackupManager.exefrom the Releases page - Extract in a folder
- Run the executable - no installation required!
-
Clone this repository:
git clone https://github.com/mapi68/DesktopIconBackupManager.git cd DesktopIconBackupManager -
Install dependencies:
pip install -r requirements.txt
-
Run the application:
python DesktopIconBackupManager.py
PyQt6
pywin32
- Click "πΎ SAVE QUICK BACKUP" for an instant backup with timestamp
- Click "βΊ RESTORE LATEST" to restore from the most recent backup
- Or click "βΊ BACKUP MANAGER" to choose from all available backups
- Minimize to Tray: Close the window (when "Minimize to Tray" is enabled in Settings)
- Quick Actions: Right-click the tray icon for quick save/restore options
- Double-Click: Restore the main window
Auto-Save/Auto-Restore
- β Auto-Save on Exit: Automatically creates a backup when closing the app
- β Auto-Restore on Startup: Automatically restores the latest backup on launch
Adaptive Scaling
- β
Enable Adaptive Scaling on Restore: Automatically adjusts icon positions when restoring to a different screen resolution
- Example: Backup saved at 1920x1080 β Restored at 2560x1440
Backup Management
- Automatic Cleanup Limit: Choose how many backups to keep (5, 10, 25, 50, or unlimited)
- Oldest backups are automatically deleted when the limit is reached
Startup Behavior
- β Start Minimized to Tray: Launch the app in the system tray
Window Behavior
- β Minimize to Tray on Close: Hide to tray instead of closing when clicking 'X'
Backups are stored in the icon_backups folder as JSON files with the format:
[Resolution]_[Timestamp].json
Example: 1920x1080_20240315_143022.json
Each backup contains:
- Icon positions (name and coordinates)
- Display metadata (resolution, monitor count)
- Custom description/tag
- Timestamp
Settings are automatically saved to settings.ini in the application directory:
[General]
auto_save_on_exit=true
auto_restore_on_startup=false
adaptive_scaling_enabled=true
cleanup_limit=10
start_minimized=false
close_to_tray=true| Shortcut | Action |
|---|---|
Ctrl+S |
Quick Save |
Ctrl+Q |
Exit Application |
- Ensure desktop icons are visible (not hidden)
- Check that the Activity Log for any error messages
- Try disabling "Auto-arrange icons" in Windows desktop settings
- Make sure no other instance is running
- Check that you have the required permissions
- Verify that desktop icons are enabled in Windows
- Enable "Adaptive Scaling" in Settings for automatic position adjustment
- Note: Backup saves the configuration from the time it was created
- Restoring with different monitor setup may require manual adjustments
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
mapi68
- Built with PyQt6 for the modern GUI
- Uses Win32 API for desktop icon manipulation
- Inspired by the need to preserve desktop layouts across resolution changes
Main interface showing the activity log and three main action buttons
Backup Manager window with list of saved backups and layout preview
Confirmation dialog before restoring a backup
Desktop Icon Backup Manager featuring dark mode and Italian support
Note: This application directly interacts with Windows desktop icon positions. Always keep recent backups before making system changes.