Dec 19, 2008
Thinkpad x61 with Ubuntu: Getting the 3rd mouse button to work.
There are two different methods I found, which work for different version of Ubuntu.
Ubuntu 8.10
First, copy/paste below
<match key="info.product" string="TPPS/2 IBM TrackPoint"> <merge key="input.x11_options.EmulateWheel" type="string">true</merge> <merge key="input.x11_options.EmulateWheelButton" type="string">2</merge> <merge key="input.x11_options.YAxisMapping" type="string">4 5</merge> <merge key="input.x11_options.XAxisMapping" type="string">6 7</merge> <merge key="input.x11_options.Emulate3Buttons" type="string">true</merge> <merge key="input.x11_options.EmulateWheelTimeout" type="string">200</merge> </match>
Then, make a new file /etc/hal/fdi/policy/mouse-wheel.fdi
sudo vi /etc/hal/fdi/policy/mouse-wheel.fdi
Insert a new line by hitting the letter i
Paste by hitting shift+ctrl+v
Save and quit by typing :wq
Reboot.
That’s it, pretty hard eh?
Ubuntu 7.10
Replace the mouse entry of your /etc/X11/xorg.conf with the following (its a good idea to back up your xorg.conf before making any changes):
Section "InputDevice" Identifier "Mouse1" Driver "mouse" Option "Protocol" "ExplorerPS/2" # IMPS/2 is not recommend for TrackPoints Option "Device" "/dev/input/mice" Option "EmulateWheel" "on" Option "EmulateWheelTimeout" "200" Option "EmulateWheelButton" "2" Option "YAxisMapping" "4 5" Option "XAxisMapping" "6 7" EndSection
Reboot.







You don’t have to reboot when changing xorg.conf. You just need to restart X. Ctrl-Alt-Backspace will restart X.
In response to above: Another way is if you have a shell open, init 3 (IMO the only init for Linux =P), then init 5. 3 vs. 5 is merely without/with X. 4 as you may know, is unused, unless you put it to use. =P