[systemd-devel] Unicode support in console after boot
Jan Synacek
jsynacek at redhat.com
Mon Oct 13 06:13:50 PDT 2014
Andrei Borzenkov <arvidjaar at gmail.com> writes:
> On Mon, Oct 13, 2014 at 4:33 PM, Jan Synacek <jsynacek at redhat.com> wrote:
>> Andrei Borzenkov <arvidjaar at gmail.com> writes:
>>> On Mon, Oct 13, 2014 at 12:48 PM, Jan Synacek <jsynacek at redhat.com> wrote:
>>>> Mantas Mikulėnas <grawity at gmail.com> writes:
>>>>> On Mon, Oct 13, 2014 at 10:36 AM, Jan Synacek <jsynacek at redhat.com> wrote:
>>>>>> Hello,
>>>>>>
>>>>>> currently, unicode characters are not correctly displayed in the
>>>>>> console. After login, when I run /usr/bin/unicode_start, unicode works
>>>>>> fine. I tried to create a service file that runs this script, linking
>>>>>> tty to stdout and stderr, but that didn't work. Is there a way how to
>>>>>> turn on unicode support in console after boot using a service file? Or
>>>>>> any other type of unit? Or is this something that has to be patched in
>>>>>> the source (logind perhaps?)?
>>>>>
>>>>> This is already done by systemd-vconsole-setup [1], but only if the
>>>>> system locale is a UTF-8 one [2].
>>>>>
>>>>> [1]: http://cgit.freedesktop.org/systemd/systemd/tree/src/vconsole/vconsole-setup.c?h=a158dbf156ac#n70
>>>>> [2]: http://cgit.freedesktop.org/systemd/systemd/tree/src/shared/util.c?h=a158dbf156ac#n5547
>>>>
>>>> Thank you. There seems to be something wrong with the
>>>> systemd-vconsole-setup.service, it doesn't seem to be run correctly at
>>>> boot. If restarted, I get the unicode support.
>>>>
>>>
>>> Do you use graphical splash screen (plymouth) by any chance?
>>
>> Yes, I'm trying this in somewhat newish rawhide, I believe plymouth is
>> on by default. I tried removing "rhgb" from the kernel command line, but
>> that didn't change anything.
>>
>
> Does booting with plymouth.enable=0 change anything?
Nope, that doesn't help. After "loadkeys cz", I still see white
rectangles instead of proper characters.
--
Jan Synacek
Software Engineer, Red Hat
More information about the systemd-devel
mailing list