From Fedora Project Wiki

Revision as of 07:24, 20 February 2024 by Pnemade (talk | contribs) (Noted that there are no Enhanced Inscript keyboard images available)

Description

The m17n keymaps for Indic languages that follows new Enhanced Inscript draft standard(Inscript2). We need Inscript2 keymap testing just to ensure with latest Gnome packages we can use Inscript2 keymaps.

This test case needs you to first set AltGr key and then using this AltGr key test that your Indic language keymap keymappings are correct as per the Standard. This test case is updated for Gnome 40 release.

Setup

Follow up to the steps in QA:Testcase i18n input method setup to configure the input method on the desktop.

  1. Add any input sources which has inscript2(m17n) in the name.

How to test

If not already enabled then enable extended layer to use AltGr (Generally <Right+Alt>) key (If you installed in an Indian language, you will have the Indian keyboard layout which already has the right Alt key mapped to AltGr. Many European keyboards and also some US English keyboard layouts like “us(euro)” also have this enabled by default. So just check whether it is enabled already and enable it using the steps below if not:

  • Enable using gnome-control-center
  1. Start the gnome-control-center and click on "Keyboard"
  2. Then on right side search for "Alternative character key"
  3. Then choose "Right Alt"
  4. Also you need to add inscript2 keymap in "Input Sources" under "Keyboard" panel in gnome-control-center
  5. Select this keymap from the 2-letter language icon on the panel at right top of your screen.

OR

  • Enable using gnome-tweaks tool
  1. Start the gnome-tweaks tool
  2. Then on left side click on "Keyboard & Mouse"
  3. Click on "Additional Layout Options" button -> "Key to choose the 3rd level" and then enable checkbox for "Right Alt"
  4. Also you need to add inscript2 keymap in "Input Sources" under "Region & Languages" panel in gnome-control-center
  5. Select this keymap from the 2-letter language icon on the panel at right top of your screen.

Once you are done with the above steps you can then start input using this keymap. To test whether extended layer is working or not, just try to input <AltGr + f > or <AltGr + r> or <AltGr + 4>. These are the input keys that most keymaps have mappings. If you will see the corresponding character using any of the 3 inputs then you have a working Inscript2 keymap.

Note:- AltGr key is same as "Right Alt" key

Expected Results

Selected language should output characters as per shown in their keyboard images at https://ildc.in/Inscript-layout.html

This link is now removed from that website and there is no Enhanced Inscript keyboard images available. Hence to know which character will appear by pressing which key, you need to read the keymap file of your selected language keyboard. These keymap files are available in directory "/usr/share/m17n/" path.



Reference Bugs

Bug 746562 Inscript2