Setting EmulateWheel with hal (new X model in sid)
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=stringon/merge merge key=input.x11_options.EmulateWheelButton type=integer2/merge merge key=input.x11_options.EmulateWheelTimeOut type=integer300/merge merge key=input.x11_options.XAxisMapping type=integer6 7/merge merge key=input.x11_options.YAxisMapping type=integer4 5/merge merge key=input.x11_options.Buttons type=integer7/merge merge key=input.x11_options.HWHEELRelativeAxisButtons type=integer7 6/merge merge key=input.x11_options.ZAxisMapping type=integer4 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) -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Setting EmulateWheel with hal (new X model in sid)
Micha Feigin: 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 -- snip 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) I use: match key=info.product string=TPPS/2 IBM TrackPoint merge key=input.x11_options.EmulateWheel type=stringtrue/merge merge key=input.x11_options.EmulateWheelButton type=string2/merge merge key=input.x11_options.YAxisMapping type=string4 5/merge !--merge key=input.x11_options.XAxisMapping type=string6 7/merge -- merge key=input.x11_options.Emulate3Buttons type=stringtrue/merge merge key=input.x11_options.EmulateWheelTimeout type=string200/merge /match And I think the filename has to end in .fdi, but I am not sure about that. And don't forget to restart hal. The line I commented out enables horizontal scrolling which I usually do not want to happen. J. -- My medicine shelf is my altar. [Agree] [Disagree] http://www.slowlydownward.com/NODATA/data_enter2.html signature.asc Description: Digital signature
[SOLVED] Re: Setting EmulateWheel with hal (new X model in sid)
On Tue, 14 Apr 2009 22:36:43 +0300 Micha Feigin mi...@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=stringon/merge merge key=input.x11_options.EmulateWheelButton type=integer2/merge merge key=input.x11_options.EmulateWheelTimeOut type=integer300/merge merge key=input.x11_options.XAxisMapping type=integer6 7/merge merge key=input.x11_options.YAxisMapping type=integer4 5/merge merge key=input.x11_options.Buttons type=integer7/merge merge key=input.x11_options.HWHEELRelativeAxisButtons type=integer7 6/merge merge key=input.x11_options.ZAxisMapping type=integer4 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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org