altGR key problem with windows XP

alain perrier aperrier@free.fr
Sun Feb 9 19:00:00 GMT 2003


Thanks for your help but XF86Config or xmodmap works fine to map to a 
french keyboard but don't solve the AltGR problem. It seem this problem
was encountered by other people. I found a message thread ont it in 
mailling list archive...

On November 03 , Andreas Schessner wrote :
"I use the X server of Cygwin/XFree86 (XWin) and it is working fine on 
my Windows 2000 Workstation but running the same version on my Notebook 
(Windows XP) causes problems with the AltGr handling.

I've noticed that pressing the AltGr Key produces a
      KeyPress-Control_L
      KeyPress-Mode_switch
      KeyRelease-Control_L
      KeyRelease-Mode_switch
event sequence (see xev output at the end of this mail).

I began to trace the code (winkeybd.c, function winIsFakeCtrl_L) and
found out that on my XP notebook the windows messages VK_CONTROL (the
faked Control_L) and VK_MENU don't have the same timestamp and it is not
always possible to get the following VK_MENU message by issuing the
PeekMessage().
I don't know if this problem is relating to my Notebook (Dell Latitude)
or to Windows XP. Are there other people having the same problems?"

And Harold L Hunt II answered:
"Interesting. I think you may have found the reason (and solution) for 
why a select few users with non-U.S. keyboard layouts are still having 
problems with fake Control_L presses and releases."

Does Harold ( or anybody ) made a patch in the current release to solve 
this problem ? Is there other people still having the same problem?


Mathias Gygax a écrit:
> On Son, Feb 09, 2003 at 06:49:58 +0100, alain perrier wrote:
> 
>>Hello,
> 
> 
> hello,
> 
> 
>>I use the latest version of cygwin and Xfree86 4.2.0-15 with a french
>>xmodmap on a Windows 2000 Workstation without any problem .
>>When I try to run the same version ( same xmodmap.fr) on a windows XP
>>workstation, I can't get any #{[|`\^@]} symbol. I tried
>>running it with XF86Config-4 unsuccessfuly and definitevely have this
>>strange problem with AltGr handling... I saw in the mailling list
>>archive that some people had the same problem near November 2002. Could
>>anybody give me the rigth way to have AltGR key working ???
> 
> 
> try the 
> 
> 	Option		"XkbVariant"	"nodeadkeys"
> 
> option in XFree86-4 config. xmodmap is obsolete as of the release of
> xfree4.x
> 
> HTH
> 
>  - regards, turrican
> 
> 




More information about the Cygwin-xfree mailing list