由于习惯了不使用鼠标,windows下一直用的小红帽+中键滚屏,到了ubuntu下也得有这个功能才行啊。网上收集整理方法如下:
在/usr/share/X11/xorg.conf.d/下新建文件:20-thinkpad.conf
添加内容如下:
Section "InputClass"
Identifier "Trackpoint Wheel Emulation"
MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device|Composite TouchPad / TrackPoint"
MatchDevicePath "/dev/input/event*"
Option "EmulateWheel" "true"
Option "EmulateWheelButton" "2"
Option "Emulate3Buttons" "false"
Option "XAxisMapping" "6 7"
Option "YAxisMapping" "4 5"
EndSection
保存退出之后重启X server
另:Ctrl+Alt+Backspace重启X方法:菜单里---->>系统 ---->>首先项---->>键盘---->>布局---->>选项---->>Key sequence to kill the X server---->>Control+Alt+Backspace
发现按Ctrl显示指针位置这功能挺不错:菜单里---->>系统---->>首先项---->>鼠标---->>常规---->>定位指针---->>按Ctrl建显示指针位置
我的操作系统版本信息:
zxsh@zxsh-laptop:~$ cat /etc/issue
Ubuntu 10.10 \n \l
zxsh@zxsh-laptop:~$ uname -a
Linux zxsh-laptop 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 22:02:19 UTC 2010 i686 GNU/Linux
zxsh@zxsh-laptop:~$
本文参考资料:http://www.thinkwiki.org/wiki/How_to_configure_the_TrackPoint#Scrolling