5

My custom script to start midori in fullscreen browser is not loading when the pi boots. I want it to run when the desktop loads.

I call the script from /etc/xdg/lxsession/LXDE/autostart

by using the code

@sh /home/pi/startMidori

startMidori is the script I made which contains;

#!/bin/sh midori -e Fullscreen -a http://google.com

I can run the script from terminal as sh startMidori and it runs as expected without any issues, any idea what is going on?

Any help is appreciated

mattz330
  • 63
  • 1
  • 3

1 Answers1

4

RPi Jessie not working ?

I think you want to use the autostart here:

/etc/xdg/lxsession/LXDE-pi/autostart

or:

~/.config/lxsession/LXDE-pi/autostart

not here:

/etc/xdg/lxsession/LXDE/autostart

...at least with the default Raspbian setup of LXDE.

Jacobm001
  • 11,904
  • 7
  • 47
  • 58
Brian
  • 577
  • 3
  • 9