Red Hat Bugzilla – Bug 198325
[indic] ibus-m17n should show keymap layout image or text
Last modified: 2009-05-06 02:22:45 EDT
Description of problem:
The key summary in m17n-db should have a table or an image describing the keymapping
Steps to Reproduce:
1. Activate SCIM by ctrl+space
2. select any language
3. click on red (?) button to activate help dialog box
Dialog box with general help
The keybindings can be displayed
Created attachment 132218 [details]
python script to generate the array
run script as
$ ./pre.py or-inscript.mim
It will generate a file named or-inscript.h that can be included in the
jensp, can you please have a look at the script [& specially the output] & let
me know if this is of any help or needs to be changed?
How do you want to use the script? To generate the help string?
In the longer term it would be good to implement it in scim-m17n I think
so it generate an onscreen keyboard or at least a keyboard layout image.
Created attachment 132222 [details]
output of the script
Jensp, this is the file which is produced by this script.
Can this be used in the program? Either to generate an image using pango or in
some other way?
This script just scans for all ("" "") & strips them of ( and ) & puts the rest
into an array.
The script is fine for generating static docs, but I don't think it
is acceptable to run it at runtime from scim-m17n say: it should be
reimplemented later in C++.
Jensp, lets forget the .h file for a sec. If this script can generate a png
image for the keyboard, & if we can run it in the post-processing stage of an
rpm install, it will then automatically create the image in a specified
directory when the user installs/updates his m17n-lang* package. The SCIM code
can then pick up the image & render it in the help.
That certainly sounds useful. Of course it is possible for different
users to use different xkb layouts in principle so it is not perfect
but it would be a good start and should cover the most common case for Indic
at least I guess.
I think this is too late for fc6 now, so it should be considered a possible
feature for fc7. It would be good to discuss it upstream on scim-devel too.
Jens, just remembered that GTK supports hyperlinks.
Run gtk-demo & scroll to text-widgets & see the hyperlink demo
Right using tags and then forking a child process to run htmlview say should work
ok. Though there really ought to be a higher-level interface for this in gtk IMHO.
Created attachment 144255 [details]
A sample screenshot of the app I'm working on...
Created attachment 144256 [details]
A pre-pre-alpha+buggy version :)
Created attachment 149256 [details]
list displaying keymaps is implemented
re-wrote parser for *.mim files
ironed out a few bugs!
Created attachment 149321 [details]
Latest tarball for mapper
Created attachment 149458 [details]
Mapper - working tarball
User email@example.com's account has been closed
reassigning to Parag, the new package owner
Dear Jensp, Parag,
Since one month, I am collecting feedback from users on the User Testability.
Had conducted a workshop for the same and some feedbacks and suggestions
obtained during workshop is mentioned in :
My thoughts on the keyboard layout issue:
1.On the SCIM tab appearing on the down right corner, we have the SCIM setup
tool, inscript/itrans or any other keyboard selection, an alphabet that can be
clicked and then the Help file.
2.Can we have the respective keyboard layout images available on clicking on
this alphabet (In Malayalam its 'ക')?
3.Understand this particular option is defined for input mode in CJK locales.
But since this is free and not in use for any Indic languages, hence maybe we
can provide the keyboard layout images for Indic languages on this option.
4.Again, there are two options on the SCIM tab, which provides the same result
for setting up SCIM tool. Why do we need to have this duplication, instead we
can provide other information related to languages here, eg: we can provide the
Localised SCIM help file in this option.
Above mentioned are my ideas and thoughts which I think will make our system
more user-friendly for a very normal user with no technical knowledge or any
(In reply to comment #20)
That's good. This kind of information is valuable.
I agree our documentation is poor. There are notes on activating
SCIM in the relnotes but that is about it, and I agree it is not
obvious. We have now an International Language Guide
(I don't know if it has been translated yet) which helps too.
I guess better documentation in the community and on fedoraproject.org
would help too.
> 2.Can we have the respective keyboard layout images available on clicking on
> this alphabet (In Malayalam its 'ക')?
Parag is developing a map viewer utility now, so it would be good to
integrate to SCIM.
> 3.Understand this particular option is defined for input mode in CJK locales.
Which option sorry?
> But since this is free and not in use for any Indic languages, hence maybe we
> can provide the keyboard layout images for Indic languages on this option.
The problem with images is they have to be updated every time the maps
changes. So I think it better to generate a view of the map dynamically.
> 4.Again, there are two options on the SCIM tab, which provides the same result
> for setting up SCIM tool. Why do we need to have this duplication, instead we
> can provide other information related to languages here, eg: we can provide the
> Localised SCIM help file in this option.
Yeah probably we could add a button to the input map viewer for scim-m17n.
> Above mentioned are my ideas and thoughts which I think will make our system
> more user-friendly for a very normal user with no technical knowledge or any
Thanks for your input and feedback.
Created attachment 296312 [details]
SCIM tab image
Thanks a lot for your prompt response.
I am aware about the Internationalisation Guide. But how can we expect and ask
a very normal user to go through all these manuals? I do not feel anyone would
do such an adventure going to the redhat manual web page and check for such
guides. I agree that must be read, but let that be there. Instead, why dont we
think about an option for a help which would be very handy for the user. A help
which is available on the screen, while he is working or trying to input
anything. A ready information/help/guideline on how to activate SCIM to input
any local language is very much important to have when the user opens an
application for input, as even though he logins in his native locale, he must
activate the SCIM for any input and to switch to English locale he has to
Please find attached the image of SCIM tab for Malayalam inscript so that I can
explain my idea better :)
The third option on the tab with a 'ക' sign on it. For CJK, I guess they are
defined for the input mode. In all Indic languages this option, which is
clickable is free. What I meant is, to obtain the Inscript keyboard layout
(attached) on this click.
As the fifth option we have the SCIM help file. First and fourth option gives
the same result and as this is duplication, we can provide some other
information in here.
Created attachment 296313 [details]
Inscript keyboard layout image
The inscript keyboard layout image
(In reply to comment #22)
> Please find attached the image of SCIM tab for Malayalam inscript so that I can
> explain my idea better :)
> The third option on the tab with a 'ക' sign on it. For CJK, I guess they are
> defined for the input mode. In all Indic languages this option, which is
> clickable is free. What I meant is, to obtain the Inscript keyboard layout
> (attached) on this click.
So actually Parag is working now on hopefully adding a button on the toolbar
for scim-m17n to bring up a window with the keyboard layout visible.
requested by Jens Petersen (#27995)
As we got now ibus as default Input Method, moving this to ibus-m17n and changing summary.
Also, we have got fix for this bug in ibus-m17n-22.214.171.12490211-4.fc11