How to make Impress exit after auto-play slideshow?

How can I make Impress exit after playing a slideshow with “–show”? I’d like it to behave the same way PowerPoint does when playing a ppsx file. In that case, after the slideshow has finished, the program exits.

I need this for a kiosk which alternates between displaying several different things (a mixture of slideshows and mp4 movies). When a slidehow is done, I need libreoffice to exit so the next thing will play.

Currently, we’re stuck using Windows to run this kiosk only because we can’t make LibreOffice exit automatically.

I have no way within Impress to automatically stop Impress. That’s what you want, right?
Here are some ideas. I don’t know if they work (for you).

  1. You can try to create a task in Windows and start with which you control LibreOffice Impress.

  2. You can record the Impress show as a screencast and then play it as mp4.

Maybe it will help you. I wish you success.

Is there an easy way to cause the following macro to be executed when the slideshow finishes?

Sub Main
    Shell("bash -c 'kill $PPID'",0)
End Sub

Just checking back. It’s been a couple of years now. Is this something that LibreOffice can do now?