How to Unmap Super key to control key?
Run xmodmap -pm in a terminal window to get a list of the bound modifiers. On my machine (and presumably yours) Super is referred to as mod4. Super_L and Super_R are separate keys which output the same modifier. Now you can unmap the modifier from it. Run the xmodmap command (using one of the methods above)
How to restore the default keymap on the keyboard?
Xkbcomp creates normal.xkb file, the keyboard’s complete default keymap. After you are done with Dyalog, the keyboard state can be easily restored with Retrieve from /etc/default/keyboard the relevant settings for the setxkbmap command:
Are there any super keys on the keyboard?
The output of xmodmap -pm might given you several keys named Super_L but none named Super_R). If it did, you now have several extra keys assigned to Control, but none assigned to Super. You’ll have to rename one key.
How to set up key mappings with.xmodmap?
You can also use the above command if you only want to make a slight modification (e.g. add a single key): The next step is to assign our special characters to keys (so they would be available with Alt_R+key). Find out the codes of the characters you want to use from a table like this one: http://biega.com/special-char.html.
What’s the worst thing you can do with xmodmap?
The worst thing one can do is to just copy a custom Xmodmap found on the internet without understanding how it works. You should use whatever existing mapping you already have (you must have one which works by default), and make modifications on top of it. Here’s what you do (in a terminal, from your $HOME dir, as a regular user):
How to map alt key to mode switch?
This will have to be adapted to a xmodmap-compliant syntax, until it looks similar to the code below (don’t worry it’s really simple to adapt): What I did was map the Alt_R key to the Mode_switch mode, which will allows special modes for keys, like special symbols and stuff.