Skip to content

Instantly share code, notes, and snippets.

@behcet
Created July 17, 2017 19:56
Show Gist options
  • Save behcet/99319153e106961c908a305361b590c3 to your computer and use it in GitHub Desktop.
Save behcet/99319153e106961c908a305361b590c3 to your computer and use it in GitHub Desktop.
/etc/X11/
# Touchpad
# This option enables the bottom right corner to be a right button on clickpads
# and the right and middle top areas to be right / middle buttons on clickpads
# with a top button area.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Ignore clickpad buttons"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Section "InputClass"
Identifier "XPS13 settings"
MatchDriver "synaptics"
MatchProduct "DLL0665:01 06CB:76AD UNKNOWN"
# Enables Palm Detection to prevent bad clicks
Option "PalmDetect" "1"
Option "PalmMinWidth" "8"
Option "PalmMinZ" "100"
# TapButton1 => (integer) configures which mouse-button is reported on a non-corner, one finger tap.
# TapButton2 => (integer) configures which mouse-button is reported on a non-corner, two finger tap
# TapButton3 => (integer) configures which mouse-button is reported on a non-corner, three finger tap
Option "ClickPad" "true"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "2"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "2"
# Disable right button
Option "RBCornerButton" "1"
# Prevents cursor to move when clicking with buttons
Option "HorizHysteresis" "10"
Option "VertHysteresis" "10"
Option "VertTwoFingerScroll" "on"
Option "HorizTwoFingerScroll" "on"
Option "VertScrollDelta" "-27"
Option "HorizScrollDelta" "-27"
Option "CircularScrolling" "on"
Option "CircScrollTrigger" "2"
Option "EmulateTwoFingerMinZ" "40"
Option "EmulateTwoFingerMinW" "8"
#Option "CoastingSpeed" "0"
Option "FingerLow" "35"
Option "FingerHigh" "40"
# Inertia
Option "MinSpeed" "0"
Option "ConstantDeceleration" "7"
# Cursor speed
Option "AccelFactor" "0.5"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment