Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like my Option and Alt keys to switch places in certain applications. Is there any way to change the modifier keys according specific applications in Mac OS X?

Alternatively; is there "an application for that"?

share|improve this question

closed as not a real question by studiohack Dec 4 '11 at 20:49

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Option and Alt are the same key. Is this just a mistake, or do you really somehow simultaneously want both the OS X Option and the Windows/Linux Alt to sit on different keys? – Arjan May 15 '10 at 12:59
I guess it's a typo and he meant "option", "command" and/or "control". Still, you have a point. – o0'. May 16 '10 at 15:35
You can remap individual menu items of a specific application in System Preferences » Keyboard » Keyboard Shortcuts » Applications. Especially if you want to switch Option and Control, this might be a viable choice. – Daniel Beck Dec 4 '11 at 19:49

I use Ukulele for a PC keymap (there are included Logitech keymaps for OSX86 users). DoubleCommand is a great app to swap Command, Option and Control, and it can correct the behavior of the Home/End keys on PC.

share|improve this answer

You may build a different keymap and switch keymap when you switch application. I don't know if Ukelele allows you to change the position of the modifiers key, but if it doesn't I guess you still can edit the XML by hand.

(still, I think you'd better accept the proper keys rather than doing this dirty workaround)

share|improve this answer
You can't swap the modifier keys in a .keylayout (or with Ukelele). You could switch the keymaps under ⌥ and ⇧ for example, but that would only affect text output, not shortcuts in most cases. (⌘ and ⌃ don't usually even have output.) – user495470 Jul 28 '11 at 4:47

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