public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] hal and keyboard layout switching
@ 2009-09-07 22:39 Pat
  2009-09-08 15:40 ` [SOLVED] " pat
  0 siblings, 1 reply; 2+ messages in thread
From: Pat @ 2009-09-07 22:39 UTC (permalink / raw
  To: gentoo-user

Hello,

I want to setup hal to enable me switching between two keyboard layouts.
My original configuration in xorg.conf is:
Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"
        Option      "XkbModel" "pc104"
        Option      "XkbLayout" "us,cz"
        Option      "XkbOptions" "grp:shift_toggle,grp_led:num"
EndSection

I've searched web and got some information, but I'm doing something wrong.

I've created file /etc/hal/fdi/policy/x11-input.fdi and configure it like:
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbModel" type="string">pc104</merge>
<merge key="input.x11_options.XkbLayout" type="string">us,cz</merge>
<merge key="input.x11_options.XkbOptions"
type="string">grp:shifts_toggle</merge>
</match>
</device>

I have installed hal and running hald. The xorg-server version is 1.5.3-r6.

Thanks for help

	Pat



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-09-08 15:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-07 22:39 [gentoo-user] hal and keyboard layout switching Pat
2009-09-08 15:40 ` [SOLVED] " pat

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox