Last active
April 24, 2022 21:40
-
-
Save matsest/a4cb634e7ef136805600a0b4b6444ad1 to your computer and use it in GitHub Desktop.
disable-lenovo-x1-touchpad-on-startup
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/bash | |
ID=$(/usr/bin/xinput list --id-only "Wacom Pen and multitouch sensor Finger") | |
if [[ $ID ]]; then | |
/usr/bin/xinput --disable $ID | |
fi |
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
[Desktop Entry] | |
Type=Application | |
Exec=/home/matsest/.config/touchscreen-off.sh | |
Hidden=false | |
NoDisplay=false | |
X-GNOME-Autostart-enabled=true | |
Name[en_US]=Touchscreen off | |
Name=Touchscreen finger off | |
Comment[en_US]=Disables touchscreen finger input | |
Comment=Disables touchscreen finger input |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Wayland: https://askubuntu.com/a/1011125