exec(“xdotool key space”); //simulate spacebar to disable screensaver. Needs xdotool to be installed
So you did exactly what I am looking to do. Can you elaborate on how to configure this so my PIR will turn off the screen saver? I’ve already installed Xdotool, but I don’t know where to go from there.