Bug 1052740 - convert X keyboards into kbd and set unicode console font for languages with non-Latin alphabets
convert X keyboards into kbd and set unicode console font for languages with...
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem
All All
: P5 - None : Normal (vote)
: ---
Assigned To: Stanislav Brabec
E-mail List
Depends on:
  Show dependency treegraph
Reported: 2017-08-08 10:30 UTC by Mindaugas Baranauskas
Modified: 2022-11-22 23:48 UTC (History)
2 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Mindaugas Baranauskas 2017-08-08 10:30:46 UTC
Now openSUSE for languages with Latin alphabets use converted keyboard layouts from X into kbd, also use unicode console font (as converted layouts supports it).

Remaining task is to do same transition for non-Latin console keyboard layouts and set appropriate console font. Perhaps we should preconfigure option to switch between native and US QWERTY in console for these non-Latin languages and keyboard layouts.

As noted in https://bugzilla.suse.com/show_bug.cgi?id=942896#c70 , 
As noted in https://bugzilla.suse.com/show_bug.cgi?id=942896#c69

Greek seems not have converted console keyboard layout from X into kbd. 
For Greek perhaps we can use eurlatgr console font (like for Latin alphabets)

All Cyrillic layouts now use UniCyr_8x16.psf font, but this font seems to be compatible with cp866, cp1251, iso8859-5 and koi8-r (according http://www.tldp.org/HOWTO/Belarusian-HOWTO/x28.html) and not compatible with unicode per se. But openSUSE seems don't provide converted layouts for Russian, Ukrainian, Serbian, Bulgarian, Tajik. 
For Cyrillic alphabets we should use LatArCyrHeb-14, LatArCyrHeb-16+ or LatArCyrHeb-16 console font, that support unicode.
Comment 1 Mindaugas Baranauskas 2017-08-08 11:07:09 UTC
Now in https://build.opensuse.org/package/view_file/openSUSE:Factory/kbd/kbd.spec?expand=1 there is lines:

# wipe converted layouts which cannot input ASCII (rh#1031848)
zgrep -L "U+0041" %{buildroot}/%{kbd}/keymaps/xkb/* | xargs rm -f

thus, atfirst, seems we _must_ provide option to switch between native and US QWERTY in console for these, instead of remocing
Comment 2 Markéta Machová 2020-05-26 15:05:41 UTC
I think this still isn't fixed. Standa, would you please look at that?
Comment 3 Stanislav Brabec 2022-11-22 23:48:05 UTC
This needs to check and verify each keyboard map separately.

Some X keymaps depend on a possibility to switch between several keymaps, e. g. latin and non-latin keymap. This feature is not present in the virtual console, so it may make impossible to use these keymaps e. g. for entering command line commands.

Martin Vidner knows more about these problems.