Keyboard layout in TTY changed after fresh boot [Solved]

If you are new to Linux or new to Sabayon Linux and just not sure where to post, here ya go. Post without fear of being told to RTFM :-)

Moderator: Moderators

Re: Keyboard layout in TTY changed after fresh boot [Solved]

Postby Fitzcarraldo » Sat Jul 27, 2013 20:39

See the header of the file /etc/locale.gen:

Code: Select all
# /etc/locale.gen: list all of the locales you want to have on your system
#
# The format of each line:
# <locale> <charmap>
#
# Where <locale> is a locale located in /usr/share/i18n/locales/ and
# where <charmap> is a charmap located in /usr/share/i18n/charmaps/.
#
# All blank lines and lines starting with # are ignored.
#
# For the default list of supported combinations, see the file:
# /usr/share/i18n/SUPPORTED
#
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

So check what you have in /usr/share/i18n/SUPPORTED:

Code: Select all
$ cat /usr/share/i18n/SUPPORTED | grep de_
de_AT.UTF-8 UTF-8
de_AT ISO-8859-1
[email protected] ISO-8859-15
de_BE.UTF-8 UTF-8
de_BE ISO-8859-1
[email protected] ISO-8859-15
de_CH.UTF-8 UTF-8
de_CH ISO-8859-1
de_DE.UTF-8 UTF-8
de_DE ISO-8859-1
[email protected] ISO-8859-15
de_LU.UTF-8 UTF-8
de_LU ISO-8859-1
[email protected] ISO-8859-15

Also read the Gentoo Localization HOWTO.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7984
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: Keyboard layout in TTY changed after fresh boot [Solved]

Postby Honeyman » Sun Jul 28, 2013 22:06

Code: Select all
    $ cat /usr/share/i18n/SUPPORTED | grep de_
    ##de_AT.UTF-8 UTF-8
    ##de_AT ISO-8859-1
    [email protected] ISO-8859-15
    ##de_BE.UTF-8 UTF-8
    ##de_BE ISO-8859-1
    [email protected] ISO-8859-15
    ##de_CH.UTF-8 UTF-8
    ##de_CH ISO-8859-1
    de_DE.UTF-8 UTF-8
    de_DE ISO-8859-1
    [email protected] ISO-8859-15
    ##de_LU.UTF-8 UTF-8
    ##de_LU ISO-8859-1
    [email protected] ISO-8859-15


These are the localizations if have activated, all others are commented out, also the non-DE entries.
What else could I have done wrong?
Je me regarde pour me désoler,
je me compare pour me consoler

Maurice de Talleyrand
Honeyman
Growing Hen
 
Posts: 159
Joined: Sun Apr 08, 2012 2:25
Location: Berlin, Germany

Re: Keyboard layout in TTY changed after fresh boot [Solved]

Postby Honeyman » Tue Jul 30, 2013 21:26

Now it should be solved.

I realized that that there was a line in /etc/profile that should not be there, at least not if you want to change the locale settings:

Code: Select all
export LC_ALL=en_US.UTF-8


That prevented any change to locale settings as the file was read at each startup.
Je me regarde pour me désoler,
je me compare pour me consoler

Maurice de Talleyrand
Honeyman
Growing Hen
 
Posts: 159
Joined: Sun Apr 08, 2012 2:25
Location: Berlin, Germany

Previous

Return to Beginners|Newbies Area

Who is online

Users browsing this forum: No registered users and 1 guest