Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 5380  / 2 Years ago, fri, july 1, 2022, 12:03:17

I have Chromebook Acer C7 and i like it. It's fast etc.
To install *buntu linux on it i did use Crouton. It's a program who install *buntu on ChromeOS without erace the orginal system.



Anyway!
I have problem with the keyboard layout. I have Swedish keyboard but the keyboard layout in the system is US keyboard.



I can install Swedish keyboard layout by using this command:



sudo dpkg-reconfigure keyboard-configuration


After that, i have Swedish keyboard layout. But after i reboot i falling back the the US keyboard layout.



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


Here is /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:~$


Here is /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:~$


Best Regards
Acer


More From » keyboard

 Answers
6

This is an old post but here is the solution I use on 16.04 (Xenial)



sudo dpkg-reconfigure keyboard-configuration


Then run:



sudo dpkg-reconfigure console-setup

[#29800] Saturday, July 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
iething

Total Points: 49
Total Questions: 127
Total Answers: 112

Location: Luxembourg
Member since Tue, Jan 25, 2022
2 Years ago
;