Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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 am desperately trying to remap the default mod-key Alt to Ctrl or Super using finch. What do I need to add to .gntrc for this?

share|improve this question

There is a tool named as Xcape which can you that required functionality.


open your terminal and type as

 sudo apt-get install git gcc make libx11-dev libxtst-dev pkg-config
 mkdir xcape
 cd xcape
 git clone .

Usage: After installing it all you need to do is simply this in your terminal. for shifting Alt into Ctrl

xcape -e 'Alt_L=Ctrl_L'

Then logout/restart to apply the changes and then you see the changes.

Hope that helps.

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.