I would like to use the key AltGr as my main Alt key. Unfortunately, the AltGr doesn't behave like the left Alt key with the software I use, e.g.
With the command
xev the left Alt key has the keycode 64, and the AltGr has the keycode 108.
$ xmodmap -pke gives me the following result for the left Alt key and the right AltGr keys:
keycode 64 = Alt_L Meta_L Alt_L Meta_L keycode 108 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
To be brief, I would like to swap the left Alt key, with the AltGr key.
I'm using 14.04 server.