Bug 130853

Summary: system-config-keyboard does not allow for the selection of any Indic keyboard layouts
Product: [Fedora] Fedora Reporter: Jatin Nansi <jnansi>
Component: system-config-keyboardAssignee: Paul Nasrat <pnasrat>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: eng-i18n-bugs, katzj
Target Milestone: ---Keywords: i18n
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-05-18 15:49:32 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Bug Depends On:    
Bug Blocks: 126002, 136451, 158139    

Description Jatin Nansi 2004-08-25 06:23:42 EDT
Description of problem:
If a user for any Indic language wishes to switch the keyboard layout
to that of his language, it cannot be done thru system-config-keyboard. 
It is not possible to select multiple keyboard layouts using this applet. 


Version-Release number of selected component (if applicable):
0.145


How reproducible:
Every time


Steps to Reproduce:
1. Run system-config-keyboard as root
2.
3.
  

Actual results:
- Cannot switch to any indic keyboard layout (no options available)
- Cannot select multiple layouts


Expected results:
- should be able to select indic keyboard layouts
- should be able to select multiple layouts


Additional info:
Currently, there are no indic keyboard layouts available to select in
system-config-keyboard.
Multiple layout selection is essential for indic languages, since all
indic users switch between indic and english very often. 
All of these capabilities are available in the keyboard applet of
gnome preferences.
Comment 1 Jeremy Katz 2004-08-25 11:10:24 EDT
Keyboard layouts where you regularly switch between one and English
automatically get English added as a secondary layout when they're
added to system-config-keyboard.

And adding more requires knowing exactly which ones to add and work.
Comment 2 Jatin Nansi 2004-08-29 22:58:19 EDT
These are the layouts to be added:

Bengali (Inscript):    ben
Bengali (Probhat):     ben(probhat)
Devanagari (Inscript): dev
Gujarati (Inscript):   guj
Punjabi (Inscript):    gur
Tamil (Inscript):      tml(INSCRIPT)
Tamil (Typewriter):    tml(UNI)

Pass the option on the right to setxkbmap to set the keyboard to the
layout name on left.
When doing this on the shell prompt, you need to quote the parameters.
All of these layouts should have English as the secondary layout.
Comment 3 Jeremy Katz 2004-08-30 11:34:10 EDT
Paul, can you add these to the list of keyboard models in
rhpl/src/keyboard_models.py?
Comment 7 Paul Nasrat 2004-09-13 03:50:30 EDT
Commited to CVS.  Will require rhpl release
Comment 8 Jatin Nansi 2004-10-07 00:56:50 EDT
Confirming that the layouts are added to s-c-keyboard. However, i am
unable to switch b/w the 2 layouts, ie. us & corresponding indic. 
The toggle option is not getting set. 

This is the output when trying to set layout to gujarati.
[root@dhcp-192 ~]# system-config-keyboard
cannot open file guj
* running ['/usr/X11R6/bin/setxkbmap', '-layout', 'us,guj', '-model',
'pc105', '-option', '']
[root@dhcp-192 ~]# 

This is the output when setting layout to greek:
[root@dhcp-192 ~]# system-config-keyboard
* running ['/usr/X11R6/bin/setxkbmap', '-layout', 'us,el', '-model',
'pc105', '-option', 'grp:shift_toggle,grp_led:scroll']
[root@dhcp-192 ~]# 

While this works just fine: 
setxkbmap -layout us,guj -model pc105 -option
grp:shift_toggle,grp_led:scroll

Here i can toggle between US and devanagari layouts by pressing the
shift keys together.

This does not work for any of the indic languages.
Comment 9 Paul Nasrat 2004-10-07 05:41:31 EDT
Apologies, that's fixed for both Indic and Arabic keyboards.
Comment 10 Jatin Nansi 2004-10-28 05:59:17 EDT
Confirmed fixed for 4 out of 5 languages. Punjabi (Inscript) still has
the above problem (option shift_toggle not set). Tested on
rawhide-20041024.
Comment 15 Paul Nasrat 2005-05-17 12:05:26 EDT
Should be in rawhide - rhpl 0.163-1 and should make fc4