sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL
- From: Juuso Alasuutari <iuso AT sourcemage.org>
- To: SM-Discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL
- Date: Sat, 22 Nov 2008 00:38:57 +0200
Eric Sandall wrote:
Quoting "Juuso Alasuutari" <iuso AT sourcemage.org>:
I did it! After the whole Xorg/HAL/evdev mess getting on my nerves for
quite a while I figured out the Perfect(TM) solution. In other words,
here's how to make your keyboard and mouse work properly with
xorg-server 1.5.3.
1) Remove all mouse and keyboard configs from /etc/X11/xorg.conf. This
consists of:
- Removing the "InputDevice" entries from the "ServerLayout" section,
and
- removing the "InputDevice" sections themselves (their identifiers are
"Keyboard" and "Mouse").
2) Remove this line from /etc/X11/xorg.conf:
Option "AutoAddDevices" "false"
3) In /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi, replace this line:
<merge key="input.xkb.rules" type="string">base</merge>
With this:
<merge key="input.xkb.rules" type="string">evdev</merge>
This tells Xorg to map the keycodes sent by evdev according to
/usr/share/X11/xkb/keycodes/evdev instead of the older
/usr/share/X11/xkb/keycodes/xfree86.
If you also want to use a non-us keymap, also replace this line:
<merge key="input.xkb.layout" type="string">us</merge>
With something like this:
<merge key="input.xkb.layout" type="string">fi</merge>
4) Restart X and hald.
Tell me if anything fails after following this advice.
You also need xf86-input-evdev and CONFIG_INPUT_EVDEV=[m|y] in your kernel, correct? Can we add this to the wiki?
Right, forgot the "obvious" stuff. :) Go right ahead.
Juuso
-
[SM-Discuss] Reclaim your sanity from Xorg and HAL,
Juuso Alasuutari, 11/21/2008
-
Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL,
Eric Sandall, 11/21/2008
- Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL, Juuso Alasuutari, 11/21/2008
-
Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL,
Treeve Jelbert, 11/22/2008
- Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL, Juuso Alasuutari, 11/22/2008
- Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL, Thomas Orgis, 11/22/2008
-
Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL,
Eric Sandall, 11/21/2008
Archive powered by MHonArc 2.6.24.