Раскладка клавиатуры всегда возвращается к настройкам по умолчанию после перезагрузки - как изменить?

У меня Chromebook Acer C7, и он мне нравится. Это быстро и т. Д. Для установки * Buntu Linux я использовал Crouton. Это программа, которая устанавливает * buntu на ChromeOS без использования оригинальной системы.

Во всяком случае! У меня проблема с раскладкой клавиатуры. У меня шведская клавиатура, но раскладка клавиатуры в системе - американская.

Я могу установить раскладку шведской клавиатуры с помощью этой команды:

sudo dpkg-reconfigure keyboard-configuration

После этого у меня раскладка шведской клавиатуры. Но после перезагрузки я вернулся к раскладке клавиатуры США.

(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:~$ 

Вот / etc / default / клавиатура

(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:~$ 

Вот / 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:~$ 

С наилучшими пожеланиями Acer

4
задан 24 August 2013 в 16:51

2 ответа

Это старый пост, но вот решение, которое я использую 16.04 (Xenial)

sudo dpkg-reconfigure keyboard-configuration

Затем выполните:

sudo dpkg-reconfigure console-setup
0
ответ дан 24 August 2013 в 16:51
  1. Открыть терминал
  2. Войти в систему как root su
  3. Введите пароль пользователя root
  4. Обновите и обновите все с помощью sudo apt-get update && sudo apt-get upgrade
  5. Введите следующее:

    apt-get install console-data
    apt-get install console-setup
    apt-get install console-locales
    apt-get install keyboard-configuration
    
  6. Перезагрузите компьютер и повторите проверку.

  7. Наслаждайтесь;)
0
ответ дан 24 August 2013 в 16:51

Другие вопросы по тегам:

Похожие вопросы: