Skip to content

Instantly share code, notes, and snippets.

@fengkaijia
fengkaijia / xps-touchpad.sh
Last active Jul 26, 2017
Reactive XPS Touchpad in Linux (call as hotkey when the touchpad freezes)
View xps-touchpad.sh
#!/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"
You can’t perform that action at this time.