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, 2015 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, 2015 at 12:43
  • Sorry the sudo was left of an experiment to solve the issue...
    – Den Uil
    May 28, 2015 at 12:53
  • Note that that won't run at boot, it will run after you log in.
    – goldilocks
    May 28, 2015 at 13:00
  • 1
    Just checking -- you use the phrase "the autostart doesn't seem to work at boot" above.
    – goldilocks
    May 28, 2015 at 14:05

1 Answer 1


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

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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