This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ABNT2 keyboard problem with new X


On Wed, 21 Apr 2004, Frédéric L. W. Meunier wrote:

> KeyPress event, serial 27, synthetic NO, window 0xa00001,
>     root 0x3a, subw 0x0, time 66861468, (-382,212), root:(428,231),
>     state 0x0, keycode 123 (keysym 0x0, NoSymbol), same_screen YES,
>     XLookupString gives 0 bytes:
>     XmbLookupString gives 0 bytes:
>     XFilterEvent returns: False
> 
> > also try if setxkbmap -v br -model abnt2 works.
> 
> No.
> 
> Warning! Multiple definitions of keyboard model
>          Using command line, ignoring X server
> Warning! Multiple definitions of keyboard layout
>          Using command line, ignoring X server
> Trying to build keymap using the following components:
> keycodes:   xfree86(abnt2)+aliases(qwerty)
> types:      complete
> compat:     complete
> symbols:    pc/pc(pc104)+pc/br
> geometry:   pc(abnt2)

try this:
open /etc/X11/xkb/keycodes/xfree86
search for abnt2 and edit it that the line with AB11 is present as 
shown below.
 
// For brazilian ABNT2 keyboard. by Ricardo Y. Igarashi(iga@that.com.br)
xkb_keycodes "abnt2" {
    include "xfree86(basic)"
    <BKSL> = 94;
    <AC12> = 51;
    <AB11> = 123;
    <KPPT> = 134;
};


-- 
 Alexander.Gottwald@s1999.tu-chemnitz.de 
 http://www.gotti.org           ICQ: 126018723


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]