I have a Mac and using it with an external keyboard.
I know that whenever you connect a new keyboard, OS X asks you to detect a keyboard layout by pushing a few keys, and very same thing can be done via Apple Menu > System Preferences > Keyboard > Change Keyboard Type... button.
Somehow my OS X forgets the layout settings whenever it reboots, and asks me to set the layout again. Also, I would like it to stick with one layout for whatever keyboard it gets.
Is there any simple way to achieve this? I am feeling that there should be either:
- A console command to do the same thing that UI does, or
- An underlying function call to either the kernel or some driver, which the Keyboard.prefPane uses.
Thank you guys in advance.