[ltp] ubuntu breezy xorg apt repos with middle-button + scolling patch
Noah Dain
linux-thinkpad@linux-thinkpad.org
Thu, 2 Mar 2006 12:10:49 -0500
I finally got tired of having either scrolling events via middle
button, or having the middle button work as a middle button.
so i hunted down the patches, adjusted them and integrated them into
ubuntu breezy's xorg and did a custom build.
notes of interest:
-----------------
* these are unsigned packages so you will need to confirm to install
them. If someone wants to tell me how to sign them, post to the list
with cc: noahdain@gmail.com or just link up the url.
* The current official shipping build is 77. I incremented this to
78nd so that it will upgrade existing xorg packages.
* Source package is available if you don't trust me.
* the only real change is the addition of
debian/patches/993_ubuntu_midmouse.diff, and changelog
* i found the proper patch (finally) via researching the following links:
https://bugs.freedesktop.org/show_bug.cgi?id=3D323
http://lists.freedesktop.org/pipermail/xorg/2004-August/002404.html
http://mail.matrix.de/pipermail/linux-thinkpad/2005-July/027925.html
http://www.mail-archive.com/devel@xfree86.org/msg03333.html
* this is my first time setting up an apt repository, so something
could be messed up, but I don't think so. I set it up on my local
harddrive first, and then just scp'd everything up to teh intarwebz.=20
Squeal like a pig or make whatever sounds a badger does if you have
problems with it.
I've been using this regularly for well over a week now with no issues
at all. YMMV, of course.
/etc/apt/sources.list entries:
deb http://enrol.us/~ndain/apt breezy xorg
deb-src http://enrol.us/~ndain/apt breezy xorg
xorg.conf:
Section "InputDevice"
Identifier "mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ImPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "XAxisMapping" "6 7"
Option "Emulate3Buttons" "true"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "EmulateWheelInertia" "10"
EndSection
yes, this enables X axis scrolling too. This can be a pain in mozilla
family browsers, as by default it triggers the forward/back event
(@_@). And then after you fix that, it scrolls all the way across the
page for each input even (@_@++). However, all that can be fixed:
try adding these to your prefs.js, or changing via about:config in the url =
bar:
user_pref("mousewheel.horizscroll.withnokey.action", 0);
user_pref("mousewheel.horizscroll.withnokey.numlines", 1);
--
Noah Dain
"Single failures can occur for a variety of reasons that have nothing
to do with a hardware defect, such as cosmic radiation ..." - IBM
Thinkpad R40 maintenance manual, page 25