Pular para o conteúdo

Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Responder tópico
  • Denunciar
  • Indicar
01 02

1. Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 31/10/2011 - 18:33h

Olá.
Ainda não consegui configurar de forma definitiva o teclado abnt2 no Slackware 13.37. Já tentei editando o xorg.conf e também o 10-keymap.fdi, mas nenhuma dessas técnicas funcionaram. Também tentei configurar através de Menu XFCE/Configurações/Teclado, mas funciona provisoriamente, quando reinicio o computador, a configuração desaparece.
Agradeço a quem puder me ajudar a configurar o teclado.
Um abraço.

Responder tópico

3. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 31/10/2011 - 19:05h

O slackware já não usa mais o xorg.conf para configurar o teclado, vc precisa usar o hal. Mas se vc quiser usar o xorg.conf, pra isso deves desabilitar o hal. No próprio hal tem a explicação de como fazer isso. Dá uma olhadinha lá que não tem erro.

4. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 31/10/2011 - 19:10h

Usar o hal para configurar o teclado abnt2 é configurá-lo editando o 10-keymap.fdi?

5. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 31/10/2011 - 20:11h

No Slackware 13.37 o teclado pode ser configurado da seguinte forma.

Você copia o arquivo:


/usr/share/X11/xorg.conf.d/90-keyboard-layout.conf
para

/etc/X11/xorg.conf.d/
E edita o arquivo que você acabou de copiar de acordo com seu hardware.

No meu pc, por exemplo tá assim:




Section "InputClass"
Identifier "keyboard-all"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "br"
#Option "XkbVariant" "pc104"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection

t the Keyboard section as usual.
Boa sorte!

6. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 31/10/2011 - 20:19h

O meu xorg.rg esta assim

Section "ServerFlags"
Option "AllowEmptyInput" "false"
Option "AutoAddDevices" "false"
Option "AutoEnableDevices" "false"
EndSection

Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
ModulePath "/usr/lib/xorg/modules"
FontPath "/usr/share/fonts/local"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/OTF"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/CID"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/cyrillic"
EndSection

Section "Module"
Load "dbe"
Load "record"
Load "extmod"
Load "dri2"
Load "glx"
Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "abnt2"
Option "XkbLayout" "br"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "SWcursor" # [<bool>]
#Option "HWcursor" # [<bool>]
#Option "NoAccel" # [<bool>]
#Option "ShadowFB" # [<bool>]
#Option "VideoKey" # <i>
#Option "WrappedFB" # [<bool>]
#Option "GLXVBlank" # [<bool>]
#Option "ZaphodHeads" # <str>
Identifier "Card0"
Driver "nouveau"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection




7. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 01/11/2011 - 10:28h

Bom dia.
Cosegui configurar o teclado abnt2 seguindo as dicas do Gedimar no Post 4.
Durante as tentativas, eu misturei 3 métodos: editar o xorg.conf, configurar o hal e usar XFCE Menu/Teclado.
Hoje eu resolvi desfazer os outros métodos e deixar apenas a configuração do xorg.conf como eu postei acima.
E também apaguei o arquivo que eu havia copiado: /etc/hal/fdi/policy/10-keymap.fd1, além de ir em XFCE Menu/Teclado e na guia Disposição deixei marcado Usar Padrões do Sistema.

********

Levi Linux, vou testar sua dica em outra oportunidade, não quis mudar muito o que eu vinha tentando. Obrigado.

********

Mais uma vez, obrigado a todos pelas dicas.
Um abraço.

8. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 06/07/2012 - 18:24h

Levi Linux muito boa sua resposta configurei no KDE e deu certinho!
Valew por compartilhar com a gente!

9. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 07/07/2012 - 09:51h

robson-freitas escreveu:

Levi Linux muito boa sua resposta configurei no KDE e deu certinho!
Valew por compartilhar com a gente!
Não há o que agradecer, qualquer coisa estamos aqui!

10. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 14/11/2012 - 11:42h

muito obrigado Levi, funcionou certinho akii
abç

11. Re: Como configurar teclado abnt2 no Slackware 13.37 XFCE? [RESOLVIDO]

Enviado em 14/11/2012 - 18:40h

douglas12 escreveu:

muito obrigado Levi, funcionou certinho akii
abç
Tranquilo, precisando de algo estou por aqui.

12. slackware 14

Enviado em 08/01/2013 - 19:20h

muito boa a dica, lembrando para quem está com o slackware 14 também irá funcionar a mesma dica do levi_linux
01 02

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder