How can I change the keyboard layout to Dvorak on a mac, using the terminal? What is the defaults write setting for the keyboard layout?
|
feedback
|
|
This snippet did the trick for me. Note that I use Quicksilver to launch apps, so I remapped the keyboard shortcut for "switch input menu" from
| |||
|
feedback
|
plist=$(find ~/Library/Preferences/ByHost/com.apple.HIToolbox.*); defaults write ${plist%.*} AppleCurrentKeyboardLayoutInputSourceID -string com.apple.keylayout.US; killall SystemUIServer. I couldn't get that to work myself though. – Lri Jun 24 '11 at 3:36