Help us understand the problem. What is going on with this article?

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

More than 1 year has passed since last update.

自席にいるときは、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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした