--- Begin Message ---
Package: xbase-clients
Version: 4.1.0-16woody1
Severity: normal
Hello,
I am loading an xmodmap using
$ xmodmap .Xmodmap
and .Xmodmap looks like this
$ cat .Xmodmap
! The first four keysyms are reached as follows:
! 1. The decision between keysym1 or keysym2 (and keysym3 or keysym4)
! is done by the key with the keysym Shift_[LR] (or maybe by the key
! with the modifier bit keysym
! 2. The decision between the keysym1/keysym2 and keysym3/keysym4 group is
! done by the key with generates the Mode_switch keysym (which is in this
! case the left Alt key).
keycode 30 = u U udiaeresis
keycode 32 = o O odiaeresis
keycode 38 = a A adiaeresis
keycode 39 = s S ssharp
keycode 0x1A = e E EuroSign cent
keycode 113 = Mode_switch
$
running xmodmap worked, e.g.
[EMAIL PROTECTED]:~$ xmodmap -pke|grep " 26"
keycode 26 = e E EuroSign cent
[EMAIL PROTECTED]:~$ xmodmap -pke|grep 113
keycode 113 = Mode_switch
That is all ok so far. But when pressing now AltR+<redefined key> I always get
the <key> symbol. E.g. when pressing AltR+E I get an "e" instead of a "euro"
sign. xev shows the problem
KeyPress event, serial 28, synthetic NO, window 0x5c00001,
root 0x2e, subw 0x0, time 4122365331, (87,47), root:(794,67),
state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 28, synthetic NO, window 0x5c00001,
root 0x2e, subw 0x0, time 4122366138, (87,47), root:(794,67),
state 0x8, keycode 26 (keysym 0x65, e), same_screen YES,
XLookupString gives 1 characters: "e"
KeyRelease event, serial 28, synthetic NO, window 0x5c00001,
root 0x2e, subw 0x0, time 4122366231, (87,47), root:(794,67),
state 0x8, keycode 26 (keysym 0x65, e), same_screen YES,
XLookupString gives 1 characters: "e"
KeyRelease event, serial 28, synthetic NO, window 0x5c00001,
root 0x2e, subw 0x0, time 4122379292, (87,47), root:(794,67),
state 0x8, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
On another system (woody as well), where the mapping is working
correctly, I get (search for EuroSign):
KeyPress event, serial 26, synthetic NO, window 0x4c00001,
root 0x25, subw 0x4c00002, time 4122789400, (31,52), root:(43,163),
state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
KeyPress event, serial 26, synthetic NO, window 0x4c00001,
root 0x25, subw 0x4c00002, time 4122789700, (31,52), root:(43,163),
state 0x2000, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 26, synthetic NO, window 0x4c00001,
root 0x25, subw 0x4c00002, time 4122789790, (31,52), root:(43,163),
state 0x2000, keycode 26 (keysym 0x20ac, EuroSign), same_screen YES,
XLookupString gives 0 characters: ""
KeyRelease event, serial 26, synthetic NO, window 0x4c00001,
root 0x25, subw 0x4c00002, time 4122790060, (31,52), root:(43,163),
state 0x2000, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
XLookupString gives 0 characters: ""
Please let me know, if I can provide any additional information.
Thanks,
Rainer
-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux paddy 2.4.18-1-386 #1 Mon Jan 5 17:13:05 UTC 2004 i686
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED]
Versions of packages xbase-clients depends on:
ii cpp 2:2.95.4-14 The GNU C preprocessor.
ii debconf 1.0.32 Debian configuration management sy
ii libc6 2.2.5-11.5 GNU C Library: Shared libraries an
ii libdps1 4.1.0-16woody1 Display PostScript (DPS) client li
ii libfreetype6 2.0.9-1 FreeType 2 font engine, shared lib
ii libncurses5 5.2.20020112a-7 Shared libraries for terminal hand
ii libxaw7 4.1.0-16woody1 X Athena widget set library
ii xlibmesa3 4.1.0-16woody1 XFree86 version of Mesa 3D graphic
ii xlibmesa3 [libgl1] 4.1.0-16woody1 XFree86 version of Mesa 3D graphic
ii xlibs 4.1.0-16woody1 X Window System client libraries
--- End Message ---