手机版
你好,游客 登录 注册 搜索
背景:
阅读新闻

Thinkpad笔记本使用Ubuntu系统时红色摇杆和鼠标中键的问题

[日期:2011-10-13] 来源:Linux社区  作者:hymer2011 [字体:大 中 小]
习惯了Thinkpad的朋友都会比较习惯使用红色摇杆,因为用熟了不亚于普通鼠标。然而,在安装了Ubuntu(11.04)后,默认没有开启此功能,在网上找了下,总结如下:

如果你的系统是Ubuntu10.10之前的版本,编辑/etc/X11/xorg.conf,找到:

Section "InputDevice"

Identifier          "Configured Mouse"

Driver               "mouse"

#加入以下三行

Option              "EmulateWheel"             "true"

Option              "EmulateWheelTimeOut"             "200"

Option              "EmulateWheelButton"             "2"

如果你的系统是Ubuntu 10.10之后的版本,找到目录/usr/share/X11/xorg.conf.d/,然后新建一个文件20-thinkpad.conf,即:

cd /usr/share/X11/xorg.conf.d/

sudo vi 20-thinkpad.conf

将下面一段拷贝进去,重启X-window即可:

 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

希望帮助需要的朋友。

linux
相关资讯       Ubuntu教程 
本文评论   查看全部评论 (0)
表情: 表情 姓名: 字数

       

评论声明
  • 尊重网上道德,遵守中华人民共和国的各项有关法律法规
  • 承担一切因您的行为而直接或间接导致的民事或刑事法律责任
  • 本站管理人员有权保留或删除其管辖留言中的任意内容
  • 本站有权在网站内转载或引用您的评论
  • 参与本评论即表明您已经阅读并接受上述条款