Este é um post antigo, mas aqui está a solução que eu uso no 16.04 (Xenial)
sudo dpkg-reconfigure keyboard-configuration
Em seguida, execute:
sudo dpkg-reconfigure console-setup
Eu tenho o Chromebook Acer C7 e gosto disso. É rápido etc. Para instalar o * buntu linux nele eu usei o Crouton. É um programa que instala o * buntu no ChromeOS sem erguer o sistema original.
De qualquer forma! Eu tenho problema com o layout do teclado. Eu tenho teclado sueco, mas o layout do teclado no sistema é o teclado dos EUA.
Eu posso instalar o layout de teclado sueco usando este comando:
sudo dpkg-reconfigure keyboard-configuration
Depois disso, eu tenho layout de teclado sueco. Mas depois que eu reinicio eu caindo o layout do teclado dos EUA.
(precise)acer@localhost:~$ sudo dpkg-reconfigure keyboard-configuration
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "sv_SV.UTF-8",
LC_ALL = (unset),
LANG = "sv_SV.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file or directory
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "sv_SV.UTF-8",
LC_ALL = (unset),
LANG = "sv_SV.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Your console font configuration will be updated the next time your system
boots. If you want to update it now, run 'setupcon' from a virtual console.
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "sv_SV.UTF-8",
LC_ALL = (unset),
LANG = "sv_SV.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
update-initramfs: deferring update (trigger activated)
(precise)acer@localhost:~$
Aqui está o / etc / default / keyboard
(precise)acer@localhost:~$ cat /etc/default/keyboard
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL=""
XKBLAYOUT="se"
XKBVARIANT=""
XKBOPTIONS="terminate:ctrl_alt_bksp"
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz
(precise)acer@localhost:~$
Aqui está / etc / default / locale
(precise)acer@localhost:~$ cat /etc/default/locale
# File generated by update-locale
LANG="sv_SV.UTF-8"
LANGUAGE="sv_SV.UTF-8"
(precise)acer@localhost:~$
Atenciosamente Acer
Este é um post antigo, mas aqui está a solução que eu uso no 16.04 (Xenial)
sudo dpkg-reconfigure keyboard-configuration
Em seguida, execute:
sudo dpkg-reconfigure console-setup
su
sudo apt-get update && sudo apt-get upgrade
Digite o seguinte:
apt-get install console-data
apt-get install console-setup
apt-get install console-locales
apt-get install keyboard-configuration
Reinicie e volte a verificar.