I want to set up my MythTV interface so that when I press f12, it executes a script called "powerbutton.sh" which toggles the monitor on and off.
I followed the instructions here for connecting the key to my script. However, despite following the instructions to the letter, when I press f12, my script is not executed, and I can't understand why. I am confident the script itself is fine because I have been using it for years, and when I run it from the command line, it works.
I tried running mythfrontend from the command line, but there was nothing at the command prompt output related to pressing f12 that I could see.
Here are the settings in my Mythbuntu interface:
What else do I need to do so that my script will execute when I press f12?