Skip to content

Instantly share code, notes, and snippets.

@chadmiller
Created November 5, 2017 03:14
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chadmiller/3743d10092b6b86e86a2e95619d7dc67 to your computer and use it in GitHub Desktop.
Save chadmiller/3743d10092b6b86e86a2e95619d7dc67 to your computer and use it in GitHub Desktop.
xps13 touchpad xinput setup
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Tap Time" 0
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Palm Detection" 1
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Click Action" 1 3 2
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Scrolling Distance" -27 -27
height=$((680-1))
width=$((1216-1))
to_edge=0
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Soft Button Areas" \
$(($width*75/100)) $to_edge $(($height*80/100)) $to_edge \
$(($width*50/100)) $(($width*75/100)) $(($height*80/100)) $to_edge
xmargin=48
ymargin=36
xinput set-prop "DLL075B:01 06CB:76AF Touchpad" "Synaptics Edges" $xmargin $(($width-$xmargin)) $ymargin $(($(($height*80/100))-$ymargin))
@rishabhnambiar
Copy link

Thanks for this, helped me set up my touchpad on i3wm!

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