[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: xmodmap Problem



Hello,

I just noticed that the two xev outputs differ in the serial...does anybody
know the meaning of serial here? Could it be the source of the problem?

Thanks,
Rainer

On Donnerstag, 8. Januar 2004 15:46, you wrote:
> Warren,
>
> I could not find a reference in the Debian X FAQ to the problem. Please
> note, I do load my xmodmap using
>
> $ xmodmap .Xmodmap
>
> and even after that it does not work....
>
> It is most likely a very subtile problem since I use that method since 1994
> and it worked on all Debian systems since version 1.3 (and slackware
> before) and it works on many other woody systems, just on one it does
> not....
>
> On this system, I get
>
> rdorsch@paddy:~$ xmodmap -pke|grep " 26"
> keycode  26 = e E EuroSign cent
> rdorsch@paddy:~$ xmodmap -pke|grep 113
> keycode 113 = Mode_switch
>
>
> but xev ignores not do the mapping to the right keysym:
>
> 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 a woody system, where the mapping is working, I get:
>
> 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:  ""
>
>
> I still have no clue what could be wrong, but any input is still very
> welcome....
>
>
> Thanks,
> Rainer



Reply to: