4

Remapping the AltGr key to Control with setxkbmap

view full story
linux-howto

http://askubuntu.com – Is there a way to remap the AltGr key to Ctrl with setxkbmap? I've already checked the option section in "/usr/share/X11/xkb/rules/base.lst" but I didn't find an entry for AltGr... I also tried xmodmap, however some xmodmap entries on my /.xsesssionrc seem to be ignored at system startup, and they don't take effect. Therefore I decided to achieve that through setxkbmap or xkb... My keyboard layout is set to gb (on an italian keyboard). This is what xmodmap prints: shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x69) mod1 (HowTos)