让Ubuntu下的中键滚动像windows一样~
简单几步:
编辑:
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
xinput set-prop 'TPPS/2 IBM TrackPoint' "Evdev Wheel Emulation Axes" 6 7 4 5
保存为\home\Mouse_Wheel.sh
在终端中输入
chmod +x Mouse_Wheel.sh
在system > Preferences > Startup Applications 点击“添加” name:输入“Mouse Whell”,Command Box输入“/home/Mouse_Wheel.sh”
创建新文件:/etc/hal/fdi/policy/mouse-wheel.fdi
sudo gedit /etc/hal/fdi/policy/mouse-wheel.fdi
代码如下:
<?xml version="1.0" encoding="UTF-8"?>
<match key="info.product" string="TPPS/2 IBM TrackPoint">
<merge key="input.x11_options.EmulateWheel" type="string">true</merge>
<merge key="input.x11_options.EmulateWheelButton" type="string">2</merge>
<merge key="input.x11_options.XAxisMapping" type="string">6 7</merge>
<merge key="input.x11_options.YAxisMapping" type="string">4 5</merge>
<merge key="input.x11_options.ZAxsisMapping" type="string">4 5</merge>
<merge key="input.x11_options.Emulate3Buttons" type="string">true</merge>
</match>
重启 done
分享到:
相关推荐
ubuntu10.04界面汉化安装包,deb格式。由于包的相互依赖,需用如下命令安装: #dpkg -i language-pack-zh-hans_1%3a10.04+20100421_all.deb language-pack-zh-hans-base_1%3a10.04+20100421_all.deb language-pack-...
VM7安装Ubuntu 10.04系统 VM7安装Ubuntu 10.04系统
Ubuntu 10.04完全版入门教程 包含Ubuntu安装,配置过程,以及shell编程等内容。 分两部分: Ubuntu 10.04完全版first part Ubuntu 10.04完全版second part
ubuntu10.04 安装 opencv2.2.0
4月29日最新发布的Ubuntu10.04正式版,是有一个LTS长期支持的版本。
官方的chrome 只支持12.04以上的版本,由于所需的库不同 ubuntu 10.04 只能用之前的版本
最近开始学习Linux操作系统,遇到了很多问题,走了不少弯路。 Linux的却比windows强大很多,但像我这样刚入门的,用起来却不那么顺手。就拿上网来说吧,我在网上查了...此方法只适用于Ubuntu10.04,低版本我没试过。
介绍最新版本Ubuntu10.04的安装,配置,shell编程等内容,快速入门提高的资料。 分两卷: Ubuntu10.04入门教程01 Ubuntu10.04入门教程02
安装Ubuntu10.04全过程(图解)
ubuntu10.04安装配置指南.docx
主要介绍了关于嵌入式开发的环境配置 开发环境是Ubuntu 10.04LTS
VMware_Workstation中安装Ubuntu10.04 VMware_Workstation中安装Ubuntu10.04
家里的老笔记本装了诸多新版Ubuntu均不稳定,最终还是装回了10.04,结果安装最新版的方式得到的最新版本已经不能兼容10.04了。于是上网找了Chrome稳定版本的历史版本,然后本地下载各种版本尝试安装,得到了最新可...
UBuntu 10.04 smb.conf UBuntu 10.04 smb.conf UBuntu 10.04 smb.conf UBuntu 10.04 smb.conf
一步一步教你如何子啊VM下安-ubuntu10.04的详细图文教程
ubuntu10.04能用的NFS离线安装包:nfs-kernel-server 1.2.0;nfs-commn1.2.0;portmap 6.0
少点分,这个是在别人的基础上得来的。只好弄少点分了。欢迎大家下载
这是10。04LTS的离线汉化包,专给没办法连网的同志用的,希望能帮助到你们。。。。
一本很难得的自学书籍,自己看吧,很难得,不看后悔
ubuntu10.04北京交通大学的更新源,我这能飙到450K/s