Skip to content

Instantly share code, notes, and snippets.

@philipperoubert
Last active November 4, 2022 20:03
Show Gist options
  • Select an option

  • Save philipperoubert/1b998cb9e117ac331683dd146c065e8f to your computer and use it in GitHub Desktop.

Select an option

Save philipperoubert/1b998cb9e117ac331683dd146c065e8f to your computer and use it in GitHub Desktop.
Huawei Matebook 14S fix scroll speed

Fixing Scroll Speed on Huawei Matebook 14S

  • sudo nano /etc/gdm3/custom.conf
  • uncomment WaylandEnable=false
  • Run xinput and look for which ID your Touchpad is.
    • in my case it's 16 ↳ GXTP7863:00 27C6:01E0 Touchpad id=16 [slave pointer (2)]
  • Run xinput --list-props 16 (replace 16 with the ID you found above), look for "Synaptics Scrolling Distance" and not the ID of that
    • in my case it's 359 Synaptics Scrolling Distance (359): -180, -180
  • Run xinput --set-prop 16 359 -180, -180 (replace 16 and 359 with the IDs you found above)
    • The smaller the value (e.g. -200) the slower it will be (-100 in the other hand was too quick)

Tip you may also want to disable tap-to-click, in my case I found it too sensitive as my palm would always trigger it.

  • Similarly to above, look for the property Synaptics Tap Time and take note of the ID
    • in my case it's 352 Synaptics Tap Time (352): 130
  • Run xinput --set-prop 16 352 0

Finally, make it persistent:

  • Create a file in your home directory (~/) named .xsessionrc
  • Paste all xinput commands you want to be persistent, in my case it's:
xinput --set-prop 16 359 -180, -180
xinput --set-prop 16 352 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment