Skip to content

Instantly share code, notes, and snippets.

@Thann
Last active August 8, 2017 22:43
Show Gist options
  • Save Thann/6c48182eb9fa4edab06e9482cb96783e to your computer and use it in GitHub Desktop.
Save Thann/6c48182eb9fa4edab06e9482cb96783e to your computer and use it in GitHub Desktop.
xinput user preferences - /etc/X11/xinit/xinitrc.d/
#!/bin/sh
#grep_id() {
# xinput --list | grep $@ | sed "s/.*id=\([0-9]\+\).*/\1/"
#}
# disable touchscreen
xinput --disable "FTSC1000:00 2808:5116"
# disable touchpad while typing
xinput set-prop "ELAN1200:00 04F3:3045 Touchpad" "libinput Disable While Typing Enabled" 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment