More info from another bug which has been marked as a duplicate of this
one:
Option "XkbOptions" "lv3:ralt_switch" is set by default in xorg.conf.
This can be manually commented out or you can run "sudo dpkg-reconfigure
xserver-xorg" and disable the option from in there.
** Summary changed:
- right Alt key not recognized by default
+ right Alt key not recognized by default (lv3:ralt_switch shouldn't be set by
default for US keyboard layouts)
** Description changed:
Under my default Edgy installation, the right Alt key is not recognized
as an Alt key.
xev reports the following:
"
KeyPress event, serial 26, synthetic NO, window 0x2e00001,
root 0x4d, subw 0x0, time 2876629954, (-392,496), root:(281,563),
state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 29, synthetic NO, window 0x2e00001,
root 0x4d, subw 0x0, time 2876630333, (-392,496), root:(281,563),
state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen
YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
"
Selecting the "Alt and Meta are on the Alt keys" option in "Keyboard
Preferences" fixes this behavior (right Alt is correctly identified as
Alt_R). Hardware is a Samsung Q30 laptop; the selected keyboard layout
is "Generic 105-key (Intl) PC".
The following forum threads seem relevant:
http://ubuntuforums.org/showthread.php?t=291363&highlight=mod5
http://ubuntuforums.org/showthread.php?t=217326&highlight=mod5
The "Press Right Alt key to choose 3rd level" option in "Keyboard
Preferences" appears to be selected by default on installation. It
cannot be unselected on its own, but selecting a different option (such
as "Press Menu key to choose 3rd level") allows it to be unselected,
which then also fixes this behavior (the "Alt and Meta" option above
does not then need to be selected).
At the very least, a non-Alt right-Alt key is surprising default
behavior. The options which appear to alter this behavior, described
above, are confusingly named at best (what are "Third level choosers",
and why do I care about them?), and appear to default to settings which
most users would not prefer.
+
+ (EDIT: Also happens in Feisty, Option "XkbOptions" "lv3:ralt_switch" is
+ set by default in xorg.conf, shouldn't be for US keyboards layouts)
--
right Alt key not recognized by default (lv3:ralt_switch shouldn't be set by
default for US keyboard layouts)
https://launchpad.net/bugs/76901
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs