France Occitan layout problem
Submitted by tme..@..ree.fr
Assigned to Xorg Project Team
Description
Created attachment 61404 Change Occitan layout inheritance to fr(oss)
Tested on ubuntu 12.04. If "France - Occitan" layout is selected, the AltGr keys don't work.
First problem, the inheritance of the Occitan layout is not correct, fr(oss) shall be used instead of keypad(oss) (It seems that I made a mistake when I did the first released), see attached patch.
Second problem, there is a strange behavior with keypad symbol file. The following command line
setxkbmap keypad ossmath -print | xkbcomp - $DISPLAY
returns the following error :
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 145 (XKEYBOARD)
Minor opcode of failed request: 9 (XkbSetMap)
Value in failed request: 0x163f0005
Serial number of failed request: 115
Current serial number in output stream: 121
The line
key.type[Group1]="FOUR_LEVEL_X"
seems to be the origin of the error
If it is replaced (just to test) with
key.type[Group1]="CTRL+ALT"
the error disappears, and the layout is correctly loaded.
Note that the ossmath definition is unchanged since Ubuntu 10.04. So maybe this problem comes from xorg-input-keyboard.
Patch 61404, "Change Occitan layout inheritance to fr(oss)":
0001-Change-Occitan-layout-inheritance-to-fr-oss.patch