qt multi-touch linux,Mac支持MultiTouch

问题描述

我不记得是怎么回事,但是在11.10中,我设法找到了一些可被某些软件支持的多点触控操作。

现在我正在使用12.04,是否有任何方法/应用程序/解决方法/插件或任何可以为我提供类似于mac或接近它的多点触摸手势的东西?

通过突触,我发现我的触摸板支持3finger控制。

我正在使用三星NP-RV509-A0GIN。

最佳方法

Touchegg

Touchégg is a “multitouch gesture recognizer” for Linux, written in C++ , with Qt and utilizing Ubuntu’s uTouch-geis library. It allows users to define what actions are initiated when a multi-touch gesture is made.

Providing the desired gesture is recognised by Touchégg you can assign one of a number of window-related actions to it, including maximize or minimize windows, resize apps, show the desktop, etc.

Setting the ‘actions’ you want is currently achieved through the manual editing of a small configuration file.

Touchegg comes with some pre-enabled gestures, however gestures can be enabled by editing the config file. It allows three-fingers pinch, two, three, four and five finger tap and two to four finger swipes.

注意:精确度有问题。报告了错误here和here

先决条件

您需要最新版本的Utouch才能运行此版本。因此,添加以下PPA

sudo add-apt-repository ppa:utouch-team/daily

sudo apt-get update

sudo apt-get install utouch

Installation

在Quantal(12.10),Precise(12.04)和Oneric(11.10)中,软件包位于存储库中,如here所示

编辑配置文件

配置文件位于此处~/.config/touchegg/touchegg.conf

编辑配置文件:

gedit ~/.config/touchegg/touchegg.conf

在下面的示例中,四指拖动手势被配置为切换到Show Desktop

四指拖动

[FOUR_FINGERS_DRAG_DOWN]

action=SHOW_DESKTOP

settings=

三指拖动

[THREE_FINGERS_DRAG_UP]

action=MAXIMIZE_RESTORE_WINDOW

settings=

[THREE_FINGERS_DRAG_DOWN]

action=MINIMIZE_WINDOW

settings=

更多动作列表here

因此,您可以在Linux系统上获得像multi-touch这样的Mac体验。

支持哪些手势?

其他选择

参考资料

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值