hal: add a file to set the X11 keymap layout with evdev.

--HG--
extra : convert_revision : a6067ac51e3502f713b1ac106b308963635d07e8
This commit is contained in:
Juan RP 2009-03-26 17:06:32 +01:00
parent fbfdf4d9bf
commit 2f699766f7
2 changed files with 14 additions and 1 deletions

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="ISO-8859-1"?> <!-- -*- SGML -*- -->
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keys">
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.layout" type="string">us</merge>
<merge key="input.xkb.variant" type="string" />
</match>
</device>
</deviceinfo>

View File

@ -14,7 +14,8 @@ long_desc="
HAL is daemon for collecting and maintaining information from several
sources about the hardware on the system."
conf_files="/etc/dbus-1/system.d/hal.conf"
conf_files="/etc/dbus-1/system.d/hal.conf
/etc/hal/fdi/policy/10-keymap.fdi"
Add_dependency full glibc
Add_dependency full udev
@ -37,4 +38,6 @@ post_install()
{
rm -rf ${DESTDIR}/var
install -D -m755 ${FILESDIR}/hal ${DESTDIR}/etc/rc.d/hal
install -D -m644 ${FILESDIR}/10-keymap.fdi \
${DESTDIR}/etc/hal/fdi/policy/10-keymap.fdi
}