← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 529745] [NEW] [Suggestion] Enable TrackPoint middle scroll by default

 

Public bug reported:

Binary package hint: xinput

Hi, this is not a bug but I'm not sure where to post it...

My suggestion is simply to have the middle button on TrackPoint devices
(found on most Thinkpad laptops) scroll the page by default. This can be
simply achieved by running this script :

for XINPUT_ID in `xinput list | grep TrackPoint | cut -d= -f2 | cut -d\[ -f1`; do
	xinput set-int-prop $XINPUT_ID "Evdev Wheel Emulation" 8 1
	xinput set-int-prop $XINPUT_ID "Evdev Wheel Emulation Button" 8 2
	xinput set-int-prop $XINPUT_ID "Evdev Wheel Emulation Timeout" 16 200
done

There may be a better way in the package, but I don't know about it. The
change seems to persist across reboots, however the ID of a device
sometimes changes.

Otherwise maybe an option in Preferences > Mouse that may allow other
behaviours... But by default it would be nice to have it do something!

Best,
- Thomas

Using: Karmic 64bit on T400s

TrackPoint in xinput list :

"TPPS/2 IBM TrackPoint"	id=10	[XExtensionPointer]
	Type is MOUSE
	Num_buttons is 5
	Num_axes is 2
	Mode is Relative
	Motion_buffer is 256
	Axis 0 :
		Min_value is -1
		Max_value is -1
		Resolution is 1
	Axis 1 :
		Min_value is -1
		Max_value is -1
		Resolution is 1

** Affects: xinput (Ubuntu)
     Importance: Undecided
         Status: New

-- 
[Suggestion] Enable TrackPoint middle scroll by default
https://bugs.launchpad.net/bugs/529745
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xinput in ubuntu.



Follow ups

References