Fichiers
config.phundrak.com/.local/bin/enable_touch
T

5 lignes
226 B
Bash
Brut Vue normale Historique

2019-07-21 03:27:31 +02:00
#!/bin/sh
devID=$( xinput list | grep "TouchPad" | sed -n -e 's/.*id=\([0-9]*\).*/\1/p' )
propID=$( xinput list-props $devID | grep "Tapping Enabled (" | sed -n -e 's/.*(\([0-9]*\)).*/\1/p' )
xinput set-prop $devID $propID 1