XFree86 4.3.0 and AltGr

Harold L Hunt II huntharo@msu.edu
Thu Dec 25 05:39:00 GMT 2003


Okay, XFree86-xserv-4.3.0-29 has just been posted.  Please try it and 
somebody please tell me whether it fixes the problem for them or not.

Harold

Harold L Hunt II wrote:

> I believe I have found just the right amount of magic to fix this once 
> and for all.  Please stay tuned to test the new release.
> 
> Harold
> 
> Philippe Auclair wrote:
> 
>> Hi,
>>
>> Gosh, what an exciting thread about "Proper attribution of patches"!
>>
>> Now, to the point... As many Europeans, as Michael Lipp said, "I stumbled
>> over the not-working AltGr" (I have a French keyboard, and a Windows XP
>> box).
>>
>> After various unsuccessful tries with XF86Config, I had a good look at 
>> the
>> results of xev. The xev downloaded with Cygwin XFree, and xev on Sun 
>> Solaris
>> give similar results: when I press the single key AltGr, xev says:
>> KeyPress event, serial 18, synthetic NO, window 0xc00001,
>>     root 0x3a, subw 0x0, time 2826093, (105,60), root:(899,527),
>>     state 0x10, keycode 37 (keysym 0xffe3, Control_L), same_screen YES,
>>     XLookupString gives 0 characters:  ""
>>
>> KeyPress event, serial 18, synthetic NO, window 0xc00001,
>>     root 0x3a, subw 0x0, time 2826093, (105,60), root:(899,527),
>>     state 0x14, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), 
>> same_screen
>> YES,
>>     XLookupString gives 0 characters:  ""
>>
>> I then tried xmodmap with the following commands:
>> clear Mod5
>> keycode 113 = Mode_switch
>> add Mod3 = Mode_switch
>>
>> -> result when pressing AltGr: keycode 37 (Control_L) + keycode 113
>> (Mode_switch)
>>
>> Of course, xterm or emacs don't understand... OK, well is there an unused
>> key at the bottom of the keyboard?
>> XFree doesn't see the "Windows " key at all, but I have a key which, when
>> pressed in a Windows application, does the same as right click. xev sees
>> this key as keycode 101. So I feed this into xmodmap:
>> clear Mod5
>> keycode 101 = Mode_switch
>> add Mod3 = Mode_switch
>> keycode 10 = ampersand 1
>> keycode 11 = eacute 2 asciitilde
>> keycode 12 = quotedbl 3 numbersign
>> keycode 13 = apostrophe 4 braceleft
>> keycode 14 = parenleft 5 bracketleft
>> keycode 15 = minus 6 bar
>> keycode 16 = egrave 7 grave
>> keycode 17 = underscore 8 backslash
>> keycode 18 = ccedilla 9 asciicircum
>> keycode 19 = agrave 0 at
>> keycode 20 = parenright degree bracketright
>> keycode 21 = equal plus braceright
>>
>> Bingo! xterm and emacs work!  Except I use this odd key instead of AltGr,
>> which I *REALLY* would prefer.
>>
>> Hope this helps...
>>
>> Philippe Auclair
>> **********************************************
>> Institut National de la Recherche Agronomique
>> Unité Centrale Informatique de Jouy
>> Domaine de Vilvert, 78352 Jouy-en-Josas CEDEX, France
>> Philippe.Auclair@jouy.inra.fr
>> tel +33 1 34 65 26 95, fax +33 1 34 65 24 03
>> **********************************************
>>
>>
> 



More information about the Cygwin-xfree mailing list