Whenever I plug my Microsoft Natural Ergonomic Keyboard into my MacBook Pro, I have to swap the Command and Option modifier keys. How can I prevent these keys from reverting to their default settings whenever I unplug the keyboard?
Permanently swapping option and command keys on a non-Apple keyboard
keyboardsystem-prefs
Related Question
- MacOS – How to map Caps Lock as a second Control Key on a Microsoft Natural Ergonomic Keyboard 4000
- MacOS – How to get Mountain Lion to recognise modifier keys from external Windows keyboard
- MacOS – How to swap command and option modifier keys with a script in OS X Lion
- MacOS – Command and Option keys not working on one keyboard (not hardware)
- Command/Control keys are split on PC keyboard with Mac
- MacOS – Mapping USB keyboard Fn key to Option key with DefaultKeyBinding.dict
Best Answer
I assume you already know about the Keyboard Pref Pane. I had exactly the same problem with an Ergonomic and an Arc. The settings didn't stick with external keyboards.
Install KeyRemap4MacBook. It works for any Mac, btw. It remaps keys on all keyboards of a Mac - try to use Enter as Right-Cmd, e.g.
I figured out that weird hack some time ago. It turned out to be rock solid. Only thing to remember: hardware based utilities such as SteerMouse use the 'real' keys, so you need to switch around some things.