Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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.

share|improve this question
    
See here. –  Ansgar Wiechers Sep 3 '12 at 20:45
    
I don't even have that button, but you might see what key is changed by diffing the output of defaults read. –  ؘؘؘؘ Sep 4 '12 at 6:06
    
@Lri Change Keyboard Type… requires a non-Apple keyboard, IIRC, I had that button with my Das Keyboard. –  Daniel Beck Sep 4 '12 at 6:22

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.