Alterar Layout do Teclado via Console do Debian

Como fazer para alterar o layout do teclado do seu Linux Debian usando o modo texto.

Para alterar o layout no Debian é bem simples, na console digite o seguinte comando.

dpkg-reconfigure console-data

Basta seguir respondendo as perguntas que você irá facilmente trocar o layout do seu teclado.

  ââââââââââââââââââââââââ⤠Configuring console-data âââââââââââââââââââââââââ
  â                                                                          â
  â The keymap records the layout of symbols on the keyboard.                â
  â                                                                          â
  â  - 'Select keymap from arch list': select one of the predefined keymaps  â
  â    specific for your architecture (recommended for non-USB keyboards);   â
  â  - 'Don't touch keymap': don't overwrite the keymap in /etc/console,     â
  â    which is maintained manually with install-keymap(8);                  â
  â  - 'Keep kernel keymap': prevent any keymap from being loaded next time  â
  â    the system boots;                                                     â
  â  - 'Select keymap from full list': list all the predefined keymaps.      â
  â    Recommended when using cross-architecture (often USB) keyboards.      â
  â                                                                          â
  â                                                                          â
  â                                                                          â
  ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

Clique OK para prosseguir.

                   ââââââ⤠Configuring console-data ââââââââ
                   â Policy for handling keymaps:          â
                   â                                       â
                   â     Select keymap from arch list      â
                   â     Don't touch keymap                â
                   â     Keep kernel keymap                â
                   â     Select keymap from full list      â
                   â                                       â
                   â                                       â
                   â                                       â
                   â                                       â
                   âââââââââââââââââââââââââââââââââââââââââ

Selecione a opção “Select keymap from arch list”.

 ââââââââââââââââââââââââ⤠Configuring console-data ââââââââââââââââââââââââââ
 â Please specify the generic family name for the keyboard layout. Usually,  â
 â the layout family name is taken from the first keys on the left of the    â
 â top letters row of the keymap.                                            â
 â                                                                           â
 â Keyboard layout family:                                                   â
 â                                                                           â
 â                                  azerty                                   â
 â                                  dvorak                                   â
 â                                  fgGIod                                   â
 â                                  qwerty                                   â
 â                                  qwertz                                   â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

Escolha a opção “qwerty”

 ââââââââââââââââââââââââ⤠Configuring console-data ââââââââââââââââââââââââââ
 â In order to refine the keymap choice, please select the physical layout   â
 â of the keyboard.                                                          â
 â                                                                           â
 â Keyboard layout:                                                          â
 â                                                                           â
 â                             Brazilian         â                           â
 â                             British           â                           â
 â                             Bulgarian         â                           â
 â                             Byelorussian      â                           â
 â                             Canadian          â                           â
 â                             Czech             â                           â
 â                             Danish            â                           â
 â                             Dutch             â                           â
 â                             Estonian          â                           â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

Aqui você pode selecionar o layout correto do seu teclado.

 ââââââââââââââââââââââââ⤠Configuring console-data ââââââââââââââââââââââââââ
 â The selected keyboard layout has several variants. Please select the one  â
 â matching the keyboard.                                                    â
 â                                                                           â
 â Keyboard variant:                                                         â
 â                                                                           â
 â                                 BR-Latin1                                 â
 â                                 Standard                                  â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 â                                                                           â
 âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ

Caso o layout tenha alguma variação você pode selecionar nesta última tela.

Looking for keymap to install:
br-latin1

Pronto o layout do seu teclado foi reconfigurado de acordo com as opções informadas nas telas anteriores.

Rodrigo Luis Silva

Gestor de equipes especialista em sistemas GNU/Linux com vasta experiência em gerenciamento de storage, virtualização, network, desenvolvimento e outros.

More Posts - Website

Follow Me:
Twitter

2 Respostas

  1. Tiago

    Prefiro utilizar, o comando #dpkg-reconfigure keyboard-reconfigure . Ai seleciono Generic 105-key (Intl), depois Brazil, e no meu caso como uso notebook é Brazil eliminate dead keys, para teclado de pc sem ç é Brazil for Native USA Keyboards, e teclado de PC Normal Brazil, ou Brazil Native . Esta pronto. Obrigado!

      (Citar)

  2. Aparecido Quesada

    Apenas para complementar estou com o colega Tiago pois utilizando o dpkg-reconfigure console-data alem de ser um pacote extra para ser instalado se ele for reiniciado perde a configuracao, entao o ideal para permanecer seria o keyboard-configuration ou se ja souber o modelo edite o /etc/default/keyboard.
    Abracos

      (Citar)

Deixe uma resposta

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

Home Linux Alterar Layout do Teclado via Console do Debian