Skip to content

Instantly share code, notes, and snippets.

@metaphore
Created June 23, 2025 22:29
Show Gist options
  • Save metaphore/ba303a4cbd75bc61a601615970f8f389 to your computer and use it in GitHub Desktop.
Save metaphore/ba303a4cbd75bc61a601615970f8f389 to your computer and use it in GitHub Desktop.
ThinkPad X1 Extreme Gen2 touchpad config for PopOS!
# Place me to /etc/X11/xorg.conf.d/70-synaptics.conf
# for the best ThinkPad X1 Extreme Gen2 touchpad expreience (PopOS).
Section "InputClass"
Identifier "touchpad catchall"
Driver "synaptics"
MatchIsTouchpad "on"
# This option is recommend on all Linux systems using evdev, but cannot be
# enabled by default. See the following link for details:
# http://who-t.blogspot.com/2010/11/how-to-ignore-configuration-errors.html
MatchDevicePath "/dev/input/event*"
EndSection
Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection
# 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 "Default clickpad buttons"
# MatchDriver "synaptics"
# Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
# Option "SecondarySoftButtonAreas" "58% 0 0 15% 42% 58% 0 15%"
#EndSection
# This option disables software buttons on Apple touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
Identifier "Disable clickpad buttons on Apple touchpads"
MatchProduct "Apple|bcm5974"
MatchDriver "synaptics"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
EndSection
Section "InputClass"
Identifier "touchpad"
Driver "synaptics"
MatchIsTouchpad "on"
Option "HorizTwoFingerScroll" "1"
Option "VertScrollDelta" "35"
Option "HorizScrollDelta" "35"
Option "MaxTapTime" "0"
Option "MaxTapMove" "0"
Option "SingleTapTimeout" "0"
Option "VertEdgeScroll" "0"
Option "PalmDetect" "1"
Option "RightButtonAreaLeft" "0"
Option "RightButtonAreaTop" "0"
Option "MinSpeed" "0.25"
Option "MaxSpeed" "1.20"
Option "AccelFactor" "0.11"
Option "SoftButtonAreas" "0 0 0 0 0 0 0 0"
Option "SecondarySoftButtonAreas" "0 0 0 0 0 0 0 0"
# Accurate tap-to-click!
Option "FingerLow" "50"
Option "FingerHigh" "51"
# Drag lock
Option "LockedDrags" "1"
EndSection
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment