Screensaver Script
-
Is there a way I can call a script to run when the screensaver starts and then another when it stops? Similar to the runcommand-onstart and onend
Pi Model or other hardware: pi4b 4gb
Power Supply used: 5.1v 3a
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest):4.5.18
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used) running on raspbian 10 buster
USB Devices connected: Keyboard
ES version: 2.9.1rp -
-
@mitu said in Screensaver Script:
There is some support added for running scripts when certain events happen in EmulationStation (see more details here), but for some reason the screensaver events have not been wired in (see this PR).
I can see Theofficialgman made his own Fork and implemented the screensaver start and stop commands. I've learnt a lot over the past few weeks but that seems above my knowledge and without a guide on how to do it I wouldn't know where to start with that. Lets hope it gets merged into a future build.
-
@joesnow81 well you have the sources, the wiki/docs and the helpful guys in this forum. A comfortable start position I would say.
And for another piece of learning:
This is the beauty of git, you don't have to wait for a fork or merge into master.
See my notes here on how to try the PR by yourself.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.