Skip to content

Instantly share code, notes, and snippets.

@magicrobotmonkey
Last active January 15, 2017 05:14
Show Gist options
  • Save magicrobotmonkey/5300885 to your computer and use it in GitHub Desktop.
Save magicrobotmonkey/5300885 to your computer and use it in GitHub Desktop.
How to get some OSX like multi-touch gestures working on Linux Mint with Cinnamon.
#This is how I got some of the window management gestures working on linux mint with the cinnamon frontend:
#install your stuff
sudo apt-get install xorg-xserver-mtrack xbindkeys xdotool
#fix mtrack conf
sudo mv /usr/share/X11/xorg.conf.d/50-mtrack.conf /usr/share/X11/xorg.conf.d/60-mtrack.conf
#configure xbindkeys
(
cat <<<EOF
"xdotool key ctrl+alt+Right"
b:10
"xdotool key ctrl+alt+Left"
b:11
"xdotool key ctrl+alt+Up"
b:8
"xdotool key ctrl+alt+Down"
b:9
EOF
) > ~/.xbindkeysrc
#restart mdm (warning this will log you out)
sudo service mdm restart
#you should now be able to swipe 3 finger l/r/u/p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment