Switch input language depending on physical keyboard attached

input-sourcekeyboardlanguage

I use a swedish keyboard at home, and an english at work. I have one laptop for both places. Every day I have to switch the input language manually back and forth, and for every app I'm using it seems.

Is there any way to just have the input language match whatever keyboard I'm using, automagically?

Best Answer

I think the answer is "no". The keyboard layout in force applies to all keyboards. Are you already using the quick keyboard shortcut for switching keyboards?

I have heard that the keymapping app Karabiner can recognized different keyboards, but I haven't yet seen anyone use it to solve your problem.