Bug 97891 - Serbian letters for Ukrainian multilanguage layout
Summary: Serbian letters for Ukrainian multilanguage layout
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-21 20:04 UTC by Oleksiy Protas
Modified: 2018-04-22 15:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Serbian letters for Ukrainian keyboard (1.39 KB, patch)
2016-09-21 20:04 UTC, Oleksiy Protas
Details | Splinter Review

Description Oleksiy Protas 2016-09-21 20:04:52 UTC
Created attachment 126718 [details] [review]
Serbian letters for Ukrainian keyboard

Hello,
I've got a small improvement patch for Ukrainian "unicode" layout which is the default in X nowadays. The layout orignally has Russian and Belarusian letters accessible through AltGr. I added Serbian cyrillic letters in a similar fashion since they don't overlap with anything and may serve as a nice feature. Mapping is as follows:

alt + Й = «Ј» (Latin: «J»)
alt + Ц = «Џ» (Latin: «Dž»)
alt + Ч = «Ћ» (Latin: «Ć»)
alt + Д = «Ђ» (Latin: «Đ»)
alt + Л = «Љ» (Latin: «Lj»)
alt + Н = «Њ» (Latin: «Nj»)

PS: Sorry if this is misplaced I assumed you use bugzilla for PRs
Comment 1 Sergey V. Udaltsov 2016-09-25 21:28:51 UTC
Hi there! Thank you for your contribution. Did you try to find/contact the contributors of the original layout? I would like them to be aware...
Comment 2 Geert Hendrickx 2018-03-12 15:40:19 UTC
I did the same thing for Rulemak (Russian Colemak layout), see https://bugzilla.freedesktop.org/show_bug.cgi?id=105430

But I used a slightly different letter mapping, which I think makes more sense: Serbian letters are put on the Cyrillic letter to which they are successor in the Serbian alphabet:  (except Ј which is Serbian equivalent of Й)

alt + Й = «Ј»
alt + Ч = «Џ» ***
alt + Т = «Ћ» ***
alt + Д = «Ђ»
alt + Л = «Љ»
alt + Н = «Њ»

(diferrences marked with ***)

These are more logical Alt pairs in my opinion.
Comment 3 Geert Hendrickx 2018-03-12 15:54:02 UTC
Oh, and please consider adding support for few extra Macedonian letters as well:

Alt + З = «Ѕ» (Dze)

and optionally: (but you already have combining acute accent on the keyboard)

Alt + Г = «Ѓ» (Gje)
Alt + К = «Ќ» (Kje)
Comment 4 Socialdarwinist 2018-03-12 22:59:16 UTC
This issue looks obsolete to me because I have made a layout for every Cyrillic letter with all kinds of combining characters: https://bugs.freedesktop.org/show_bug.cgi?id=102351 https://cgit.freedesktop.org/xkeyboard-config/commit/?id=bb80698c2bb826d6a9bf6e9c0866a3b26a828b0e

Though of course in a different order, as I have based ru(prxn) on the йцукен layout; maybe you want to pick it up, maybe you want to reorder it for a new layout. What do you think in view of this, Geert Hendrickx?

I think if we make the jump from Ukrainian to Serbian or Macedonian we are not far from including all Cyrillic, because else it is arbitrary for what we use four levels (and it could even make xkeyboard-config a playground for those Slavic conlangers and conscripters), thus I have dared to fill eight to catch all.

You can consider to play around with that layout to shape a new exhaustive one according to your principles. (It is more work of course than what you currently have.)
Comment 5 Sergey V. Udaltsov 2018-04-22 15:38:59 UTC
Committed for now, even though Socialdarwinist has a good point here!


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.