[ubuntu-x] Using console-setup's keyboard setup for HAL and xorg input-hotplug
Colin Watson
cjwatson at ubuntu.com
Fri Aug 1 00:02:12 BST 2008
On Thu, Jul 31, 2008 at 01:46:07PM -0700, Bryce Harrington wrote:
> Colin and I had a discussion yesterday regarding the idea of reusing the
> console-setup keyboard settings with the xorg keyboard input-hotplug
> stuff in HAL. The idea is that this script would be run from
> xorg-server.postinst.
>
> http://people.ubuntu.com/~bryce/InputHotplug/console2fdi.sh
>
>
> 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?
--
Colin Watson [cjwatson at ubuntu.com]
More information about the Ubuntu-x
mailing list