I'm trying to start Libreoffice impress automatically once my raspberry pi has started up.

I created: .config/lxsession/LXDE/autostart:

sudo libreoffice -show /home/pi/test.odp

When I execute the command in a terminal, all works fine. However the autostart doesn't seem to work at boot. Libreoffice starts, but then says it can't find the file...

  • The content of the file : sudo libreoffice -show /home/pi/test.odp – Den Uil May 28 '15 at 12:41
  • Sorry -- didn't see that before. It's not a relative path, so that's not the problem. Why do you need sudo there? – goldilocks May 28 '15 at 12:43
  • Sorry the sudo was left of an experiment to solve the issue... – Den Uil May 28 '15 at 12:53
  • Note that that won't run at boot, it will run after you log in. – goldilocks May 28 '15 at 13:00
  • 1
    Just checking -- you use the phrase "the autostart doesn't seem to work at boot" above. – goldilocks May 28 '15 at 14:05
up vote -1 down vote accepted

So I finally cracked down and reinstalled the latest raspbian on the SD card. Now all the problems are gone...

Thanks for the support! It was a weird issue ...

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.