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' &
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
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!!