Trickdya
Posts: 4
Joined: Wed Aug 10, 2016 12:10 pm

Libre Impress auto loop by default

Wed Feb 19, 2020 9:24 am

I’ve got a Pi set up as a coming soon device displaying a slideshow. There’s a bash script that copies the latest file from a folder to auto play that slide show at boot.

Problem is Libre Impress won’t recognise that there’s a play until esc property in the PowerPoint created presentation and just ends after the last slide.

I know I can alter this in the presentation settings, but the point of the setup is for it to be a drag, drop and forget about it process.

If anyone knows how to set an auto loop for all presentations as a default value in Libre, I’d be incredibly grateful.

Thanks

klricks
Posts: 7172
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Libre Impress auto loop by default

Wed Feb 19, 2020 4:23 pm

Impress does not appear to have loop default. The transitions and loop setting must be set and then saved as part of the document.*
This command will play repeatedly until [Esc] key is pressed. Impress will then immediately exit to the command line.

Code: Select all

libreoffice --impress --show  /home/pi/Documents/your_slide_show.odp
If you want to automate this then install xdotool. With xdotool you can send keyboard and/or mouse actions from a script.
*xdotool commands could also be used to change the transition and loop settings if they were not already saved in the document.
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Trickdya
Posts: 4
Joined: Wed Aug 10, 2016 12:10 pm

Re: Libre Impress auto loop by default

Thu Feb 20, 2020 11:55 am

Thanks klricks, I’ll give xdotool a try. I had a running loop with a .odp, but as other staff will be adding to the directory it would be likely someone would accidentally save the slideshow as a .pptx and have it not loop.

Thanks

Return to “Troubleshooting”