Package: xkb-data Version: 1.0~cvs.20070916-1 Severity: important
If the xkb option ctrl(swapcaps) is set to make CapsLock an additional Ctrl, CapsLock-Alt_L combination does not generate KeyPress event for Alt_L when pressing Alt_L key. Instead it is generated when *releasing* the Alt_L key. There is no problem when pressing CapsLock-Alt_R or Ctrl_L-Alt_L. Here is my xkb settings: athlon:~% setxkbmap -v Trying to build keymap using the following components: keycodes: xfree86+aliases(qwerty) types: complete compat: complete symbols: pc+us+ctrl(swapcaps) geometry: pc(pc104) To reproduce the problem, first do 'setxkbmap -v -option ctrl(swapcaps)'. Then press CapsLock, and press Alt_L. No event is generated when pressing Alt_L. If you release Alt_L, then both KeyPress and KeyRelease events for Alt_L are generated at the *same* time. See the following xev output: KeyPress event, serial 27, synthetic NO, window 0x3c00001, root 0x1a6, subw 0x0, time 198571408, (367,-23), root:(371,0), state 0x10, keycode 66 (keysym 0xffe3, Control_L), same_screen YES, XKeysymToKeycode returns keycode: 37 XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 30, synthetic NO, window 0x3c00001, root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0), state 0x14, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 30, synthetic NO, window 0x3c00001, root 0x1a6, subw 0x0, time 198578840, (379,-23), root:(383,0), state 0x1c, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False Note that the timestamps for KeyPress and KeyRelease events are the same. Takeshi -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22.9 (SMP w/2 CPU cores; PREEMPT) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]