Skip to content

Instantly share code, notes, and snippets.

@davidfraser
Last active December 1, 2016 21:21
Show Gist options
  • Save davidfraser/459b66daf4a466a01452 to your computer and use it in GitHub Desktop.
Save davidfraser/459b66daf4a466a01452 to your computer and use it in GitHub Desktop.
For Linux/X11 systems, adjusting setting on Lenovo Y50 (and possibly others) so that the button area of the touchpad is kept from also being regarded as a mouse movement area, preventing awkward dragging when trying to click.
#!/bin/bash
boundary="`synclient -l | grep RightButtonAreaTop | sed 's/RightButtonAreaTop//' | sed 's/[ =]//g'`"
echo Setting boundary to "$boundary"
synclient AreaBottomEdge="$boundary"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment