Skip to content

Instantly share code, notes, and snippets.

@celsoagra
Last active March 8, 2017 02:38
Show Gist options
  • Save celsoagra/4a7ffd8ad790492dae78d46dac6d1ff2 to your computer and use it in GitHub Desktop.
Save celsoagra/4a7ffd8ad790492dae78d46dac6d1ff2 to your computer and use it in GitHub Desktop.
configure touchegg

links

https://pplware.sapo.pt/informacao/ubuntu-ao-estilo-do-macos-instale-touchegg/ http://askubuntu.com/a/802218/661454

installation

sudo apt install touchegg

create file .xprofile

synclient TapButton2=0
synclient ClickFinger2=0
synclient TapButton3=0
synclient ClickFinger3=0
synclient HorizTwoFingerScroll=0
synclient VertTwoFingerScroll=0
touchegg &

configuring

sudo vim .config/touchegg/touchegg.conf

<touchégg>

    <settings>
        <property name="composed_gestures_time">0</property>
    </settings>


    <application name="All">
        <gesture type="DRAG" fingers="4" direction="UP">
            <action type="SEND_KEYS">Control+Alt+Up</action>
        </gesture>
        <gesture type="DRAG" fingers="4" direction="DOWN">
            <action type="SEND_KEYS">Control+Alt+Down</action>
        </gesture>
        <gesture type="DRAG" fingers="4" direction="LEFT">
            <action type="SEND_KEYS">Control+Alt+Right</action>
        </gesture>
        <gesture type="DRAG" fingers="4" direction="RIGHT">
            <action type="SEND_KEYS">Control+Alt+Left</action>
        </gesture>
    </application>
</touchégg>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment