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 am desperately trying to remap the default mod-key (alt) to ctrl or super using finch. What to add to .gntrc for this?

Thanks in Advance!

share|improve this question

1 Answer 1

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 https://github.com/alols/xcape.git .

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.