Configurar teclado do Slackware para portugues

1. Configurar teclado do Slackware para portugues

Icaro
astronautmonkey

(usa Slackware)

Enviado em 28/09/2012 - 21:22h

Como configurar o teclado do meu Slackware (13.37) para o portugues (abnt2)

(desculpe a falta de acentuacao, mas o teclado esta desconfigurado, haha)


  


2. Re: Configurar teclado do Slackware para portugues

Perfil removido
removido

(usa Nenhuma)

Enviado em 28/09/2012 - 21:39h

Você precisa definir seu teclado para pt_BR no hal ou no xorg.conf.
Faça uma busca sobre a configuração desses dois arquivos.

É muito simples de configurá-los.

Abs


3. Re: Configurar teclado do Slackware para portugues

Icaro
astronautmonkey

(usa Slackware)

Enviado em 29/09/2012 - 14:09h

Gedimar escreveu:

Você precisa definir seu teclado para pt_BR no hal ou no xorg.conf.
Faça uma busca sobre a configuração desses dois arquivos.

É muito simples de configurá-los.

Abs


Desculpe, nao entendi.


4. Re: Configurar teclado do Slackware para portugues

Ricardo Fabiano Silva
madrugada

(usa Gentoo)

Enviado em 29/09/2012 - 15:37h

Não existe hal no Slack 14. Ele deixou de ser uma dependência do XFCE e KDE.
Acrescente esta linha ao seu .bashrc:
setxkbmap -model abnt2 -layout br 



5. Re: Configurar teclado do Slackware para portugues

ImCylon
ImCylon

(usa Slackware)

Enviado em 12/11/2012 - 17:15h

No slackware 13.37 e 14.0 a mudança do layout do teclado é assim(logado como root):

copie o arquivo "90-keyboard-layout.conf" para /etc/X11/xorg.conf.d/

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

abra o arquivo "/etc/X11/xorg.conf.d/90-keyboard-layout.conf" com editor de texto de sua preferencia e modifique a linha
Option "XkbLayout" "us"

para

Option "XkbLayout" "br"

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

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


6. Re: Configurar teclado do Slackware para portugues

Perfil removido
removido

(usa Nenhuma)

Enviado em 12/11/2012 - 19:26h

Apenas para constar, no Slack 14 (Xfce) configurar pela interface está bem mais fácil.
Talvez devido ao Kernel 3.X, até o teclado e mouse Wireless da M$ e com suas teclas multimídia, estão funcionando muito bem aqui.

Para quem pretende obter um kit wireless para usar no Slack 14, pode ir tranquilo! :)


7. Re: Configurar teclado do Slackware para portugues

Iguatinã de Melo Costa
lizincross

(usa Slackware)

Enviado em 13/04/2013 - 20:49h

Para quem usa o LXDE no Slackware, como eu, é uma ótima dica. Agora tudo está funcionando perfeitamente!


8. Re: Configurar teclado do Slackware para portugues

wellington
wellingtonsr

(usa Slackware)

Enviado em 13/04/2013 - 21:25h

Vá em:

Configurações do sistema
-> dispositivos de entrada
-> teclado
-> Leiautes
-> adicionar
-> onde tem "Limitar a seleção por idioma" vc seleciona "português"
-> onde tem "Leiaute" vc escolhe Portuguese (Brasil)
-> OK


9. Re: Configurar teclado do Slackware para portugues

Ricardo Fabiano Silva
madrugada

(usa Gentoo)

Enviado em 13/04/2013 - 21:35h

wellingtonsr escreveu:

Vá em:

Configurações do sistema
-> dispositivos de entrada
-> teclado
-> Leiautes
-> adicionar
-> onde tem "Limitar a seleção por idioma" vc seleciona "português"
-> onde tem "Leiaute" vc escolhe Portuguese (Brasil)
-> OK


Salve grande wellingtonsr.
Esse tipo de configuração é válida somente para os aplicativos da família KDE.
Experimente digitar "Ç" ou "á" no Xterm(mesmo usando KDE) e vai entender o que quero dizer.
O ideal realmente é utilizar o arquivo /etc/X11/xorg.conf.d/90-keyboard-layout.conf que vale independente do aplicativo ou ambiente


10. Re: Configurar teclado do Slackware para portugues

wellington
wellingtonsr

(usa Slackware)

Enviado em 13/04/2013 - 21:44h

blz madrugada? Pois é, ainda me veio uma dúvida em relação a versão 13.37, pois usei pouco e não sei ao certo se seriam os mesmos passos, mas... Acompanhando e aprendendo. rsrsrs


11. Re: Configurar teclado do Slackware para portugues

Perfil removido
removido

(usa Nenhuma)

Enviado em 13/04/2013 - 21:58h

As repostas já foram dadas aí:

em /etc/X11/xorg.conf.d/90-keyboard-layout.conf:


# READ THIS FOR CUSTOM KEYBOARD INFORMATION
#
# If you want to add a custom model/layout/variant to X, you will need to COPY
# this file to /etc/X11/xorg.conf.d/ and edit that copy. After editing it to
# suit, you will need to restart X.
#
# Here's an example of the lines from above:

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

# Many desktop environments, including KDE and Xfce, have their own methods to
# configure keyboard layouts and such if you'd like to use them.
#
# If you prefer to use the "old" way of configuring keyboards (without input
# device hotplugging), then you'll need to add the following lines to the
# ServerFlags section of /etc/X11/xorg.conf:
# Option "AllowEmptyInput" "false"
# Option "AutoAddDevices" "false"
# Option "AutoEnableDevices" "false"
# Alternatively, you can break this up into separate "stubs" in the xorg.conf.d/
# directory, but that's your call. Assuming you elect to keep a monolithic
# /etc/X11/xorg.conf file, you can now edit the Keyboard section as usual.


em ~/.bashrc:


setxkbmap -model abnt2 -layout br -variant abnt2
setxkbmap -option terminate:ctrl_alt_bksp


E se quiser verifique o arquivo /etc/rc.d/rc.keymap:

                          
#!/bin/sh
# Load the keyboard map. More maps are in /usr/share/kbd/keymaps.
if [ -x /usr/bin/loadkeys ]; then
/usr/bin/loadkeys br-abnt2.map
fi








Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts