24 October, 2024

How to remove Logitech hub on a Mac

For weeks I tried to remove the Logitech Hub, that was not needed any more. Removing the programme seemed impossible. But then I found this recipe on github: https://gist.github.com/timotgl 

# How to fully uninstall Logitech G HUB on macOS via terminal/command line
# Tested on macOS version 12.3.1 (21E258) Monterey in April 2022
# with Logitech G HUB version 2022.3.242300 (released on 2022-03-22) installed.

# 1. Make sure "Logitech G HUB" itself is not running. If it is, quit it.

# 2. Open "Activity Monitor" and force-quit all processes named "lghub*".

# 3. Delete system-wide files
sudo rm -rf /Applications/lghub.app
sudo rm /Library/LaunchAgents/com.logi.ghub.plist
sudo rm /Library/LaunchDaemons/com.logi.ghub.updater.plist
sudo rm -rf /Users/Shared/LGHUB
sudo rm -rf /Users/Shared/.logishrd

# 4. Delete files from user directory
sudo rm -rf ~/Library/Application\ Support/lghub
sudo rm ~/Library/Preferences/com.logi.ghub.helper.plist
sudo rm ~/Library/Preferences/com.logi.ghub.plist

A few of the commandlines could not find the directory, then I added -rf to the terminal commands. 

After this I ran htop, and the annoying process was gone. So was the app. Cool!

- Thank you Timotgl !!

BTW after deleting these directories &c. I had to restart the Mac, because a process tried to open the missing directories. But after a restart the problem was gone.


No comments: