Skip to content

Commit

Permalink
Cleanup: use "ru" keymap for Russian, not "ruwin_alt-UTF-8" (bsc#1194…
Browse files Browse the repository at this point in the history
…609)

ruwin_alt-UTF-8 was introduced in 2008 in response to
https://bugzilla.suse.com/show_bug.cgi?id=432862
because the previous keymap did not use Unicode.

"ru" does use Unicode, and it has a dual latin-cyrillic layout
(AltGr for single characters, Ctrl-Shift for layout switching)

In /usr/share/systemd/kbd-model-map the Russian keymap is a
kbd-model-map.legacy SUSE patch over upstream, and as Franck Bui was
reviewing this patch for upstreaming, we found that an entry for Russian
is still needed, but a default "ru" keymap has a better chance than a
specific one.
  • Loading branch information
mvidner committed Apr 20, 2023
1 parent d41a291 commit 4bdfd7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dropping_kbd_legacy.md
Expand Up @@ -67,7 +67,7 @@ once, so removing kbd-legacy would break these languages als in X11.
| Legacy keyboard map | Selected replacement | Other options | Note |
| -------------------- | -------------------- | ------------- | --------- |
| gr | ? | | Greek |
| ruwin_alt-UTF-8 | ? | | Russian |
| ru | ? | | Russian |
| tj_alt-UTF8 | ? | | Tajik |
| ua-utf | ? | | Ukrainian |

Expand Down
2 changes: 1 addition & 1 deletion keyboard/src/lib/y2keyboard/keyboards.rb
Expand Up @@ -226,7 +226,7 @@ def self.always_present_keyboards
},
{ "description" => _("Russian"),
"alias" => "russian",
"code" => "ruwin_alt-UTF-8", # not_in_xkb
"code" => "ru", # not_in_xkb
"suggested_for_lang" => ["ru", "ru_RU.KOI8-R"]
},
{ "description" => _("Serbian"),
Expand Down

0 comments on commit 4bdfd7c

Please sign in to comment.