Last active
August 8, 2017 22:43
-
-
Save Thann/6c48182eb9fa4edab06e9482cb96783e to your computer and use it in GitHub Desktop.
xinput user preferences - /etc/X11/xinit/xinitrc.d/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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