[arch-general] When change tty1 the locale change

Mark Lee mark at markelee.com
Tue Mar 18 21:15:17 EDT 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 03/18/2014 09:12 PM, Maykel Franco wrote:
> 2014-03-19 2:04 GMT+01:00 Maykel Franco <maykeldebian at gmail.com>:
> 
>>
>>
>>
>> 2014-03-19 1:54 GMT+01:00 SpinFlo <sl1pkn07 at gmail.com>:
>>
>> Hi, but the keyboard layout is not set in vconsole
>>>
>>> ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~]|
>>> └───╼  cat /etc/vconsole.conf
>>> KEYMAP=es
>>> FONT=Lat2-Terminus16
>>> #FONT_MAP=8859-1_to_uni
>>> ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~]|
>>> └───╼  cat /etc/locale.conf
>>> LANG="es_ES.UTF-8"
>>> LC_TIME="es_ES.UTF-8"
>>> LC_COLLATE="C"
>>> ┌─┤[$]|[sl1pkn07]|[sL1pKn07]|[~]|
>>>
>>>
>>>
>>>
>>> 2014-03-19 1:49 GMT+01:00 Maykel Franco <maykeldebian at gmail.com>:
>>>
>>>> 2014-03-19 1:44 GMT+01:00 SpinFlo <sl1pkn07 at gmail.com>:
>>>>
>>>>> change locale or change keyboard layout?
>>>>>
>>>>>> VC Keymap: n/a
>>>>>
>>>>>
>>>>> 2014-03-19 1:42 GMT+01:00 Maykel Franco <maykeldebian at gmail.com>:
>>>>>
>>>>>> 2014-03-19 1:38 GMT+01:00 Karol Blazewicz <
>>> karol.blazewicz at gmail.com>:
>>>>>>
>>>>>>> On Wed, Mar 19, 2014 at 1:33 AM, Maykel Franco <
>>>> maykeldebian at gmail.com
>>>>>>
>>>>>>> wrote:
>>>>>>>> 2014-03-19 1:31 GMT+01:00 Mark Lee <mark at markelee.com>:
>>>>>>>>
> On 03/18/2014 08:30 PM, Maykel Franco wrote:
>>>>>>>>>>> Hi, I am spanish. I like arch linux, is my prefer for the
>>>> fast
>>>>> it.
>>>>>>> The
>>>>>>>>>>> problem is when I change the tty1, for example, the locale
>>>>>> language
> change
>>>>>>>>>>> to english. Why??
>>>>>>>>>>>
>>>>>>>>>>> Thanks in advanced.
>>>>>>>>>>>
> Salutations,
> 
> Did you set your language in /etc/locale.conf?
> 
> Regards,
> mark
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Thanks for your response.
>>>>>>>>
>>>>>>>> root at arch-maykel /home/maykel/backup/ # cat /etc/locale.conf
>>>>>>>> LANG=es_ES.utf8
>>>>>>>>
>>>>>>>> Thanks again.
>>>>>>>
>>>>>>> What's the output of 'localectl'?
>>>>>>>
>>>>>>>
>>>>>>>> when I change the tty1, for example, the locale language change
>>> to
>>>>>>> english.
>>>>>>>
>>>>>>> How exactly did you check it?
>>>>>>>
>>>>>>
>>>>>>
>>>>>> root at arch-maykel /home/maykel/backup/ # localectl
>>>>>>    System Locale: LANG=es_ES.utf8
>>>>>>        VC Keymap: n/a
>>>>>>       X11 Layout: n/a
>>>>>>
>>>>>>
>>>>>> Check it:
>>>>>>
>>>>>> Ctrl + alt + f1 , for example:
>>>>>>
>>>>>> And locale:
>>>>>>
>>>>>> root at arch-maykel /home/maykel/backup/ # locale
>>>>>> LANG=es_ES.UTF-8
>>>>>> LC_CTYPE="es_ES.UTF-8"
>>>>>> LC_NUMERIC="es_ES.UTF-8"
>>>>>> LC_TIME="es_ES.UTF-8"
>>>>>> LC_COLLATE="es_ES.UTF-8"
>>>>>> LC_MONETARY="es_ES.UTF-8"
>>>>>> LC_MESSAGES="es_ES.UTF-8"
>>>>>> LC_PAPER="es_ES.UTF-8"
>>>>>> LC_NAME="es_ES.UTF-8"
>>>>>> LC_ADDRESS="es_ES.UTF-8"
>>>>>> LC_TELEPHONE="es_ES.UTF-8"
>>>>>> LC_MEASUREMENT="es_ES.UTF-8"
>>>>>> LC_IDENTIFICATION="es_ES.UTF-8"
>>>>>> LC_ALL=
>>>>>>
>>>>>>
>>>>>> If exec same command in tty1 with cntrl + at + f1 the result is the
>>>> same.
>>>>>>
>>>>>> In tty2, tty3...the result is the same. The language locale change
>>> to
>>>>>> english...I don't now why??
>>>>>>
>>>>>> Thanks again.
>>>>>>
>>>>>
>>>>
>>>>
>>>> The keyboard layout is "es" , spanish, the option is configured in
>>>> systemsettings to kde. In preferences keyboard. In the X , tty7, the
>>>> language is OK, spanish but I change the tty, without X, the language
>>>> change to english...
>>>>
>>>> I dont understand why...
>>>>
>>>> Thanks for all...
>>>>
>>>
>>
>>
>> The /etc/vconsole.conf not found in my system. In the tty1 I know the
>> language is english because to write with keyboard the language is english.
>> For example, in spanish the key - , in the english is /
>>
>> Thanks.
>>
> 
> 
> I solved the problem with create file /etc/vconsole.conf:
> 
> KEYMAP:es
> 
> But de X11 is n/a , how to define X11 locale??
> 
> maykel at arch-maykel ~/ $ localectl
>    System Locale: LANG=es_ES.utf8
>        VC Keymap: es
>       X11 Layout: n/a
> 
> Thans to all for the help and sorry for my english.
> 

Salutations,

See
<https://wiki.archlinux.org/index.php/Keyboard_Configuration_in_Xorg_(Espa%C3%B1ol)>

Regards,
Mark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iF4EAREIAAYFAlMo76QACgkQZ/Z80n6+J/aehQD/ZRx3O8H7mZqwtcSSUS2dWVpk
L3GbEArnV2kVUtuexe4A/A+lmgBvWVSYQuS3q7b/w9ltLyrL7B6ONBgh72kEdLpo
=xHmU
-----END PGP SIGNATURE-----


More information about the arch-general mailing list