Good day.
I have done many searches through the forum and googled a lot but still haven't found the solution.
My goal is to switch from old xorg.conf keyboard settings to the new one, using HAL, as described in the handbook.
Okay, here's what I have:
0. I assured I have the hald and dbus enabled:
[CMD=""]cat /etc/rc.conf |grep 'hal'[/CMD]
[CMD=""]cat /etc/rc.conf |grep 'dbus'[/CMD]
1. I edited /etc/X11/xorg.conf and "enable" HAL by adding one line:
2. I created the "fdi" configuration for HAL.
[CMD="cat /usr/local/etc/hal/fdi/policy/x11-input.fdi"][/CMD]
3. then, being in X session, I performed:
[CMD=""]/usr/local/etc/rc.d/hald restart[/CMD]
4. now I logged out from my XFCE4 session, come back to SLIM (graphical login manager for X11) and bump! I cannot type the correct keys (thus, cannot login into X )! :'-(
Please clarify what am I doing wrong.
I have done many searches through the forum and googled a lot but still haven't found the solution.
My goal is to switch from old xorg.conf keyboard settings to the new one, using HAL, as described in the handbook.
Okay, here's what I have:
0. I assured I have the hald and dbus enabled:
[CMD=""]cat /etc/rc.conf |grep 'hal'[/CMD]
Code:
hald_enable="YES"
[CMD=""]cat /etc/rc.conf |grep 'dbus'[/CMD]
Code:
dbus_enable="YES"
1. I edited /etc/X11/xorg.conf and "enable" HAL by adding one line:
Code:
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
Option "AutoAddDevices" "true" #added
EndSection
2. I created the "fdi" configuration for HAL.
[CMD="cat /usr/local/etc/hal/fdi/policy/x11-input.fdi"][/CMD]
Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
<device>
<match key="info.capabilities" contains="input.keyboard">
<merge key="input.x11_options.XkbModel" type="string">pc105</merge>
<merge key="input.x11_options.XkbLayout" type="string">us,ru(winkeys),pl</merge>
<merge key="input.x11_options.XkbOptions" type="string">grp:caps_toggle,grp_led:caps,</merge>
</match>
</device>
</deviceinfo>
[CMD=""]/usr/local/etc/rc.d/hald restart[/CMD]
4. now I logged out from my XFCE4 session, come back to SLIM (graphical login manager for X11) and bump! I cannot type the correct keys (thus, cannot login into X )! :'-(
Please clarify what am I doing wrong.