mkdir ~/bin
gedit ~/bin/toggletouchpad.sh
#!/bin/bash if [ $(synclient -l | grep TouchpadOff | awk '{print $3}') == 1 ] ; then synclient touchpadoff=0; else synclient touchpadoff=1; fi |
chmod +x ~/bin/toggletouchpad.sh
~/bin/toggletouchpad.sh
-------------------------------------------------------------------------------------------------
Go to Settings Manager -> Keyboard -> Application shortcuts and create an Fn+F3 shortcut to point to /home/USER/bin/toggletouchpad.sh (replace USER with your actual username) and test the Fn+F3 combination.
沒有留言:
張貼留言