Xorg Input Hotplugging

Daniel Stone daniel.stone at nokia.com
Mon Dec 3 10:37:20 PST 2007


On Mon, Dec 03, 2007 at 07:15:21PM +0100, ext Nicolas Mailhot wrote:
> Le lundi 03 décembre 2007 à 19:59 +0200, Daniel Stone a écrit :
> > On Mon, Dec 03, 2007 at 06:53:26PM +0100, ext Nicolas Mailhot wrote:
> > > Le lundi 03 décembre 2007 à 19:37 +0200, Daniel Stone a écrit :
> > > >         <merge key="input.xkb.layout" type="string">gb,ru</merge>
> > > >         <merge key="input.xkb.variant" type="string">,winkeys</merge>
> > > 
> > > Is the , before winkeys needed?
> > 
> > Yes, otherwise you'll have gb(winkeys) and ru; not gb and ru(winkeys).
> 
> That is seriously broken and user-unfriendly XML :(. Has it been written
> by gconf developers? Is it not possible to do something more intuitive
> like
> 
> <merge sys="input.xkb"/>
>    <layout value="gb"/>
>    <layout value="ru">
>       <variant value="winkeys"/>
>    </layout>
> </merge>
> 
> ie something that actually uses XML hierachical nature to describe
> hierarchies? I mean what's the point of inflicting tags on users if
> they're not even used to tokenise properties properly.

Right now, it merely maps one to one to the existing XKB properties of
the same name.  I agree that a better hierachical mapping would be more
than welcome (especially with model-specific layouts), and am definitely
happy to take patches. :)

Cheers,
Daniel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg/attachments/20071203/56e11549/attachment.pgp>


More information about the xorg mailing list