Touchegg
Touchegg is a multitouch gesture program, that runs as a user in the background, recognizes gestures, translates them to more conventional types of events and/or performs custom actions in response to them.
Installation
Install toucheggAUR package. Alternatively, it is also available touchegg-gitAUR.
Touchegg comes with its own minimal GUI, but you can also install touchegg-gce-gitAUR - Touchegg-GCE (GUI configuration editor).
Configuration
The configuration file is found in $HOME/.config/touchegg/touchegg.conf
.
It is a basic XML file that defines various gestures. Please note that at this time TAP_AND_HOLD
, PINCH
, and ROTATE
, do not appear to work.
The list of triggers can be found here
The list of actions can be found here
Gnome Shell
Very basic so far. This should give you basic functionality. Hopefully we can update this for complete application support.
edit $HOME/.config/touchegg/touchegg.conf
add this:
<gesture type="DRAG" fingers="1" direction="ALL"> <action type="DRAG_AND_DROP">BUTTON=1</action> </gesture>
and then edit this entry:
<gesture type="DRAG" fingers="2" direction="ALL"> <action type="SCROLL">SPEED=7:INVERTED=true</action> </gesture>
Start on login
- Hit
alt-f2
; - type
gnome-session-properties
; - hit
add
; - in the box labeled "Command" type
touchegg
. Fill in "Name" and "Label" as you choose; - hit
OK
.
Alternatively, you can modify your .xprofile:
~/.xprofile
touchegg &