shortcut keys - Enable/disable touchpad - Ask Ubuntu
i managed install ubuntu 16.04 on asus ux501 vw, of shortcut not working. i'm not looking fix them all, 1 : shortcut allow me enable or disable touchpad, can write long documents working touchpad.
i tried find on google got nothing.
can explain me how fix please? !
i created bash script negusp's answer. finds , toggles touchpad device. can configure custom shortcut in system settings.
#!/bin/bash read tpdevice <<< $( xinput | sed -nre '/touchpad/s/.*id=([0-9]*).*/\1/p' ) state=$( xinput list-props "$tpdevice" | grep "device enabled" | grep -o "[01]$" ) if [ "$state" -eq '1' ];then xinput --disable "$tpdevice" else xinput --enable "$tpdevice" fi
i'm setting ctrl+shift+f9 toggle touchpad enable , disable this:
Comments
Post a Comment