LoginSignup
1
1

More than 3 years have passed since last update.

karabinerが反応しなくなったときの再起動スクリプト

Posted at

背景

Macを起動時、まれにkarabinerが反応しなくなる

原因?

↓のようにEventでエラーがでてる。
スクリーンショット 2020-10-09 0.25.54.png

対策

ネットで拾ってきたスクリプトを入力すると解決する。
同時にDockerがハングアウトするから、どうも、Dockerの立ち上がりとブッキングしているっぽい。

KARABINER_ELEMENTS_PATH="/Applications/Karabiner-Elements.app"

echo "Killing Karabiner & associated processes"
sudo pkill -f Karabiner -9 # Kills the main Karabiner UI
sudo pkill -f karabiner -9 # Kills the background processes

echo "Starting Karabiner-Elements... It may be up to a minute after opening Karabiner-Elements before your custom keys activate."
open $KARABINER_ELEMENTS_PATH # Open it back up!
1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1