pqrs-org / Karabiner-Elements

Karabiner-Elements is a powerful utility for keyboard customization on macOS Sierra (10.12) or later.
https://pqrs.org/osx/karabiner/
The Unlicense
18.84k stars 838 forks source link

Inability to actually quit/disable Karabiner makes it a malware #2749

Open raegen opened 3 years ago

raegen commented 3 years ago

Are you people for real? It's beyond me, how does this happen? It didn't cross your mind it might be needed? You start multiple persistent processes and you don't provide a way to disable them except uninstalling? The specific problem: it is NOT stable. There are critical issues that break usage of keyboard completely (stuck keys, complete unresponsiveness etc) so I want to only use it in contexts where the usage will not cause those issues, but see, I cannot, because there's no option to do so. And no, removing the bindings/changing profiles doesn't help, because it's still running.

tekezo commented 3 years ago

Basically, if you terminate karabiner_console_user_server in this way, the rest processes will not affect the system. https://karabiner-elements.pqrs.org/docs/manual/operation/quit/

The rest processes which are running after quit Karabiner-Elements, are opened by launchd. (List of processes: https://karabiner-elements.pqrs.org/docs/help/advanced-topics/security/ )

So, you can stop these process by launchctl as follows.

sudo launchctl bootout system /Library/LaunchDaemons/org.pqrs.Karabiner-DriverKit-VirtualHIDDeviceClient.plist
sudo launchctl bootout system /Library/LaunchDaemons/org.pqrs.karabiner.karabiner_grabber.plist
sudo launchctl bootout system /Library/LaunchDaemons/org.pqrs.karabiner.karabiner_observer.plist

However, when Karabiner-Elements is not that stable as you said, it is likely that the issue is caused by a hardware problem or compatibility with other applications, so I think it would be better to uninstall Karabiner-Elements first and see how it goes.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.