Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using vim or emacs a lot the control key is used far more often than the caps lock key and it seems sensible from an ergonomic point of view to have the control key in the place that the caps lock key is.

Is there are a system-wide way to rebind the caps lock key to be the control key in Ubuntu?

Preferably I'd like something that is going to be more or less a permanent change.

share|improve this question
up vote 5 down vote accepted

System | Preferences | Keyboard | Layouts | Layout Options... | Ctrl key position | Make CapsLock an additional Ctrl

share|improve this answer

call xmodmap somewhere in Xsessions/xinitrc's; may be rewritten at package updates.

share|improve this answer

Your Answer


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.