r8 - 29 Dec 2006 - 11:31:48 - EgasCampolimHuttenTorresYou are here: TWiki >  Ltsp Web  >  TroubleShooting > Troubleshooting-KeyboardBrazil

Brazil keyboard has some non-functional keys

Try setting the following parameters in your lts.conf

XkbModel           = abnt2
XkbLayout          = br
XkbSymbols         = br(abnt2)  # (no longer used in XFree86 4.x and X.org)
This seems to have helped people in the past. I don't have a brazil keyboard to test.

Please edit this entry to report success or failure. *******************************************************************************

Original portuguese post

Alterei no lts.conf e não deu resultado. (uso teclado ABNT2 do Brasil) O problema que acontece é que uso o XSERVER=Xvesa pois minha rede de micros (pentium 166 e 233MMX) é composta de várias placas de vídeo S3 Trio64V2/DX, e a mesma S3 onboard e só consegui dar boot usando Xvesa. Usando XSERVER=Xfree86 ou =auto, várias estações NÃO funcionam. Somente quando usei o XSERVER=Xvesa é que funcionam, porém o teclado NÂO ACENTUA de forma nenhuma. Uso Linux Mandrake 9.1 BR. O "ç" e todas as teclas de [, {, ~, ^, :, >, <, }, ], ', ", ficam trocadas de posição de forma que creio que o teclado seja ainda o US-Intl e não o ABNT2. Alguem pode me ajudar? Desde já agradeço a atenção dispensada. Abaixo segue trecho do meu arquivo lts.conf:

English translation

I changed in the lts.conf and it had no results (I use an ABNT2 brazilian keyboard).

The problem that occurs is that I use the XSERVER=Xvesa because my network is made of many workstations equipped with S3 Trio64V2/DX video cards, and I could only boot using Xvesa. Using XSERVER=Xfree86 or =XSERVER=auto many workstations don't work. Only when I used the XSERVER=Xvesa they work, but the keyboard does not accentuate in any way. I'm running Mandrake Linux 9.1 BR. The "ç" and all keys like [ { ~ ^ : > < } ] ' " got their positions change so I think the keyboard is configured as US-Intl and not the ABNT2.

Could somebody help me? I appreciate so much the attention received.

NOTE: it only occurs in the workstations, in the server I can log in as any workstation user and the accentuation is OK.

Here is a part of my lts.conf file:

[Default]
        SERVER             = 192.168.0.1
        XSERVER            = Xvesa
#       XSERVER            = auto
        X_MOUSE_PROTOCOL   = "PS/2"
        X_MOUSE_DEVICE     = "/dev/psaux"
        X_MOUSE_RESOLUTION = 400
        X_MOUSE_BUTTONS    = 3
        USE_XFS            = N
        LOCAL_APPS         = N
        RUNLEVEL           = 5
        X_MODE_0           = 800x600
        X_COLOR_DEPTH      = 16

        Xkbrules           = xfree86
        XkbModel           = abnt2
        XkbLayout          = br
        XkbVariant         = abnt2

Thank's!

Accents and dead keys for Brazilian keyboard in LTSP

The stations with xfree86 4.x did not have the keys |\ and }] working properly. I edited the file:

/opt/ltsp/i386/etc/X11/XF86Config-4-pentium166

Changing the option XkbModel from pc104 to abnt2.

The key |\ came to work, but the key }] was still dead.

Key }] does not work on LTSP, with xfree86

Edit the files:

/opt/ltsp/i386/usr/X11R6/lib/X11/xkb/keycodes/xfree86

/etc/X11/xkb/keycodes/xfree86

Accordind to Igarashi (http://web.that.com.br/iga - iga@that.com.br): At file (1) were missing the codes for key and . And at file (2) was missing .

Edit the file /usr/X11R6/lib/X11/xkb/keycodes/xfree86. At the end of it, add a line like that:

  • Before:

xkb_keycodes "abnt2" {
include "xfree86(basic)"
<BKSL> = 94;
};

  • After:

xkb_keycodes "abnt2" {
include "xfree86(basic)"
<BKSL> = 94;
<AC12> = 51;
<KPPT> = 134;
};

Restart the X server. Key }] works good. This is for LTSP 3, on which keyboard configs are under xfree86 configs.

-- AnselmMartinHoffmeister - 22 Dec 2004
-- KrishnamurtiNunes - 07 Jan 2005

O meu problema com o ltsp4 resolvi editando o arquivo /opt/ltsp/i386/etc/build_x4_cfg, para que o script passasse a inserir a opção XkbModel? na montagem do arquivo /tmp/XF86config. ficou assim:

-----------------------------------------------------------------------
#
# Setup Keyboard and Mouse info
#
XkbModel=`get_cfg XkbModel`
cat <<-EOF

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option      "XkbModel" "${XkbModel}"
       Option      "XkbLayout" "${XKBLAYOUT:-"br"}"
       #Option      "XkbVariant" "${XkbVariant}"

EndSection

O meu problema no Kubuntu com o ltsp4 foi resolvido editando o arquivo /opt/ltsp/i386/etc/build_x4_cfg...

-----------------------------------------------------------------------
#
# Setup Keyboard and Mouse info
#
XkbModel=`get_cfg XkbModel`
cat <<-EOF

Section "InputDevice"
       Identifier  "Keyboard0"
       Driver      "keyboard"
       Option "XkbRules" "${XKBRULES:-"xorg"}"
       Option "XkbLayout" "${XKBLAYOUT:-"us"}"
       Option "XkbModel" "${XKBMODEL:-"pc101"}"
EndSection

-- EgasCampolimHuttenTorres - 29 Dez 2006

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r8 < r7 < r6 < r5 < r4 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback