dodonnell
Posts: 1
Joined: Thu Jul 11, 2013 6:17 pm

Auto Launch a Presentation

Thu Jul 11, 2013 6:32 pm

Hello,

I recently purchased a RPi and am working to set it up as a kiosk that will automatically play a presentation after powering up. Everything is working as I would expect except that LibreOffice freezes up when it is called from a script during startup. This is what I have done so far.

I created a presentation and put it in /home/pi/bin/ and named it Presentation.odp

I created a script to call the presentation (start_presentation.sh) and put it in the same directory. Here are the contents of that file.

Code: Select all

#!/bin/bash
libreoffice -show '/home/pi/bin/Presentation.odp' &
I then made the script executable.

Finally, i created a folder - /home/pi/.config/autostart and added a file called launchImpress.Desktop with the following contents

Code: Select all

[Desktop Entry]
Type=Application
Comment=Launch the Slideshow
Exec=home/pi/bin/start_presentation.sh
if I call start_presentation.sh from the terminal Impress launches and begins looping the slideshow in presentation mode. However, when I reboot and let the .desktop file run, Impress launches and then hangs forever.

I'm fairly new to *nix so any help would be appreciated. I also tried using the /etc/rc.local file and /etc/profile with no luck. I must be missing something. Hope to get some ideas soon so I can wrap this project up.

Thanks!!

donnyq
Posts: 2
Joined: Sat Sep 28, 2013 11:35 pm

Re: Auto Launch a Presentation

Sun Sep 29, 2013 12:00 am

This sounds exactly what I want to do. I'm doing some volunteer work for an observatory and I really want to set up displays with informational presentations for visitors to see when they come. If you get this problem solved, please do let me know as I'd really like to do the same thing.

Return to “Raspberry Pi OS”