Le Fri, 21 Jul 2006 22:09:49 +0200 "Matthias B."
<[EMAIL PROTECTED]> a écrit :
> If it's everywhere in X and Xfce doesn't mess with the keys, then I think
> it can only be a mapping problem. Do you have a ~/.Xmodmap file?
No. I tried some .Xmodmap hacking (in the sense of trying every possible
stupid thing I saw in Google or in the man pages), but to no effect
(well, no POSITIVE effect !).
> Run
>
> > xev
>
> What does it output when you press AltGr. For my layout it's
>
> KeyPress event, serial 24, synthetic NO, window 0x1a00001,
> root 0x2d, subw 0x0, time 2460357623, (1054,62), root:(1059,85),
> state 0x0, keycode 113 (keysym 0xff7e, Mode_switch), same_screen YES,
> XLookupString gives 0 characters: ""
KeyPress event, serial 30, synthetic NO, window 0x2a00001,
root 0x4c, subw 0x0, time 164763097, (72,135), root:(76,163),
state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES, XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 30, synthetic NO, window 0x2a00001,
root 0x4c, subw 0x0, time 164763206, (72,135), root:(76,163),
state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift),
same_screen YES, XLookupString gives 0 bytes:
> Post the output of
>
> > xmodmap -pke|grep 113
[EMAIL PROTECTED]:~$ xmodmap -pke|grep 113
keycode 113 = ISO_Level3_Shift
> For me this gives (not surprisingly)
>
> keycode 113 = Mode_switch
>
> Also post the output of
>
> > xmodmap -pm
[EMAIL PROTECTED]:~$ xmodmap -pm
xmodmap: up to 3 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x6d)
mod1 Alt_L (0x40), Alt_L (0x7d), Meta_L (0x9c)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x7f), Hyper_L (0x80)
mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71),
ISO_Level3_Shift (0x7c)
No mod3, did you see ?
> Here this gives:
>
> shift Shift_L (0x32), Shift_R (0x3e)
> lock Caps_Lock (0x42)
> control Control_L (0x25), Control_R (0x6d)
> mod1 Alt_L (0x40)
> mod2 Num_Lock (0x4d)
> mod3 Mode_switch (0x71)
> mod4
> mod5 Scroll_Lock (0x4e)
>
>
> What exactly is the behaviour you want to have? You were talking about "a
> classic dead key". I've never heard of AltGr behaving as a dead key. The
> term "dead key" is usually used to refer to keys such as the accents and
> the tilde ~ which don't produce output when you press them alone but
> instead combine with the key pressed afterwards.
Yes, sorry. By "dead key", I mean a key not supposed to trigger an
action, but a modifier for otheer keys. And this is the behaviour I lost
in Emacs (and emacs alone, for what I saw) : Alt-Gr 9 for example should
send "^" to emacs, but emacs stops after Alt-Gr blinking. So I get the ^
I want, except that when I want to insert it in the macro -9",
it understands "C-c AltGr" "^", blinks on "C-c AltGr" because no macro is
associated to it, and then inserts "^" (proving that Alt-Gr indeed
modified the 9 key to ^).
I hope this is more clear.
[Couic]
> So do you really mean that your AltGr should behave as a dead key (i.e.
> something like the accents or the tilde) or do you in fact mean that it
> should be a modifier?
Second option, of course. My mistake.
> MSB
>
> --
> Who is this General Failure,
> and why is he reading my disk ?
:-)
Thanks for your help.
\bye
--
Nicolas FRANCOIS
http://nicolas.francois.free.fr
A TRUE Klingon programmer does NOT comment his code
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page