Skip to content

Instantly share code, notes, and snippets.

@dnutiu
Last active May 3, 2020
Embed
What would you like to do?
Fusuma trackpad gestures
# sudo gpasswd -a $USER input
# sudo apt-get install libinput-tools
# sudo apt-get install xdotool
# sudo apt install ruby
# sudo gem install fusuma
# nano ~/.config/fusuma/config.yml
swipe:
3:
left:
command: 'xdotool key ctrl+alt+Up'
right:
command: 'xdotool key ctrl+alt+Down'
up:
command: 'xdotool key super'
down:
command: 'xdotool key super'
pinch:
2:
in:
command: 'xdotool key ctrl+plus'
threshold: 0.1
out:
command: 'xdotool key ctrl+minus'
threshold: 0.1
threshold:
swipe: 1
pinch: 0.8
interval:
swipe: 1
pinch: 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment