I want that my right alt AltGr behaves as my left control Control_L in linux virtual console.
I use the
showkey utility and found out that pressing AltGr generates keycode
100. So I wrote a rebind.map file with this line:
keycode 100 = Control
And then I've loaded this configuration with
loadkeys $(readlink -f rebind.map)
So If I press AltGr + c it should produce the same result as Control+c. And it does, on the first press. On the second press, the keyboard becomes unusable.
How do I correctly bind my AltGr to behave as Control_L in linux virtual console?