Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Treeve Jelbert <treeve AT scarlet.be>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] Reclaim your sanity from Xorg and HAL
  • Date: Sat, 22 Nov 2008 11:35:01 +0100

On Friday 21 November 2008 16:18:05 Juuso Alasuutari wrote:
> 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>
>
on my system (hal-0.5.11),
/usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi already does this

there is no file called
/usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi


> 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.
>
> Juuso
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss


--
Regards, Treeve




Archive powered by MHonArc 2.6.24.

Top of Page