Bug#498210: xserver-xorg-input-kbd: ctrl:nocaps keycode 66 is on both the control and shiftlock modifier list
Package: xserver-xorg-input-kbd
Version: 1:1.3.1-1
Severity: normal
When using the CapsLock key as a new Control set with X option
ctrl:nocaps, the CapsLock appears to be in both the shiftlock and the
control modifier list.
This a problem, for example, in Emacs when using C-n or C-p.
See the xev results for both CapsLock and Ctrl key:
For the CapsLock:
KeyPress event, serial 33, synthetic NO, window 0x3600001,
root 0x8b, subw 0x0, time 82422639, (109,-9), root:(113,36),
state 0x0, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x3600001,
root 0x8b, subw 0x0, time 82422761, (109,-9), root:(113,36),
state 0x6, keycode 66 (keysym 0xffe3, Control_L), same_screen YES,
XKeysymToKeycode returns keycode: 37
XLookupString gives 0 bytes:
XFilterEvent returns: False
For the normal Ctrl key:
KeyPress event, serial 33, synthetic NO, window 0x3600001,
root 0x8b, subw 0x0, time 82373457, (72,-12), root:(76,33),
state 0x0, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 33, synthetic NO, window 0x3600001,
root 0x8b, subw 0x0, time 82373612, (72,-12), root:(76,33),
state 0x4, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages xserver-xorg-input-kbd depends on:
ii libc6 2.7-13 GNU C Library: Shared libraries
ii xserver-xorg-core 2:1.4.2-4 Xorg X server - core server
xserver-xorg-input-kbd recommends no packages.
xserver-xorg-input-kbd suggests no packages.
-- no debconf information
Reply to: