Shortcut doesnt run script

I added some custom shortcut for controlling music player and set some script to it but it didnt work. Script runs in the shell without error.

How can I run a script with a shortcut button?

Please show the whole command, the trigger and the script itself. You may need to input /usr/bin/sh <command> for it to work, but if the script is very simple, it's better to include it directly in the command tab.

1 Like

Thank you for answer, adding /usr/bin/sh in front of the script URL worked perfectly.

Like this:
/usr/bin/sh "/home/%USER/My_Scripts/Player_Control_Scripts/"

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by