-
Notifications
You must be signed in to change notification settings - Fork 49
Instructions
The only dependency of the script is curl
which is used for fetching relevant information from this GitHub repository. This is included on almost all distributions by default but those of you who're using something a bit more adventurous (looking at you Arch users) may have to install it.
Simply download fix.sh - that's all you need! Running it provides a few options:
-
sudo ./fix.sh
orsudo bash fix.sh
will fix launchers both in/usr/share/applications/
and~/.local/share/applications/
. This is the recommended usage. -
./fix.sh
orbash fix.sh
will fix only launchers located in~/.local/share/applications/
. This is only recommended if you are not able to use root.
There are also several options for flags:
-
-l, --local
The same as running./fix.sh
-
-r, --revert
Reverts any changes made. Whether it is to be run as root or not depends on how it was used initially. -
-h, --help
Displays this help menu. -
-v, --version
Print version number.