Remapping the AltGr key to Control

wettstein509 at wettstein509 at
Sat Feb 25 12:29:07 PST 2012

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

Look for "Right Alt".  There is an option ctrl:ralt_rctrl (defined in
xkb/symbols/ctrl) that looks like it does what you want.  This option
was introduced in xkeyboard-config version 2.4, so it is quite new.


More information about the xorg mailing list