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.

in my keyboard the command key is mapped to the windows key (I'm using a regular PC keyboard) so I only have a left command, because the space on the right is occupied by the useless Fn key.

I've used Ukelele and also edited keyboard mappings but that's for printable characters, doesn't actually allow you to map modifier keys on the keyboard.

Thanks!

share|improve this question
1  
Check in the Keyboard tab of the “Keyboard & Mouse” preference pane in System Preferences. Back in 10.4 there is a “Modifier Keys…” that lets you remap the modifier keys. With it you could reassign (for example) Control or Alt be your Command key. Maybe it is also there in whichever version of Mac OS X you are using. –  Chris Johnsen Dec 10 '09 at 22:34
add comment

4 Answers

up vote 9 down vote accepted

The answer was as easy as this:

  • Click the Apple logo in the top left of your screen
  • Select "System Preferences"
  • Select "Keyboard"
  • Make sure the "Keyboard" "tab" is selected
  • Select the "Modifier Keys..." button in the bottom right of the window
  • Select keyboard: "USB Keyboard" (probably - if you're like me, you're trying to configure a keyboard that's plugged in to your laptop)
  • Switch the "Option" and "Command" values

enter image description here

share|improve this answer
1  
The easiest answer on the web! Thank you. –  sshakir Feb 3 at 16:44
add comment

DoubleCommand can remap keys, you just need to know the Mac keyboard equivalents on your keyboard:

enter image description here

DoubleCommand is free and open source

share|improve this answer
1  
+1 I just made the switch and DoubleCommand saved me! –  Eric Wendelin Dec 9 '09 at 21:36
    
Thanks, I'll give it a try. This software is always running or it just makes the changes and they stay in the OS? Also, isn't any plist file anywhere to do this? Thanks! –  Petruza Dec 11 '09 at 11:57
add comment

I recommend this keymap software for Mac OSX: http://pqrs.org/macosx/keyremap4macbook/ I used doublecommand before, feel this is better.

share|improve this answer
add comment

If you're trying to do something that the built-in OSX preferences or apps like DoubleCommand can't change — like remap right-control to command but leave left-control as is — you can do that with a little Terminal hacking:

http://hints.macworld.com/article.php?story=20060825072451882

share|improve this answer
add comment

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.