gygwin/x keyboard

Alexander Gottwald Alexander.Gottwald@s1999.tu-chemnitz.de
Fri Mar 25 14:42:00 GMT 2005


Silvio A. Vitiello wrote:

> Although I have a brazilian keyboard and it seems to be properly
> configurated as you can see in the XWin.log file, I can't get characters
> like / and the question mark to appear in any of the keys.

I've check my local installation and everything with the keyboard configuration
seems to be ok. But I'm not sure if the correct key is reported.

Please try

$ setxkbmap br -model abnt2
$ xev

press the key in the event window and report the keypress event. Something like

KeyPress event, serial 26, synthetic NO, window 0x2400002,
    root 0x65, subw 0x2400003, time 72994276, (62,62), root:(295,542),
    state 0x0, keycode 38 (keysym 0x61, a), same_screen YES,
    XLookupString gives 1 bytes: (61) "a"
    XmbLookupString gives 1 bytes: (61) "a"
    XFilterEvent returns: False

(this is for key a since I don't have the special key on my keyboard)

So far XWin expects the keycode to be 211. Maybe this is wrong.

bye
        ago
NP: NCOR - An Dunklen Tagen (T.S.M.'s Cracker Beat)
-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de
 http://www.gotti.org           ICQ: 126018723



More information about the Cygwin-xfree mailing list