I use the following in my AwesomeWM autostart file:
# make the mouse work right on my thinkpad in lucid
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation" 1
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Button" 2
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Timeout" 200
In the default Gnome install you could write a script that runs on boot or perhaps check out if the .xinitrc or .Xresources is used. (I can't recall which is used any more)
To get "natural scrolling", that is, scrolling in the direction of the pointer, you can swap the YAxisMapping values to be "5 4" instead. I restarted after I swapped mine and it worked fine.
http://www.eastwoodzhao.com/thinkpad-middle-button-scroll-ubuntu-linux-10-04-lucid-lynx/
In short, run this:
gksu gedit /usr/lib/X11/xorg.conf.d/20-thinkpad.conf
and put this in the file:Save and restart.
Install package "gpointing-device-settings" Set options as follows:
ThinkWiki has instructions on how to do this. Specifically, how to use xinput(1) to configure the TrackPoint.
(All in all, ThinkWiki is a great resource. It's pretty much the go-to place for just about anything on running Linux on Thinkpads.)
I use the following in my AwesomeWM autostart file:
In the default Gnome install you could write a script that runs on boot or perhaps check out if the .xinitrc or .Xresources is used. (I can't recall which is used any more)
Gpointing is a graphical application for the gnome desktop to achieve the same result ;)
With Ubuntu install it in a terminal
or via software center "gpointing-device-settings"
In Ubuntu 14.04, these settings are in /usr/share/X11/xorg.conf.d/11-evdev-trackpoint.conf. It looks like this:
To get "natural scrolling", that is, scrolling in the direction of the pointer, you can swap the YAxisMapping values to be "5 4" instead. I restarted after I swapped mine and it worked fine.