Skip to content

Instantly share code, notes, and snippets.

@mlouielu
Created July 27, 2021 01:51
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 mlouielu/628017964257c6254aca0251d2b5d9b2 to your computer and use it in GitHub Desktop.
Save mlouielu/628017964257c6254aca0251d2b5d9b2 to your computer and use it in GitHub Desktop.
Disable Elan Touchpad. Setting Thinkpad Elan Touchpad Palm Detection on, and Palm Dimensions to minimum.
#!/bin/bash
#
# Disable Elan Touchpad
#
# Setting Thinkpad Elan Touchpad Palm Detection on,
# and Palm Dimensions to minimum.
#
xinput set-prop "Elan Touchpad" `xinput list-props "Elan Touchpad" | grep "Palm Detection" | grep -o '[0-9]\+' | head -n 1` 1
xinput set-prop "Elan Touchpad" `xinput list-props "Elan Touchpad" | grep "Palm Dimensions" | grep -o '[0-9]\+' | head -n 1` 0, 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment