How to remap Super/Windows(left) key to control key in linux

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..


Solution 1:

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