How do I switch the Command key and Control key on a MacBook Pro?

Posted by kalaracey on Ask Ubuntu See other posts from Ask Ubuntu or by kalaracey
Published on 2012-05-05T07:29:06Z Indexed on 2014/06/12 21:40 UTC
Read the original article Hit count: 287

Filed under:
|
|

I have scoured the web, and I can't seem to get Xmodmap / anything to work properly. I want to swap BOTH my Command keys with my Control key - in essence, inverting what they do currently.

How would I do that?

I tried xmodmap -e "keycode 133 = Control_L" and corresponding commands for keycodes 134 (right command) and 37 (control left). I even tried these commands, plus xmodmap -pke > ~/.Xmodmap and xmodmap ~/.Xmodmap in .xinitrc.

My end goal is I want HUD / Dash to come up when I click control and command to functional control, i.e., control-v is a commond shortcut to paste, i would click command-v

© Ask Ubuntu or respective owner

Related posts about keyboard-layout

Related posts about macbook