1 |
Hello, |
2 |
|
3 |
I want to setup hal to enable me switching between two keyboard layouts. |
4 |
My original configuration in xorg.conf is: |
5 |
Section "InputDevice" |
6 |
Identifier "Keyboard0" |
7 |
Driver "kbd" |
8 |
Option "XkbModel" "pc104" |
9 |
Option "XkbLayout" "us,cz" |
10 |
Option "XkbOptions" "grp:shift_toggle,grp_led:num" |
11 |
EndSection |
12 |
|
13 |
I've searched web and got some information, but I'm doing something wrong. |
14 |
|
15 |
I've created file /etc/hal/fdi/policy/x11-input.fdi and configure it like: |
16 |
<device> |
17 |
<match key="info.capabilities" contains="input.keyboard"> |
18 |
<merge key="input.x11_options.XkbModel" type="string">pc104</merge> |
19 |
<merge key="input.x11_options.XkbLayout" type="string">us,cz</merge> |
20 |
<merge key="input.x11_options.XkbOptions" |
21 |
type="string">grp:shifts_toggle</merge> |
22 |
</match> |
23 |
</device> |
24 |
|
25 |
I have installed hal and running hald. The xorg-server version is 1.5.3-r6. |
26 |
|
27 |
Thanks for help |
28 |
|
29 |
Pat |