Today's stupid question: remapping AltGr to control?

phil lemelin phil.lemelin at
Tue Jun 8 08:21:11 PDT 2010

On Tue, Jun 8, 2010 at 11:14 AM, David Gerard <dgerard at> wrote:

> I have a Dell Mini 9 running Ubuntu 10.04 (xorg-server
> 2:1.7.6-2ubuntu7). I don't use the AltGr key *ever*, and am really
> missing having a right Control key.
> Can I remap AltGr to be a control key? So far I've failed utterly with
> xmodmap and xkeycaps. Failed xmodmap command:
>  xmodmap -e "keysym Alt_R = Control_L"
> xkeycaps says that it thinks it's a Control but doesn't have a modifier.
> Can this actually be done?
> - d.
Did you tried with the keycode instead of Alt_R ?
Usually I  use "xev" to get the keycode generated by the key and I map it
with xmodmap -e.

Philippe-Alexandre Lemelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the xorg mailing list