[SOLVED] Re: Setting EmulateWheel with hal (new X model in sid)
On Tue, 14 Apr 2009 22:36:43 +0300
Micha Feigin <michf@post.tau.ac.il> wrote:
> I'm trying to restore my X settings with the move to X 7.4 in sid which
> requires moving keyboard and mouse settings to hal settings. I tried creating a
> file under
>
> /usr/share/hal/fdi/policy/20thirdparty
>
> that contains
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <deviceinfo version="0.2">
> <device>
> <match key="info.capabilities" contains="input.mouse">
> <merge key="input.x11_options.EmulateWheel" type="string">on</merge>
> <merge key="input.x11_options.EmulateWheelButton" type="integer">2</merge>
> <merge key="input.x11_options.EmulateWheelTimeOut" type="integer">300</merge>
> <merge key="input.x11_options.XAxisMapping" type="integer">6 7</merge>
> <merge key="input.x11_options.YAxisMapping" type="integer">4 5</merge>
> <merge key="input.x11_options.Buttons" type="integer">7</merge>
> <merge key="input.x11_options.HWHEELRelativeAxisButtons" type="integer">7 6</merge>
> <merge key="input.x11_options.ZAxisMapping" type="integer">4 5</merge>
> </match>
> </device>
> </deviceinfo>
>
> But it doesn't seem to have any effect
> any ideas on how to get this to work ? (this is for the trackpoint on the
> thinkpads to allow it to scroll using the middle mouse button like under
> windows)
>
>
Turns out that hal settings only accept type="string" and anything else causes
things to fail
Reply to: