Skip to content

Instantly share code, notes, and snippets.

@nijave
Last active January 6, 2021 19:35
Show Gist options
  • Save nijave/19a884c12a3d410055c9895f1a375e9a to your computer and use it in GitHub Desktop.
Save nijave/19a884c12a3d410055c9895f1a375e9a to your computer and use it in GitHub Desktop.
/usr/share/X11/xorg.conf.d/42-dell-quirks.conf
Section "InputClass"
Identifier "DELL08AF:00 06CB:76AF Touchpad"
MatchProduct "DELL08AF:00 06CB:76AF Touchpad"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/event*"
Driver "mtrack"
#Option "Ignore" "on"
Option "IgnorePalm" "true"
Option "TapButton1" "1"
Option "TapButton2" "3"
Option "TapButton3" "0"
Option "TapButton4" "0"
# Setup button zones on the bottom of the touchpad
Option "ButtonIntegrated" "true"
Option "ButtonEnable" "true"
Option "ButtonZonesEnable" "true"
Option "FirstButtonZone" "1"
Option "SecondButtonZone" "3"
Option "LimitButtonZonesToBottomEdge" "true"
Option "ClickFinger1" "1"
Option "ClickFinger2" "3"
Option "ClickFinger3" "0"
# Enables tap then drag to select text (like click and drag but with tap)
# xinput set-prop 10 "Trackpad Drag Settings" 1 500 60 500 500
Option "TapDragEnable" "true"
Option "TapDragTime" "250"
Option "TapDragWait" "60"
Option "TapDragDist" "500"
# Movement and sensitivity
Option "AccelerationProfile" "1"
#Option "VelocityScale" "5"
#Option "AdaptiveDeceleration" "2"
Option "Sensitivity" "1.3"
# Scrolling setup
Option "ScrollDistance" "25" # 150 default
Option "ScrollClickTime" "20" # 20 default
Option "ScrollSensitivity" "15" # 1000 default
Option "ScrollCoastDuration" "20" # 200 default
EndSection
@phaberest
Copy link

I'm afraid the file is incomplete

@nijave
Copy link
Author

nijave commented Jan 6, 2021

I'm afraid the file is incomplete

Some other settings it looks like I was tinkering with

xinput set-prop 10 "Trackpad Touch Pressure" 5 100
xinput set-prop 10 "Trackpad Palm Size" 8
xinput set-prop 10 "Trackpad Sensitivity" 1.6
xinput set-prop 10 "Trackpad Scroll Coasting" 1 7500
xinput set-prop 10 "Device Accel Velocity Scaling" 20

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