Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@mcattarinussi
Last active August 3, 2017 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcattarinussi/268e62bd8c9fe2868e8c8aa41dd5ea32 to your computer and use it in GitHub Desktop.
Save mcattarinussi/268e62bd8c9fe2868e8c8aa41dd5ea32 to your computer and use it in GitHub Desktop.
Configuration for Touchégg (https://github.com/JoseExposito/touchegg)
<!-- Dell xps15-9550 - Ubuntu 16.04 -->
<touchégg>
<application name="All">
<!-- Maximize/Restore window -->
<gesture type="DRAG" fingers="3" direction="UP">
<action type="MAXIMIZE_RESTORE_WINDOW"></action>
</gesture>
<!-- Minimize window -->
<gesture type="DRAG" fingers="3" direction="DOWN">
<action type="MINIMIZE_WINDOW"></action>
</gesture>
<!-- Close window -->
<gesture type="DRAG" fingers="5" direction="DOWN">
<action type="CLOSE_WINDOW"></action>
</gesture>
<!-- Switch left desktop -->
<gesture type="DRAG" fingers="4" direction="LEFT">
<action type="SEND_KEYS">Control+Alt+Left</action>
</gesture>
<!-- Switch right desktop -->
<gesture type="DRAG" fingers="4" direction="RIGHT">
<action type="SEND_KEYS">Control+Alt+Right</action>
</gesture>
<!-- Switch left desktop -->
<gesture type="DRAG" fingers="3" direction="LEFT">
<action type="SEND_KEYS">Control+Alt+Left</action>
</gesture>
<!-- Move window in previous desktop -->
<gesture type="DRAG" fingers="5" direction="LEFT">
<action type="SEND_KEYS">Control+Alt+Shift+Left</action>
</gesture>
<!-- Move window in next desktop -->
<gesture type="DRAG" fingers="5" direction="RIGHT">
<action type="SEND_KEYS">Control+Alt+Shift+Right</action>
</gesture>
<!-- Spread all windows in the current workspace -->
<gesture type="TAP" fingers="3" direction="ALL">
<action type="SEND_KEYS">Super+w</action>
</gesture>
<!-- Spread all windows in all workspaces -->
<gesture type="TAP" fingers="4" direction="ALL">
<action type="SEND_KEYS">Super+Shift+w</action>
</gesture>
<!-- Show all workspaces -->
<gesture type="TAP" fingers="5" direction="ALL">
<action type="SEND_KEYS"> Super+S</action>
</gesture>
<!-- Show desktop -->
<gesture type="DRAG" fingers="4" direction="DOWN">
<action type="SEND_KEYS">Control+Super+D</action>
</gesture>
</application>
<!-- Browsers -->
<application name="Firefox, Google-chrome, Chrome">
<!-- Go back -->
<gesture type="DRAG" fingers="3" direction="RIGHT">
<action type="SEND_KEYS">Alt+Right</action>
</gesture>
<!-- Go forward -->
<gesture type="DRAG" fingers="3" direction="LEFT">
<action type="SEND_KEYS">Alt+Left</action>
</gesture>
<!-- Close tab -->
<gesture type="DRAG" fingers="4" direction="UP">
<action type="SEND_KEYS">Control+w</action>
</gesture>
</application>
</touchégg>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment