Hi,
I am running FIM as a framebuffer slideshow viewer on a raspberry pi acting as a digital photo frame. During the night, the raspberry pi disable its display (with cron) so I would like to pause the slideshow and resume it when I switch the display on again (so far it keeps running for the night).
One way would be to kill fim and relaunch it in the morning but I am looking at ways to just pause the slideshow (as if 'P' had been pressed). Is there a way to bind a signal in fim scripting language? I was thinking about SIGUSR1 and SIGUSR2 but I saw them in the code already.
Alternatively, is there a way to send an artificial keypress event in the framebuffer mode?
If this is not possible, I don't mind adding a few lines of code to catch another signal and set the pause variable but I could not find the place where the 'P' keypress is handled. Any hint?
Thanks