https://bugzilla.redhat.com/show_bug.cgi?id=1337393
Bug ID: 1337393 Summary: RFE: hide Indian keyboard layouts in the gnome-control-centre by moving them from base.xml to base.extras.xml Product: Fedora Version: 24 Component: xkeyboard-config Assignee: peter.hutterer@redhat.com Reporter: mfabian@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, negativo17@gmail.com, peter.hutterer@redhat.com
See: https://fedorahosted.org/i18n/ticket/36 and: https://lists.fedoraproject.org/pipermail/devel/2015-January/206011.html
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.
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
--- Comment #1 from Mike FABIAN mfabian@redhat.com --- Created attachment 1159253 --> https://bugzilla.redhat.com/attachment.cgi?id=1159253&action=edit move-indian-layouts-to-extra-xml.patch
Patch to fix this problem.
(Against current master of git://git.freedesktop.org/git/xkeyboard-config).
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
--- Comment #2 from Mike FABIAN mfabian@redhat.com --- Created attachment 1159254 --> https://bugzilla.redhat.com/attachment.cgi?id=1159254&action=edit before-and-after-moving-indian-keyboard-layouts-to-base.extras.xml.png
screen shots showing the effect of the patch when listing input methods for Hindi using the gnome-control-centre.
Left: without the patch Right: with the patch
On the right side, only the ibus input methods are shown for Hindi, the xkb layouts are hidden.
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
--- Comment #3 from Mike FABIAN mfabian@redhat.com --- Created attachment 1159256 --> https://bugzilla.redhat.com/attachment.cgi?id=1159256&action=edit 0001-Move-Indian-keyboard-layouts-from-base.xml.in-to-bas.patch
Patch for our Fedora rpm package for xkeyboard-config. Against current master.
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
Peter Hutterer peter.hutterer@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
Peter Hutterer peter.hutterer@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- External Bug ID| |FreeDesktop.org 96418
--- Comment #4 from Peter Hutterer peter.hutterer@redhat.com --- Filed an upstream bug for feedback: https://bugs.freedesktop.org/show_bug.cgi?id=96418
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
Pravin Satpute psatpute@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(peter.hutterer@re | |dhat.com)
--- Comment #5 from Pravin Satpute psatpute@redhat.com --- Hi Peter,
Its long time pending task, even not getting any update in upstream (there are multiple tickets) :( Can you see if anything blocker here?
Thanks :)
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
--- Comment #6 from Mike FABIAN mfabian@redhat.com --- From: Sergey Udaltsov sergey.udaltsov@gmail.com Subject: Re: Bug 96418 - Move indian layouts to extras To: Mike FABIAN maiku.fabian@gmail.com Date: Sat, 27 Aug 2016 22:53:14 +0100 (3 days, 8 hours, 16 minutes ago)
Hi Mike
That idea makes sense. The next xk-c release is in September, so most probably your patch will go in
Cheers
Sergey
On Fri, Aug 26, 2016 at 8:49 AM, Mike FABIAN maiku.fabian@gmail.com wrote:
Hi Sergey,
what do you think about:
Bug 96418 - Move indian layouts to extras: https://bugs.freedesktop.org/show_bug.cgi?id=96418
Can we do this?
-- � Mike FABIAN mike.fabian@gmx.de 睡眠不足はいい仕事の敵だ。
https://bugzilla.redhat.com/show_bug.cgi?id=1337393
Peter Hutterer peter.hutterer@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |CLOSED Resolution|--- |RAWHIDE Flags|needinfo?(peter.hutterer@re | |dhat.com) | Last Closed| |2016-11-28 01:32:50
--- Comment #7 from Peter Hutterer peter.hutterer@redhat.com --- xkeyboard-config 2.19 has this patch applied
i18n-bugs@lists.fedoraproject.org