- 论坛徽章:
- 0
|
关键字: Lenovo, Ideapad, Y450, ubuntu9.10, touchpad, two-finger scrolling, SynPS/2 Synaptics TouchPad, EmulateTwoFingerMinZ, EmulateTwoFingerMinW
之所以列出上面的关键字,是因为上面的都是我用过的,用来搜索怎么解决这个问题,结果还真被我找到解决的办法了!从我搜索的结果来看,我可能是第一个在Ideapad Y450G这个型号的笔记本上实现在ubuntu9.10上的触摸板双指滚动。
经过今晚一晚的测试,感觉用的还是可以了,这里把具体做法贴出来方便自己也方便他人。
1. 确认 系统->首选项->鼠标->触摸板(选择双指滚动)
2. 终端里面输入
$gksudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi
复制下面的内容,粘贴到刚刚打开的gedit里面
synaptics
On
40
1
1
1
3 middle clieck(3) -->
2 right click(2). almost impossible to click -->
3. 创建如下内容的脚本
#!/bin/sh## Use xinput --list-props "SynPS/2 Synaptics TouchPad" to extract data## Set multi-touch emulation parametersxinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 32 1xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 32 8xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Two-Finger Scrolling" 8 1xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 8 1 1# Disable edge scrollingxinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 8 0 0 0 # This will make cursor not to jump if you have two fingers on the touchpad and you list one# (which you usually do after two-finger scrolling)xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 32 110
更改文件的访问权限,然后随便丢在哪个目录下面吧
4. 把上面的脚本添加到开机自启动里面,这样用户登录后就可以使用双指滚动了
系统->首选项->启动应用程序,添加,OK搞定
5. 重启电脑,打开firefox测试(其他也可以测试,文档啊,图片啊,都可以的)
以上文档为个人总结,仅供参考
本文参考了如下文章,详情可以点击:
Setting up multi-touch scrolling for Ubuntu 9.10 Karmic Koala Linux on Asus Eee 1005HA netbook
http://blog.twinapex.fi/2009/10/11/setting-up-multi-touch-scrolling-for-ubuntu-9-10-karmic-koala-linux-on-asus-eee-1005ha-netbook/
如何开启SHMConfig
http://kwanlife.yo2.cn/articles/如何开启shmconfig.html
这里,可以不用关心具体的笔记本型号,只要该笔记本的触摸板满足下面两个条件
Synaptics driver can emulate two-finger touch with the following conditions
Touched area width exceeds certain threshold (min width)Touch pressure exceeds certain thresholds都可以通过emulation来实现双指滚动
下面命令可以参考:
$xinput list //用来列出所有input设备
$xinput list-props 10 //10是设备id 这里指的是touchpad
$ synclient -l //这个命令将touchpad的配置列举出来
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u1/56521/showart_2093057.html |
|