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.

(to be clear, I know there are similar questions such as "How can I remap windows and alt keys in OS X?" - I'm not asking that. I can make the changes I want, they just get reset every time I unplug the keyboard)

So: Mac OS 10.6.5 on a MacBook Pro, with a Microsoft Natural Ergonomic Keyboard 4000 plugged in via a USB hub, along with other peripherals.

I want to switch the Alt and Windows keys, so their positions match that on the MBP's keyboard (Win key works as Command key with the Mac).

Sys Prefs / Keyboard / Modifier Keys does the job, until I unplug things to work elsewhere. Come back, plug the USB hub in as before, and my Option/Command swap has been forgotten.

Any suggestions as to how to get Mac OS to remember the swap?

Update:

The problem has vanished for me under OS X Lion. Same hardware, same hub, all of the modifiers are remembered.

share|improve this question
1  
It's always the same USB port? –  Daniel Beck Nov 19 '10 at 16:39
    
Yep. The keyboard never leaves the hub, and the hub always lands in the same USB port on the MacBook. –  Paul Roub Nov 19 '10 at 17:12
    
Have you tried plugging it in directly (no hub)? Does it also lose its settings then when reconnecting? –  Daniel Beck Nov 19 '10 at 18:14
    
All good without the hub, so I do have that workaround. Should have mentioned that earlier. –  Paul Roub Nov 19 '10 at 18:50
    
Have you tried a different hub? What happens when you unplug the keyboard from the hub, leave the hub connected, and then reconnect the keyboard to the hub, same port? –  Daniel Beck Nov 19 '10 at 22:09

1 Answer 1

up vote 9 down vote accepted

This appears to be an issue for a lot of people, including me. The apple support forums seem to have the same conclusion that this is some kind of bug with Mac OS X and usb hubs:

https://discussions.apple.com/thread/2364069?threadID=2364069&tstart=0

Their suggestion is to plug the keyboard in directly to the Mac.

I've starting using KeyRemap4MacBook to deal with this issue. What you can do is tell it to remap command to option and option to command for ONLY external keyboards and any non apple external device.

share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.