This tool empowers you to control .desktop
files in /usr/share/applications/
. Easily list, edit, create, remove, and restore backups to customize your shortcuts.
Ensure administrative privileges for /usr/share/applications/
. Use sudo
for full script capabilities.
-
Download the Script: Get
shortcut-manager.py
or clone the repository. -
Open Terminal: Navigate to the script's location.
-
Run the Script: Execute
sudo python shortcut-manager.py
to awaken the Desktop Shortcut Manager. -
Menu Options: Explore the menu:
- 1. List shortcuts: Filter and display
.desktop
files. - 2. Edit shortcut: Modify a selected
.desktop
file. - 3. Create shortcut: Forge a new
.desktop
file. - 4. Remove shortcut: Delete a chosen
.desktop
file. - 5. Restore backup: Revert to a backup file.
- 6. Exit Bid farewell to the script.
- 1. List shortcuts: Filter and display
-
Follow Instructions: Execute actions as instructed.
-
Review Results: Witness outcomes and errors.
-
Backup & Restore: Backups will be made before editing a file and it will vanish after restoration.
-
File Permission Issues: Use
sudo
to conquer permission obstacles.