My last post didn't get a correct answer, so I decided to refine/narrow my question in another post. If you want to refer to the other question, go:
So I am trying to execute a bash file upon power key press. According to the documentation for ACPID, I created a file named
power with the following address:
/etc/apci/events/power. In that file, I have the following script:
So when I push the power key,
power should be executed, which in turn fires
script.sh, but nothing happens.
What am I doing wrong? (BTW, i'm running Ubuntu 19.04)