thinkpad小红帽+中键滚屏

由于习惯了不使用鼠标,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

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值