有touchpad的笔记本都可以用 multi touch

笔记本/便携移动设备,手机平板等软硬件
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

有touchpad的笔记本都可以用 multi touch

#1

帖子 roylez » 2009-04-01 6:16

我的笔记本没有,存个档先。原文见:http://ubuntu-snippets.blogspot.com/200 ... ptics.html

Multi-touch became trendy after iphone came up with it. We are seeing many new laptops with multi-touch. At hardware level, there is nothing special that you need, to make multi-touch work. You can also do two-finger scroll and two-finger tap to right/middle click. Also, three-finger tap, but, for me it is very hard to press three fingers at the same time(1 out of 10).

Create new file

代码: 全选

gksudo gedit /etc/hal/fdi/policy/11-x11-synaptics.fdi
Paste the following code into the file and save it.

代码: 全选

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
 <device>
   <match key="info.capabilities" contains="input.touchpad">
       <merge key="input.x11_driver" type="string">synaptics</merge>
       <merge key="input.x11_options.SHMConfig" type="string">On</merge>
       <merge key="input.x11_options.EmulateTwoFingerMinZ" type="string">90</merge>
       <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>
       <merge key="input.x11_options.HorizTwoFingerScroll" type="string">1</merge>
       <merge key="input.x11_options.TapButton1" type="string">1</merge>
       <merge key="input.x11_options.TapButton2" type="string">3</merge>  <!--two finger tap -> middle clieck(3) -->
       <merge key="input.x11_options.TapButton3" type="string">2</merge>  <!--three finger tap -> right click(2). almost impossible to click -->
   </match>
 </device>
</deviceinfo>
Restart hal and enjoy multitouch touchpad.

代码: 全选

sudo /etc/init.d/hal restart
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
头像
bones7456
帖子: 8495
注册时间: 2006-04-12 20:05
来自: 杭州
联系:

Re: 有touchpad的笔记本都可以用 multi touch

#2

帖子 bones7456 » 2009-04-01 8:24

这样也行?或许以后有用,mark先~
关注我的blog: ε==3
头像
kelen
帖子: 734
注册时间: 2008-05-02 19:50

Re: 有touchpad的笔记本都可以用 multi touch

#3

帖子 kelen » 2009-04-01 18:37

回家试试. 嘿嘿. :em05
In a world without walls who needs Windows?
Sinned
帖子: 87
注册时间: 2009-03-18 0:25

Re: 有touchpad的笔记本都可以用 multi touch

#4

帖子 Sinned » 2009-04-01 20:03

真的吗?很期待!
头像
soething
帖子: 746
注册时间: 2008-07-23 19:06

Re: 有touchpad的笔记本都可以用 multi touch

#5

帖子 soething » 2009-04-01 20:37

sure?不是日期的关系?
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

Re: 有touchpad的笔记本都可以用 multi touch

#6

帖子 eexpress » 2009-04-02 9:14

fvwm一直就可以。3个手指的都试过。不就一个libstroke嘛。
● 鸣学
头像
winjie0618
帖子: 149
注册时间: 2008-03-10 16:27
来自: 山东

Re: 有touchpad的笔记本都可以用 multi touch

#7

帖子 winjie0618 » 2009-04-19 21:02

:em05 :em09
头像
adam8157
帖子: 2794
注册时间: 2009-03-05 16:31
联系:

Re: 有touchpad的笔记本都可以用 multi touch

#8

帖子 adam8157 » 2009-04-19 21:22

看到这个就生气,我的ALPS触摸板自从升级xorg到1.6后就只支持移动,点击和滚屏都不好使,即使我改hal策略,也只是能点击了,滚屏仍然不行.....
头像
hakie
帖子: 270
注册时间: 2008-04-30 12:14

Re: 有touchpad的笔记本都可以用 multi touch

#9

帖子 hakie » 2009-04-20 10:11

我感觉我的触摸板变迟钝了,点击不灵。
studyhard
帖子: 174
注册时间: 2008-06-21 13:07

Re: 有touchpad的笔记本都可以用 multi touch

#10

帖子 studyhard » 2009-04-23 13:52

具体怎么用啊?楼主也不说一下哎。。。。
ilove86
帖子: 44
注册时间: 2009-06-07 9:45

Re: 有touchpad的笔记本都可以用 multi touch

#11

帖子 ilove86 » 2009-06-07 20:42

这个,好像只能在一部分的触摸板上能用的吧,在win下面尝试国,反正我的sl400不行
这世上总有一些东西,值得我们去坚持
头像
petrele.chen
帖子: 261
注册时间: 2008-09-11 17:41

Re: 有touchpad的笔记本都可以用 multi touch

#12

帖子 petrele.chen » 2009-06-07 22:14

其实不用hal,通过配置/etc/X11/xorg.conf就可以实现、、、、、、、

基本上我只用两指滚动,可横向可纵向、、、、、、
Work Hard and Enjoy Life!
-P
头像
jarryson
帖子: 4002
注册时间: 2005-08-14 19:53

Re: 有touchpad的笔记本都可以用 multi touch

#13

帖子 jarryson » 2009-06-08 1:15

早用上了,不过是用xorg.conf实现的
sunnsi
帖子: 78
注册时间: 2006-05-27 22:15

Re: 有touchpad的笔记本都可以用 multi touch

#14

帖子 sunnsi » 2009-07-14 9:58

做个标记。 :em02
头像
drvicar
帖子: 1285
注册时间: 2007-12-17 18:07
来自: 西安

Re: 有touchpad的笔记本都可以用 multi touch

#15

帖子 drvicar » 2009-07-20 11:08

:em06 mark一下
回复