LoginSignup
2
2

More than 5 years have passed since last update.

karabiner-Elementsのプロファイルをコマンドラインから切り替える方法 How to switch karabiner-elements's profile by command line

Last updated at Posted at 2018-04-13

自席にいるときは、windows外付けキーボードと使い、ミーティングでMBPを持って行くときは
内臓キーボードを使っている。
配列がそれぞれJIS、ANSIとなっており、いちいち切り替えるのが面倒だったので、コマンドラインで
切り替えられるようにした。
When I am in my seat, I use windows USB keyboard(JIS).
But my MBP's key layout is ANSI.
When I use internal keyboard, it was bothering to switch.
So I improve that.

やり方は簡単
1. プロファイルを2つ(外付けキーボード用、内臓キーボード用)作る
make 2 profiles (one for USB keyboard(JIS layout), another one is for internal keyboard(ANSI layout))
スクリーンショット 2018-04-13 10.45.16.png
2. karabiner-profile-switchをインストールする
install karabiner-profile-switch

$ kps
Karabiner-Elements profiles:
    1) real-force
 -> 2) Apple keyboard
Please select profile number: 1
Setting active profile: Internal Keys
Saving data...
Done.

参考:
karabiner-profile-switch

2
2
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
2
2