Skip to content

Instantly share code, notes, and snippets.

@darky
Last active February 16, 2016 16:03
Show Gist options
  • Save darky/28876dfeebf2ae6e0d21 to your computer and use it in GitHub Desktop.
Save darky/28876dfeebf2ae6e0d21 to your computer and use it in GitHub Desktop.
Touchegg like OS X
<touchégg>
<settings>
<property name="composed_gestures_time">0</property>
</settings>
<application name="All">
<gesture type="PINCH" fingers="2" direction="IN">
<action type="SEND_KEYS">Control++</action>
</gesture>
<gesture type="PINCH" fingers="2" direction="OUT">
<action type="SEND_KEYS">Control+-</action>
</gesture>
<gesture type="TAP" fingers="3" direction="">
<action type="MOUSE_CLICK">BUTTON=2</action>
</gesture>
<gesture type="TAP" fingers="5" direction="">
<action type="CLOSE_WINDOW"></action>
</gesture>
<gesture type="DRAG" fingers="3" direction="UP">
<action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>
<gesture type="DRAG" fingers="3" direction="DOWN">
<action type="MINIMIZE_WINDOW"></action>
</gesture>
<gesture type="DRAG" fingers="3" direction="LEFT">
<action type="MOVE_WINDOW"></action>
</gesture>
<gesture type="DRAG" fingers="3" direction="RIGHT">
<action type="MOVE_WINDOW"></action>
</gesture>
<gesture type="DRAG" fingers="4" direction="UP">
<action type="SEND_KEYS">Control+F8</action>
</gesture>
<gesture type="DRAG" fingers="4" direction="LEFT">
<action type="SEND_KEYS">Control+Shift+Left</action>
</gesture>
<gesture type="DRAG" fingers="4" direction="RIGHT">
<action type="SEND_KEYS">Control+Shift+Right</action>
</gesture>
<gesture type="DRAG" fingers="4" direction="DOWN">
<action type="SEND_KEYS">Control+F10</action>
</gesture>
<gesture type="PINCH" fingers="3" direction="ALL">
<action type="SHOW_DESKTOP"></action>
</gesture>
<gesture type="PINCH" fingers="5" direction="ALL">
<action type="SEND_KEYS">Alt+F1</action>
</gesture>
</application>
<application name="Okular, Gwenview">
<gesture type="PINCH" fingers="2" direction="IN">
<action type="SEND_KEYS">Control+KP_Add</action>
</gesture>
<gesture type="PINCH" fingers="2" direction="OUT">
<action type="SEND_KEYS">Control+KP_Subtract</action>
</gesture>
<gesture type="ROTATE" fingers="2" direction="LEFT">
<action type="SEND_KEYS">Control+L</action>
</gesture>
<gesture type="ROTATE" fingers="2" direction="RIGHT">
<action type="SEND_KEYS">Control+R</action>
</gesture>
</application>
<application name="chromium-browser">
<gesture type="DRAG" fingers="2" direction="LEFT">
<action type="SEND_KEYS">Alt+Left</action>
</gesture>
<gesture type="DRAG" fingers="2" direction="RIGHT">
<action type="SEND_KEYS">Alt+Right</action>
</gesture>
</application>
</touchégg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment