[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#490013: More info regargin xkb-data and 'ro' layouts



[Cc'ing Igor and Eddy, as I'm not sure they are subscribed to this bug]

On Sun,27.Jul.08, 10:47:54, Julien Cristau wrote:
> On Sun, Jul 27, 2008 at 10:28:38 +0300, Andrei Popescu wrote:
> 
> > $ setxkbmap -v 10 ro std
> > Setting verbose level to 10
> > locale is C
> > Warning! Multiple definitions of keyboard layout
> >          Using command line, ignoring X server
> > Applied rules from xorg:
> > model:      pc105
> > layout:     ro
> > variant:    std
> > Trying to build keymap using the following components:
> > keycodes:   xfree86+aliases(qwertz)
> > types:      complete
> > compat:     complete
> > symbols:    pc+ro(std_cedilla)
> > geometry:   pc(pc105)
> > 
> > Please note "symbols:" shows "std_cedilla" and indeed the layout is the 
> > one using cedillas.
> > 
> That's because /usr/share/X11/xkb/rules/xorg has:
> ! model         layout          variant         =       symbols
>   *             ro              de              =       pc+ro(winkeys)
>   *             ro              us              =       pc+ro(std_comma)
>   *             ro              std             =       pc+ro(std_cedilla)
>   *             ro              academic                =       pc+ro(std_comma)
> 
> So layout ro and variant std is mapped to symbols pc+ro(std_cedilla).

Ok, here's a patch which makes sense IMO:


--- xorg.orig	2008-07-27 23:45:44.000000000 +0300
+++ xorg.new	2008-07-27 23:57:04.000000000 +0300
@@ -183,9 +183,10 @@
   *		ogham		is434laptop		=	pc+ie(ogam_is434)
   *		ori		basic		=	pc+in(ori)
   *		ro		de		=	pc+ro(winkeys)
-  *		ro		us		=	pc+ro(std_comma)
-  *		ro		std		=	pc+ro(std_cedilla)
-  *		ro		academic		=	pc+ro(std_comma)
+  *		ro		us		=	pc+ro(std)
+  *		ro		academic		=	pc+ro(std)
+  *		ro		std_comma	=	pc+ro(std)
+  *		ro		comma		=	pc+ro(basic)
   *		ru		os		=	pc+ru(os_legacy)
   *		sapmi		basic		=	pc+no(smi)
   *		sapmi		nodeadkeys		=	pc+no(smi_nodeadkeys)


Bonus, old names "academic", "comma" and "std_comma" are now mapped to 
the correct variants.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)

Attachment: signature.asc
Description: Digital signature


Reply to: