I recently bought a new keyboard with another layout than my mac has (mac has qwertz, new keyboard has qwerty). I find it a bit tedious to manually have to switch the keyboard setting globally instead of seamlessly switching between devices and layouts. Is there a way to achieve that?
-
Can't you just make it qwertz for both keyboards through some keyboard layout editor? It will just change your bluetooth one since the built-in is already qwertz– ThinkrMar 30 at 11:14
-
sadly not, because apart from the switch of z and y, the two layouts have other differnces too (umlauts, basically every special character, etc.) so that wouldn't really be a feasible option. @Thinkr– only-a-userMar 30 at 13:07
-
See apple.stackexchange.com/questions/406721/…– Tom GeweckeMar 30 at 13:08
-
@only-a-user yes, but change the whole keyboard in both. It won't change the built-in one.– ThinkrMar 30 at 14:28
1 Answer
This link, posted in the comments, which ultimately points to this StackExchange issue, which resolves this problem using this repository. Follow the instructions provided and it should work.
The repository is called autokbisw by Ole Hüter. It works by automatically detecting which keyboard you are using and choosing the appropriate layout.
It can be installed via brew
:
brew install ohueter/tap/autokbisw
brew services start ohueter/tap/autokbisw
-
1