Touchpad Toggle With F6 on Zorin OS 16

Open settings, Find Keyboard Shortcuts, Scroll to the bottom and click the +. For the command just put ./PATH/TO/YOUR/SCRIPT.sh
Then it'll say shortcut, click it and press whatever key combo you'd like to use and it will save it.

In the script do I use xdotool key XF86TouchpadToggle in the script?

You can use that or 199, just preference as they will do the same thing. I recommend XF86TouchpadToggle as then it's super self-explanatory in the future as to what the script is doing.

1 Like

Ok. Thanks!

1 Like

Marked solution. 162