Skip to content

Uninstalling

Marcel Grolms edited this page Sep 17, 2023 · 5 revisions

Uninstall the package

To remove the package fully you need to navigate to the directory you installed the driver from.

If you deleted the directory you can install the driver once again to run the uninstallation script after.

Uninstaller (recommended)

Run the uninstalling script from the directory you installed the driver:
chmod +x uninstall.sh; ./uninstall.sh.

If you won't be reinstalling the program (sad to see you go), you can also remove the configuration:
rm $HOME/.config/g910-gkeys/config.json

Remove the package manually (versions below v0.2.5)

  1. Delete package files from installed system folder: cat files.txt | sudo xargs rm -rf
  2. Remove package from pip: sudo pip uninstall g910-gkeys
  3. Disable service: sudo systemctl disable g910-gkeys
  4. Remove the service file with: sudo rm /usr/lib/systemd/system/g910-gkeys.service

If you won't be reinstalling the program (sad to see you go), you should also remove the configuration: rm -rf /etc/g910-gkeys

For older Versions < v0.2.0:
To remove the module from pip you should run pip list | grep g910 and then sudo pip uninstall ${names that were returned by the previous command}. This is because I renamed the driver from "g910-gkey-macro-support" to "g910-gkeys" for shorter and easier understanding.