首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >多点触摸脚本(使用xinput)不再工作

多点触摸脚本(使用xinput)不再工作
EN

Ask Ubuntu用户
提问于 2011-01-11 16:57:08
回答 1查看 1.6K关注 0票数 3
代码语言:javascript
复制
#!/bin/bash
#
# list of synaptics device properties http://www.x.org/archive/X11R7.5/doc/man/man4/synaptics.4.html#sect4
# list  current synaptics device properties: xinput list-props '"SynPS/2 Synaptics TouchPad"'
#
sleep 5 #added delay...
xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Pressure" 4
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Width" 9         #  Below width 1 finger touch, above width simulate 2 finger touch. - value=pad-pixels
xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Edge Scrolling" 1 1 0       #  vertical, horizontal, corner - values: 0=disable  1=enable
xinput --set-prop --type=int --format=32 "SynPS/2 Synaptics TouchPad" "Synaptics Jumpy Cursor Threshold" 250 #  stabilize 2 finger actions - value=pad-pixels
#xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Tap Action" 0 0 0 0 1 2 3   # pad corners rt rb lt lb tap fingers 1 2 3 (can't simulate more then 2 tap fingers AFAIK) - values: 0=disable 1=left 2=middle 3=right etc. (in FF 8=back 9=forward)
xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Two-Finger Scrolling" 1 0   #  vertical scrolling, horizontal scrolling - values: 0=disable 1=enable
#xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling" 1
#xinput --set-prop --type=int --format=8  "SynPS/2 Synaptics TouchPad" "Synaptics Circular Scrolling Trigger" 3

大家好..。上面的脚本允许我愉快地使用多点触控一个月..。如果我用两根手指滚动鼠标光标就像被附身一样在屏幕上运行。有什么暗示吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2011-01-15 16:45:55

花了我很长时间,但我真的很高兴与大家分享这个解决方案。

在这个页面上:https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+index?comments=all

您可以找到注释116,单击此处下载,然后安装如下:

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/308191/+attachment/1735234/+files/synaptics-dkms_1.0.0_all.deb

安装完毕后,只需到

系统-鼠标

然后单击Touchpad选项卡

最后点击两个手指滚动。

耶!:D

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/21079

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档