This file contains 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/bash | |
# Reactivate XPS 13 9343/9350/9360 Touchpad | |
# Author: Kaijia Feng <feng@kaijia.me> | |
# Tutorial (written in Chinese): https://www.kaijia.me/2017/07/linux-reactivate-touchpad-to-solve-freeze-issue/ | |
# Reference: http://en.community.dell.com/techcenter/os-applications/f/4613/t/19997690 | |
id=$(xinput --list | grep -o -P 'DLL([A-Fa-f0-9]|\:|\s)*Touchpad') | |
xinput disable "$id" | |
xinput enable "$id" |