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

I'm looking to use the left control key as an additional [Meta] in emacs. I'm running Ubuntu 10.04 LTS, and I assume something could be done using xmodmap. Previous attempts at this have caused me to sudo dpkg-reconfigure console-setup in order to get all of my keys working correctly again. An emacs-only solution that could go in my ~/.emacs.d/init.el would be preferable!

share|improve this question
xmodmap -pke|sed -n -e '/= Control_L/s/Control_L/Meta_L/gp' | xmodmap -
share|improve this answer
This is not what I am looking for. I already have CapsLock remapped in this fashion. What I need is a way for emacs to see the left control key as my Meta key. – user636685 Jun 2 '11 at 1:30
@user636685: Sorry, I completely misread your question. I have now changed my answer to fit your actual question. – Teddy Jun 11 '11 at 2:40

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.