Last active
July 26, 2017 08:31
-
-
Save fengkaijia/f8267c3c5f9a9bdc1d03fba49c6d9afd to your computer and use it in GitHub Desktop.
Reactive XPS Touchpad in Linux (call as hotkey when the touchpad freezes)
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" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment