二 月
18
土曜日
2017

Karabiner-ElementsからKeyRepeatタブが消失

Karabiner-ElementsをアップデートするとKeyRepeatタブが消えていた。


Apple does not provide a way to change the key repeat rate of keyboard devices.
Thus, the key repeat configuration was vanished.

ということで今後はdefaultsコマンドで設定することになりそう。

現在値は以下で確認

$ defaults read -g InitialKeyRepeat
$ defaults read -g KeyRepeat

値の設定は以下

$ defaults write -g InitialKeyRepeat -int 12
$ defaults write -g KeyRepeat -float 1.8

ちなみにGUIでシステム環境設定 キーボード から最速を設定した場合の値は以下となる。

$ defaults read -g InitialKeyRepeat
15
$ defaults read -g KeyRepeat
2

またGUIで設定した場合はその値は即時反映されるが、defaultsコマンドで設定した場合はOSの再起動が必要になる。