[systemd-devel] localization of console

Alexey Shabalin a.shabalin at gmail.com
Wed Jun 18 15:04:53 PDT 2014


2014-06-19 0:06 GMT+04:00 Jason St. John <jstjohn at purdue.edu>:
> On Wed, Jun 18, 2014 at 12:19 PM, Alexey Shabalin <a.shabalin at gmail.com> wrote:
>> Hello.
>>
>> I do not understand how the should work localization of console.
>> - systemd-vconsole-setup.service for an early boot (for enter password
>> in cryptsetup? but people do not used non-latin letters for password)
>>
>> - getty at .service contains TTYReset=yes (or
>> https://bugzilla.redhat.com/show_bug.cgi?id=972635  but i use
>> kernel-3.14.6), and all  previous font and kbd settings reseted
>>
>> I see package workaround-cyrillic-console in Russian Fedora:
>> https://github.com/RussianFedora/workaround-cyrillic-console
>> contain unit setup-cyrfont at .service:
>>
>> After=getty@%i.service
>> BindsTo=getty@%i.service
>> Requires=getty@%i.service
>> IgnoreOnIsolate=yes
>> [Service]
>> ExecStart=/usr/bin/setfont -C /dev/%i latarcyrheb-sun16
>> Type=oneshot
>>
>> For ALTLinux i was add systemd-vconsole-setup at .service unit:
>>
>> After=getty@%i.service
>> BindsTo=getty@%i.service
>> Requires=getty@%i.service
>> IgnoreOnIsolate=yes
>> [Service]
>> Type=oneshot
>> ExecStart=/lib/systemd/systemd-vconsole-setup /dev/%i
>>
>>
>> May be exist better way for localization?
>
> What Linux distribution are you using?
>
> On my Arch Linux systems, I configured the font and keymap (keyboard
> layout) in /etc/vconsole.conf, and for the initial RAM disk, I put the
> "consolefont" and "keymap" hooks before the "encrypt" hook in
> /etc/mkinitcpio.conf. This lets me use an alternate keyboard layout
> for entering the encryption passphrase. I think something similar to
> this is what you are looking for, but adapted to whichever Linux
> distribution you are using.

Oh, sorry. I have not problems with encryption passphrase.
I can not see my font after getty at .service, after login.
I think because TTYReset=yes in getty at .service, and it reset my font settings.
My question is how to see my font in console.

PS: i am use ALTLinux, but think some problem in fedora too.


-- 
Alexey Shabalin


More information about the systemd-devel mailing list