Define a foreign language keyboard in HP-Ux CDE, with the AltGr key?

Hans Dekker hans.dekker.ext@juntadeandalucia.es
Thu Nov 6 14:30:00 GMT 2003


Hi,

Using startxwin.bat and xev, gives me the following:

KeyPress event, serial 22, synthetic NO, window 0x800001,
     root 0x3a, subw 0x0, time 25294468, (167,-13), root:(627,587),
     state 0x10, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), 
same_screen YES,
     XLookupString gives 0 characters:  ""

KeyPress event, serial 22, synthetic NO, window 0x800001,
     root 0x3a, subw 0x0, time 25294531, (167,-13), root:(627,587),
     state 0x90, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), 
same_screen YES,
     XLookupString gives 0 characters:  ""

and AltGr is working well on this one.

Unfortunately I don't have xev running on the HP-UX box...

Not only CDE has the behaviour of not using AltGr, but another 
X-application I use as well.

Hope it helps.

Regards, Hans.

Alexander Gottwald escribió:
> On Thu, 6 Nov 2003, Hans Dekker wrote:
> 
> 
>>Hi Takuma,
>>
>>I tried Xterm and there is works OK. As I read the documentation on the 
>>usage of xdmcp to start a CDE environment, changing the XF86Config 
>>should be working, however I didn't find how to do it in the case of a 
>>Spanish keyboard.
>>
>>What is the auto detection option you are talking about?
> 
> 
> The autodetection changes the layout according to the layout used in
> windows. This can be overridden in the XF86Config file but this not
> needed in most cases.
> 
> If the layout is correct with startxwin.bat then it is also loaded with
> xdmcp. Maybe CDE does load a wrong modmap?
> 
> Can you try xev and press Alt-Gr?
> 
> For me it reports the following. 
> 
> KeyPress event, serial 22, synthetic NO, window 0x1600001,
>     root 0x3a, subw 0x1600002, time 1891239428, (55,39), root:(136,215),
>     state 0x0, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> KeyRelease event, serial 27, synthetic NO, window 0x1600001,
>     root 0x3a, subw 0x1600002, time 1891239498, (55,39), root:(136,215),
>     state 0x80, keycode 113 (keysym 0xfe03, ISO_Level3_Shift), same_screen YES,
>     XLookupString gives 0 characters:  ""
> 
> bye
> 	ago




More information about the Cygwin-xfree mailing list