Skip to content

Instantly share code, notes, and snippets.

@phackwer
Created April 10, 2017 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phackwer/a9749318b21a003e63adcf25b579a0d3 to your computer and use it in GitHub Desktop.
Save phackwer/a9749318b21a003e63adcf25b579a0d3 to your computer and use it in GitHub Desktop.
3 finger drag-drop on Linux
sudo apt-get install libmtdev xserver-xorg-dev
git clone https://github.com/p2rkw/xf86-input-mtrack/
cd xf86-input-mtrack
./configure
sudo make installsudo ln -s /usr/local/lib/xorg/modules/input/* /usr/lib/xorg/modules/input/
Add to xorg.conf
Section "InputClass"
MatchIsTouchpad "on"
Identifier "Touchpads"
Driver "mtrack"
Option "SwipeDistance" "1"
Option "SwipeLeftButton" "1"
Option "SwipeRightButton" "1"
Option "SwipeUpButton" "1"
Option "SwipeDownButton" "1"
Option "SwipeClickTime" "0"
Option "SwipeSensitivity" "1000"
Option "IgnoreThumb" true
Option "IgnorePalm" true
Option "DisableOnThumb" true
Option "DisableOnPalm" true
EndSection
@pofl
Copy link

pofl commented Jul 27, 2019

Hi, I tried this but additional packages were necessary. I'm on KDE Neon (so Ubuntu 18.04)

sudo apt-get install pkg-config libmtdev libmtdev1 mtdev-tools libmtdev-dev xserver-xorg-dev

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