Bug 96418 - Move indian layouts to extras
Summary: Move indian layouts to extras
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-07 06:07 UTC by Peter Hutterer
Modified: 2017-06-21 09:10 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
move-indian-layouts-to-extra-xml.patch (27.07 KB, patch)
2016-06-07 08:14 UTC, Mike FABIAN
Details | Splinter Review
move-indian-layouts-to-extra-xml.patch (27.09 KB, patch)
2016-09-15 22:32 UTC, Peter Hutterer
Details | Splinter Review

Description Peter Hutterer 2016-06-07 06:07:58 UTC
https://bugzilla.redhat.com/show_bug.cgi?id=1337393

From the bug report:
"Apparently the Indian keyboard layouts in xkeyboard-config are not
very useful because of limitations in xkb. In xkb, it is not possible
to output several characters when one key is pressed but that seems
sometimes necessary.

For Indian languages, the input methods supplied by ibus-m17n appear
to be more useful, having the xkb keyboard layouts show up as well in
the gnome-control centre confuse the user because of too many useless
choices.

Therefore, Anish Patil suggested to hide these Indian keyboard layouts
in the gnome-control-centre.

The easiest way to hide them is to move them from
/usr/share/X11/xkb/rules/base.xml to
/usr/share/X11/xkb/rules/base.extras.xml because gnome-control-centre
does not list the layouts from base.extras.xml.

base.extras.xml seems to be for rarely used layouts, so these Indian
layouts seem to fet better there than in base.xml."

Sergey, what do you think?
Comment 1 Pravin 2016-06-07 07:21:22 UTC
We had some discussion on this earlier. Thread: https://lists.fedoraproject.org/pipermail/devel/2015-January/206011.html
Comment 2 Mike FABIAN 2016-06-07 08:14:56 UTC
Created attachment 124382 [details] [review]
move-indian-layouts-to-extra-xml.patch

Patch to fix this problem.

(Against current master of git://git.freedesktop.org/git/xkeyboard-config).
Comment 3 anish 2016-06-10 05:04:33 UTC
Hi Mike,

Thank you for the patch, patch looks good.
Can we merge asap so that we can it have in F24 or F25?


Thanks
Anish Patil
Comment 4 Sergey V. Udaltsov 2016-09-15 21:19:45 UTC
Could you please update your patch against the current git? It does not apply.. Thank you
Comment 5 Peter Hutterer 2016-09-15 22:32:23 UTC
Created attachment 126564 [details] [review]
move-indian-layouts-to-extra-xml.patch

Updated to apply on top of d115cc3
Comment 6 Sergey V. Udaltsov 2016-09-19 23:47:55 UTC
Thank you, worked this time!
Comment 7 Daniel Stone 2017-06-21 09:10:04 UTC
FWIW, it is possible to produce multiple characters from one keysym for anyone using libxkbcommon (mostly Wayland). I don't think it's something we can ever realistically turn on in Xorg, but xkbcomp does at least ignore it whilst parsing, so shipping these files is an option:
https://cgit.freedesktop.org/xorg/app/xkbcomp/commit/?id=e119cbec7e750ffc4d4bd08b577db2c697035a30

https://github.com/xkbcommon/libxkbcommon/blob/master/test/data/symbols/us#L12
https://github.com/xkbcommon/libxkbcommon/blob/master/test/state.c#L616


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.