Solution: Raspberry Pi program delay

IT & Software | Hardware
I use Raspberry Pi to display web page automatically at startup.

The issue is : As soon as the raspberry is started, Midori is launched, but I've the message "Cannot Resolve Hostname....".

When I update the webpage 30 seconds after startup, it is correctly displayed.

How I can make a delay to launch Midori after X seconds ?

I launch my webpage with /etc/xdg/lxsession/LXDE/autostart
No attachments
To add small delay before midori starts, which would be less reliable than ip checking. See section 3 on this link. Follow the steps and inside the bash script above the line that calls midori add a sleep period: sleep 5
on July 03rd, 2018 (9:01 pm)
All coments
This solution has not been commented yet.
You must sign in to comment!! LOGIN
We use cookies to give you the best possible experience on our site. By continuing to use the site you agree to our use of cookies. Find out more Accept