AltGr key not working outside GNOME
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xkeyboard-config (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Description: Ubuntu 8.04.2
Release: 8.04
xorg:
Installiert:
Mögliche Pakete:
Versions-Tabelle:
*** 1:7.3+10ubuntu10.2 0
500 http://
100 /var/lib/
1:
500 http://
I just switched to console login and starting X via startx using ion as window manager.
The AltGr key on my keyboard stopped working since then. If I start the gnome-keyboard-
I get the following messages on console when starting X:
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdBrightne
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
The keyboard section of my xorg.conf looks like this:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "de"
Option "XkbVariant" "nodeadkeys"
EndSection
If I run xev and press AltGr+q for example I get the following output on console:
KeyPress event, serial 25, synthetic NO, window 0x1600001,
root 0x8a, subw 0x0, time 9196321, (350,-10), root:(350,36),
state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyPress event, serial 25, synthetic NO, window 0x1600001,
root 0x8a, subw 0x0, time 9196553, (350,-10), root:(350,36),
state 0x88, keycode 24 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: (40) "@"
XmbLookupString gives 1 bytes: (40) "@"
XFilterEvent returns: False
KeyRelease event, serial 25, synthetic NO, window 0x1600001,
root 0x8a, subw 0x0, time 9196689, (350,-10), root:(350,36),
state 0x88, keycode 24 (keysym 0x40, at), same_screen YES,
XLookupString gives 1 bytes: (40) "@"
XFilterEvent returns: False
KeyRelease event, serial 25, synthetic NO, window 0x1600001,
root 0x8a, subw 0x0, time 9196801, (350,-10), root:(350,36),
state 0x88, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
If I press AltGr+q within an xterm nothing happens. So it seems to me that the key is recognized but not printed?!?
My .xsession :
if [ -e ~/.Xmodmap ]; then
/usr/bin/xmodmap ~/.Xmodmap
fi
/usr/bin/urxvtd -q -o -f
/usr/bin/docker >/dev/null &
/usr/bin/
ion3
My .Xmodmap :
! ~/.Xmodmap
! rechte win-menu taste:
add Mod3 = Menu
! Microsoft Ergonomic Keyboard 4000
! Zoom should work like mouse wheel already
! Homepage, Search, E-Mail
!keycode 130 = XF86HomePage
keycode 178 = XF86WWW
keycode 229 = XF86Search
!keycode 120 = XF86Mail
keycode 236 = XF86Mail
! 1 - 5 special keys
keycode 183 = XF86Launch1
keycode 184 = XF86Launch2
keycode 93 = XF86Launch3
keycode 131 = XF86Launch4
keycode 247 = XF86Launch5
! Audio Mute, Volume Lower, Volume Raise, Play
keycode 160 = XF86AudioMute
keycode 174 = XF86AudioLowerV
keycode 176 = XF86AudioRaiseV
keycode 162 = XF86AudioPlay
! Calc
keycode 161 = XF86Calculator
! Favourites
keycode 230 = XF86Favorites
! Back/Forward
keycode 234 = XF86Back
keycode 233 = XF86Forward
! F1 - F12 second row without F-Caps-Key (right side of F12)
keycode 245 = osfHelp
keycode 135 = osfUndo
keycode 138 = osfRestore
keycode 137 = XF86New
keycode 191 = XF86Open
keycode 175 = XF86Close
keycode 228 = XF86Reply
keycode 142 = XF86MailForward
keycode 218 = XF86Send
keycode 240 = XF86Spell
keycode 213 = XF86Save
keycode 185 = XF86Launch6
! the three keys top left in number block
! the backspace key right has code 22 already and works like backspace
keycode 157 = XF86Launch7
keycode 246 = XF86Launch8
keycode 251 = XF86Launch9
On virtual console (text mode) everything works just fine.
affects: | xorg (Ubuntu) → xkeyboard-config (Ubuntu) |
tags: | added: hardy |
tags: | removed: needs-lspci-vvnn |
I just got the AltGr key working again. The following entry in my .Xmodmap did the trick:
keycode 113 = Mode_switch Multi_key
Although the warning message when starting X stays the same:
expected keysym, got XF86KbdLightOnOff: line 70 of pc ssDown: line 71 of pc ssUp: line 72 of pc ssDown: line 71 of pc ssUp: line 72 of pc
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdLightOnOff: line 70 of pc
expected keysym, got XF86KbdBrightne
expected keysym, got XF86KbdBrightne
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server