Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

share|improve this question
    
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

1 Answer 1

You can remap keys with Xmodmap.

The code for the left ctrl button is

keycode 37 (keysym 0xffe3, Control_L)
share|improve this answer

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.