Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bitjockey42/30339097026d607a0efd7f8e726fa84d to your computer and use it in GitHub Desktop.
Save bitjockey42/30339097026d607a0efd7f8e726fa84d to your computer and use it in GitHub Desktop.
Put this as /etc/X11/xorg.conf.d/50-mtrack.conf

Missing your 3-finger window drag from OS X in Linux?

Fear not, for this fork of xf86-input-mtrack supports 3 finger drag.

You only need to add these lines to your /etc/X11/xorg.conf.d/50-mtrack.conf:

     Option "SwipeDistance" "1"
     Option "SwipeLeftButton" "1"
     Option "SwipeRightButton" "1"
     Option "SwipeUpButton" "1"
     Option "SwipeDownButton" "1"
     Option "SwipeClickTime" "0"
     Option "SwipeSensitivity" "1000"

NOTE Make sure you don't have any conflicting entries, that is, duplicate SwipeLeftButton entries and so on. I'm an idiot, so I made this mistake and couldn't figure out why this wasn't working until I looked at my config again.

Section "InputClass"
Identifier "touchpad"
Driver "mtrack"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Option "Sensitivity" "0.35"
Option "FingerHigh" "12"
Option "FingerLow" "1"
Option "PalmSize" "40"
Option "IgnoreThumb" "true"
Option "IgnorePalm" "true"
Option "ButtonMoveEmulate" "false"
Option "ClickTime" "25"
Option "BottomEdge" "30"
Option "SwipeDistance" "1"
Option "SwipeLeftButton" "1"
Option "SwipeRightButton" "1"
Option "SwipeUpButton" "1"
Option "SwipeDownButton" "1"
Option "SwipeClickTime" "0"
Option "SwipeSensitivity" "1000"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment