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:

enter image description here


Comments

Popular posts from this blog

nvidia - NV18 [GeForce4 MX 4000] driver - Ask Ubuntu

drivers - No wi-fi network after install - Ask Ubuntu