Bug 1337393 - RFE: hide Indian keyboard layouts in the gnome-control-centre by moving them from base.xml to base.extras.xml
Summary: RFE: hide Indian keyboard layouts in the gnome-control-centre by moving them ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xkeyboard-config
Version: 24
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Peter Hutterer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-05-19 05:53 UTC by Mike FABIAN
Modified: 2016-11-28 06:32 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-28 06:32:50 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
move-indian-layouts-to-extra-xml.patch (27.07 KB, patch)
2016-05-19 05:59 UTC, Mike FABIAN
no flags Details | Diff
before-and-after-moving-indian-keyboard-layouts-to-base.extras.xml.png (321.04 KB, image/png)
2016-05-19 06:21 UTC, Mike FABIAN
no flags Details
0001-Move-Indian-keyboard-layouts-from-base.xml.in-to-bas.patch (30.57 KB, patch)
2016-05-19 06:27 UTC, Mike FABIAN
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 96418 0 None None None 2016-06-07 06:08:43 UTC

Description Mike FABIAN 2016-05-19 05:53:18 UTC
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.

Comment 1 Mike FABIAN 2016-05-19 05:59:18 UTC
Created attachment 1159253 [details]
move-indian-layouts-to-extra-xml.patch

Patch to fix this problem.

(Against current master of git://git.freedesktop.org/git/xkeyboard-config).

Comment 2 Mike FABIAN 2016-05-19 06:21:35 UTC
Created attachment 1159254 [details]
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.

Comment 3 Mike FABIAN 2016-05-19 06:27:55 UTC
Created attachment 1159256 [details]
0001-Move-Indian-keyboard-layouts-from-base.xml.in-to-bas.patch

Patch for our Fedora rpm package for xkeyboard-config.
Against current master.

Comment 4 Peter Hutterer 2016-06-07 06:08:43 UTC
Filed an upstream bug for feedback: https://bugs.freedesktop.org/show_bug.cgi?id=96418

Comment 5 Pravin Satpute 2016-08-31 06:09:46 UTC
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 :)

Comment 6 Mike FABIAN 2016-08-31 06:11:54 UTC
From: Sergey Udaltsov <sergey.udaltsov>
Subject: Re: Bug 96418 - Move indian layouts to extras
To: Mike FABIAN <maiku.fabian>
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> 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>
> 睡眠不足はいい仕事の敵だ。
>

Comment 7 Peter Hutterer 2016-11-28 06:32:50 UTC
xkeyboard-config 2.19 has this patch applied


Note You need to log in before you can comment on or make changes to this bug.