[wplug] [SOLVED] Thinkpad middle button
Alexandros Papadopoulos
apapadop at cmu.edu
Mon Sep 1 15:12:26 EDT 2003
On Monday 01 September 2003 13:19, Alexandros Papadopoulos wrote:
> Debian never ceases to amaze me...
>
> I did a dist-upgrade from stable to testing yesterday night, and to my
> astonishment the middle button of my Thinkpad (T23) started working as a
> scroll-button, which is the default behavior under Windows.
>
> That's fine with me, but the side effect is that I don't have the UNIX-like
> paste any more (select + then middle-click), and some other KDE necessities
> that depended on that button (e.g. maximize window vertically).
>
> Does anyone know of a way of having all behaviors? When kept pressed and
> the mouse moves, scroll the window. When just pressed once, act as a
> regular middle click.
Answering my own question:
Yes, it is possible. The middle button is used as a scroll wheel, and 3-button
emulation is used to get a "Middle click" effect when pressing left+right
button together.
The relevant section from /etc/X11/XF86Config-4:
Section "InputDevice"
Identifier "nipplestick"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/psaux"
Option "Protocol" "PS/2"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "50"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
EndSection
Cheers
-A
--
http://andrew.cmu.edu/~apapadop/pub_key.asc
3DAD 8435 DB52 F17B 640F D78C 8260 0CC1 0B75 8265
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
Url : http://penguin.wplug.org/pipermail/wplug/attachments/20030901/b9b8e985/attachment-0001.bin
More information about the wplug
mailing list