Last active
May 29, 2019 14:57
-
-
Save StenHigh/f190dff57bfb45d307938e0bc5684787 to your computer and use it in GitHub Desktop.
Ubuntu Gnome touchpad 4 finger
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo apt install touchegg -f | |
cat >> ~/.xprofile <<EOL | |
synclient ClickFinger4=0 | |
synclient TapButton4=0 | |
touchegg & | |
EOL | |
cat > ~/config/touchegg/touchegg.conf <<EOL | |
<touchegg> | |
<settings> | |
<property name="composed_gestures_time">0</property> | |
</settings> | |
<application name="All"> | |
<gesture type="DRAG" fingers="3" direction="UP"> | |
<action type="SEND_KEYS">Control+Alt+Up</action> | |
</gesture> | |
<gesture type="DRAG" fingers="3" direction="DOWN"> | |
<action type="SEND_KEYS">Control+Alt+Down</action> | |
</gesture> | |
<gesture type="DRAG" fingers="4" direction="DOWN"> | |
<action type="SEND_KEYS">Super+s</action> | |
</gesture> | |
<gesture type="DRAG" fingers="4" direction="UP"> | |
<action type="SEND_KEYS">Super+w</action> | |
</gesture> | |
</application> | |
</touchegg> | |
EOL |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment