I have a macbook and I want to remap the keyboard because my Ctrl key stops working so I found this how to, but since the Ctrl key doesn't work I can't obtend the keycode that this tutorial mention is there another way to do this?.

My MacBook its an Aluminium Unibody (5,1) btw

  • Do macs not have 2 control keys? How about you alter the keyboard itself in systemsettings->hardware->keyboards->options->control key position? – Rinzwind May 4 '11 at 18:10

You can remap keys with Xmodmap.

The code for the Left Ctrl button is

keycode 37 (keysym 0xffe3, Control_L)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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