Skip to content

Instantly share code, notes, and snippets.

@benavern
Last active November 4, 2018 23:44
Show Gist options
  • Save benavern/90edb9fea4ac7eb51f2cda938769ccbc to your computer and use it in GitHub Desktop.
Save benavern/90edb9fea4ac7eb51f2cda938769ccbc to your computer and use it in GitHub Desktop.
3 & 4 fingers gestures for elementaryos
git clone http://github.com/bulletmark/libinput-gestures
cd libinput-gestures
sudo make install
sudo apt-get install xdotool wmctrl libinput-tools
sudo gpasswd -a $USER input
libinput-gestures-setup autostart

copy the conf file to ~/.config/

libinput-gestures-setup restart
# next & previous desktop (4 fingers)
gesture swipe right 4 _internal ws_down
gesture swipe left 4 _internal ws_up
# next & previous browser page (3 fingers)
gesture swipe left 3 xdotool key alt+Right
gesture swipe right 3 xdotool key alt+Left
# multitask view (swipping)
gesture swipe up xdotool key super+s
gesture swipe down xdotool key super+s
# multitask view (pinchng)
# gesture pinch in xdotool key super+s
# gesture pinch out xdotool key super+s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment