Tuning Ubuntu on a Macintosh - key mapping and 3 mouse button emulation | Linux on your Apple Mac | iLinux: "xmodmap -e “remove control = Control_L Control_R” # unmap Ctrl
xmodmap -e “remove mod4 = Super_L Super_R” # unmap super
xmodmap -e “keycode 115 = Control_L Control_L” # map Command to Alt
xmodmap -e “keycode 116 = Control_R Control_R” # map Command to Alt
xmodmap -e “keycode 64 = Super_L Super_L” # map Alt to Command
xmodmap -e “keycode 113 = Super_R Super_R” # map Alt to Command
xmodmap -e “add control = Control_L Control_R” # map new Ctrl to Ctrl"
'via Blog this'