Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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 sometimes hook up my macbook to a windows keyboard. The annoying thing is that on windows keyboards the modifier keys at the lower left are layout as

ctrl - windows - alt

while apple keyboards use

ctrl - alt - apple

The windows key functions as the apple key, the problem is that they are located at a different location, and my muscle memory is so set on finding the 'command' key next to the spacebar that I keep executing my shortcuts with alt i.s.o. apple key (and vice versa)

Short of buying an Apple keyboard, does anyone know a way to remap both keys in osx?

share|improve this question
up vote 47 down vote accepted
  • In System Preferences | Keyboard | Modifier Keys you can swap these two keys.
  • Double Command is a PrefPane that offers many options for using Windows-keyboards (see the 3d & 4h checkboxes in the screenshot on that page). I'm not sure it offers advantages over the standard keyboard preferences, but perhaps it includes automatic sensning or a quicker way (hot key?) of changing back and forth.
share|improve this answer
9  
What I find interesting is that you can change it per keyboard (so you can make it different for the laptop keyboard and the external keyboard) – Wim Deblauwe May 23 '12 at 10:56
2  
This solution may no longer be effective - I could not get the built-in Modifier Keys solution to work on Yosemite (OS X 10.10) with a Corsair K70 keyboard. This answer provides an external solution which I found worked well, and is the suggested replacement for the linked Double Command. – Adam S May 25 '15 at 13:37
    
For what it's worth, making the changes under Modifier Keys worked for me. I'm using a Logitech K350 and running OS X El Capitan 10.11.4. – Mike Branski Apr 6 at 18:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .