Configurar o teclado ABNT2 no Debian
Para configurar um teclado ABNT2 (ou qualquer outro mapa de teclado) no Linux via linha de comando, basta usar o comando setxkbmap, que faz parte do pacote zsh-common.
setxkbmap -model pc105 -layout br -variant abnt2
Outra maneira é editar o arquivo etc/default/keyboard e substituir as configurações existentes conforme segue abaixo:
XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT="abnt2"
Salve o arquivo e reinicie o PC.
setxkbmap -model pc105 -layout br -variant abnt2
Outra maneira é editar o arquivo etc/default/keyboard e substituir as configurações existentes conforme segue abaixo:
XKBMODEL="pc105"
XKBLAYOUT="br"
XKBVARIANT="abnt2"
Salve o arquivo e reinicie o PC.
Comentários