FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu User

LinkBack Thread Tools
Old 11-18-2009, 03:25 PM
Johannes Truschnigg
Default Karmic: Xorg + HAL, input device properties won't work

Hello list,

I'm trying to enforce system-wide X-server keyboard rules via HAL. The
procedure works perfectly fine on Gentoo GNU/Linux with comparable software
(read: similar versions of hald and xorg-server), but I cannot get it to work
on Ubuntu Karmic.

I edited /etc/hal/fdi/policy/preferences.fdi to read like the following
(comments omitted):

<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.xkb.model" type="string">evdev</merge>
<merge key="input.xkb.rules" type="string">xorg</merge>
<merge key="input.xkb.layout" type="string">de</merge>
<merge key="input.xkb.variant" type="string">nodeadkeys</merge>
<merge key="input.xkb.options" type="string">compose:caps</merge>

HAL is absolutely silent when being restarted, unless I garble the XML on
purpose - only then, error messages appear in the logs. Therefore, I assume my
file is well-formed and parses correctly.

My keyboard settings, however, don't change at all. Querying the keyboard via
HAL with the above configuration in place and loaded/interpreted yields the

input.xkb.options = 'lv3:ralt_switch' (string)
input.xkb.rules = 'xorg' (string)
input.xkb.model = 'pc105' (string)
input.x11_driver = 'evdev' (string)
input.xkb.layout = 'de' (string)

Please note that the device in question should match on "info.capabilities",

info.capabilities = { 'input', 'input.keyboard', 'input.keypad',
'input.keys', 'button' } (string list)

What the hell is going on here?

Thanks in advance for hints and replies!
with best regards:
- Johannes Truschnigg ( johannes@truschnigg.info )

www: http://johannes.truschnigg.info/
phone: +43 650 2 133337
jabber: johannes.truschnigg@gmail.com

Please do not bother me with HTML-eMail or attachments. Thank you.
ubuntu-users mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

Thread Tools

All times are GMT. The time now is 04:35 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org