On Thu, 2009-07-30 at 10:07 +0200, Martin Pitt wrote:
> $ grep ^XKB /etc/default/console-setup
> XKBMODEL="pc105"
> XKBLAYOUT="de"
> XKBVARIANT=""
> XKBOPTIONS="nodeadkeys"
>
> Fedora uses a different file and perhaps a different format, but the
> principle is the same. The distribution has to provide a
> /lib/udev/getx11keymap callout which transforms those to something
> like
>
> $ /lib/udev/getx11keymap
> X11_XKB_MODEL="pc105"
> X11_XKB_LAYOUT="de"
> X11_XKB_VARIANT=""
> X11_XKB_OPTIONS="nodeadkeys"
> X11_XKB_DRIVER="evdev"
>
> Then an udev rule could look like
>
> # 8042 internal keyboards
> SUBSYSTEM=="input", ACTION=="add", ID_CLASS=="kbd",
> IMPORT{program}="getx11keymap"
>
If we just sanitised the file into the right format, we could just
IMPORT{file} directly and save fork/exec and runtime overhead.Scott -- Scott James Remnant [email protected]
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devkit-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/devkit-devel
