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.
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.
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.
Paul, can you add these to the list of keyboard models in rhpl/src/keyboard_models.py?
Commited to CVS. Will require rhpl release
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.
Apologies, that's fixed for both Indic and Arabic keyboards.
Confirmed fixed for 4 out of 5 languages. Punjabi (Inscript) still has the above problem (option shift_toggle not set). Tested on rawhide-20041024.
Should be in rawhide - rhpl 0.163-1 and should make fc4