for gnome: check this first
https://wiki.archlinux.org/index.php/Libinput
gsettings set org.gnome.desktop.peripherals.touchpad tap-to-click true
https://github.com/lxqt/lxqt/issues/92
$ xinput --list
$ xinput --list-props "SynPS/2 Synaptics TouchPad"
$ xinput --set-prop "SynPS/2 Synaptics TouchPad" "libinput Tapping Enabled" 1
$ xinput set-cp 11 "libinput Tapping Enabled" 1
#script version
!/bin/bash
# toggle state of synaptics touchpad
tpid=`xinput list | grep Touchpad | sed 's/.*id\=\([0-9]\+\).*/\1/g'`
declare -i status
status=`xinput list-props ${tpid} | grep Tapping\ Enabled\ \( | sed -e 's/.*\:[
\t]\+//g'`
if [ 0 -eq ${status} ] ; then
xinput set-prop ${tpid} "libinput Tapping Enabled" 1
else
xinput set-prop ${tpid} "libinput Tapping Enabled" 0
fi
댓글 없음:
댓글 쓰기