[ltp] activating 3 button on a t40p under debian sarge

Wolfgang Karall linux-thinkpad@linux-thinkpad.org
Fri, 19 Aug 2005 11:57:23 +0200


On Fri, 2005-08-19 at 10:45 +0100, Peter B. West wrote:
> I get the scrolling functionality in Thunderbird *only*.  When I am 
> viewing messages in Tbird, and click the middle button, I get a circle 
> drawn on the screen with up and down buttons, and if the text is wider 
> than my viewing window, left and right.  Any movement of the cursor 
> (with the trackpoint - I don't have a touchpad) results in scrolling in 
> the direction of movement.  

That seems to be a Thunderbird-specific feature. (not that I'd know, not
using it)

> The only mouse options I have set in xorg.conf are Protocol and Device.

To get scrolling independent of the application you need to add 

        Option          "EmulateWheel"          "true"
        Option          "EmulateWheelButton"    "2"

to your xorg.conf InputDevice section. Since the middle button stops
working as a regular button then, adding

        Option          "Emulate3Buttons"       "true"

is probably also a good idea, so you can use pressing left+right button
simulatenously as middle click.

Regards
 WK
-- 
http://linux.spiney.org/debian_gnu_linux_on_an_ibm_thinkpad_t43p