[ubuntu-x] Using console-setup's keyboard setup for HAL and xorg input-hotplug
Bryce Harrington
bryce at canonical.com
Fri Aug 1 01:45:53 BST 2008
On Fri, Aug 01, 2008 at 12:02:12AM +0100, Colin Watson wrote:
> > Sample output with a US keyboard with all defaults:
> >
> > # http://people.ubuntu.com/~bryce/InputHotplug/us-keyboard.fdi
> > <?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
> >
> > <deviceinfo version="0.2">
> >
> > <device>
> > <match key="info.capabilities" contains="input.keyboard">
> > <merge key="input.xkb.rules" type="string">xorg</merge>
> > </match>
> > </device>
> >
> > </deviceinfo>
>
> What do less-trivial cases look like in the FDI file?
It just adds the appropriate extra lines:
<?xml version="1.0" encoding="UTF-8"?> <!-- -*- SGML -*- -->
<!-- This file is automatically generated, so do not edit it.
Edit /etc/default/console-setup instead, and then run
dpkg-reconfigure xorg-server -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.layout" type="string">de,cz,us</merge>
<merge key="input.xkb.variant" type="string">,bksl,</merge>
<merge key="input.xkb.options" type="string">grp:alt_shift_toggle</merge>
</match>
</device>
</deviceinfo>
More information about the Ubuntu-x
mailing list