Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Could anyone please tell me how to remap my Super(left) key to Ctrl key in Ubuntu Linux?

I mean Super(left) should work as control key..

share|improve this question

2 Answers 2

Save the following (untested) code to a file and use it as an argument for the xmodmap command:

clear Control
clear Mod4
keysym Super_L = Control_L
add    Control = Control_L Control_R
add    Mod4    = Super_L Super_R
share|improve this answer
    
This is just perfect for a mac keyboard. –  Datageek Mar 16 '13 at 16:57
    
Worked for me on crunchbang –  brettof86 Jan 30 at 5:13

I assume you are using GNOME 3.

in terminal write

$ gnome-control-center

click on "keyboard" then click on "layout settings" then "options..." then "Alt/Win key behavior" then choose "control is mapped to Win keys( and the usual CTRL keys)

UPDATE: if you want to disable the original CTRL key then from "options.." choose "compose key position" and check both left/right CTRL.

share|improve this answer
    
Thanks! But small disadvantage is both super keys are acting as Ctrl key. Is there any way to make only left Super key to act as Ctrl.. –  Sandy May 15 '12 at 8:11
    
@Sandy i've updated the post. applying the update will make only left Super key to act as Ctrl. feel free to accept the answer if it did work. –  Maxwell S. May 15 '12 at 13:36
    
Sorry, it didn't worked.. –  Sandy May 16 '12 at 8:51
    
@Sandy did you do both of them i mean the answer and the update? it did work for me on fedora 16! –  Maxwell S. May 16 '12 at 9:58

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.