tecfil
Posts: 1
Joined: Wed Apr 05, 2017 9:15 pm

Open webpage after startup

Wed Apr 05, 2017 9:46 pm

Hi
I need to open a web page at the start of raspberry automatically. After starting the raspberry I have to open chromium (or midori) and show localhost webpage.

I tried to edit the autostart file with this code:

midori -e -a http://www.google.com

but it does not work, just once I open the terminal by clicking on it with the mouse, even the web page loads.

How can I do it?

Thanks lot
Bye

lecaillou
Posts: 1
Joined: Fri May 26, 2017 11:01 pm

Re: Open webpage after startup

Fri May 26, 2017 11:13 pm

Me too???
Please

SurferTim
Posts: 1769
Joined: Sat Sep 14, 2013 9:27 am
Location: Miramar Beach, Florida

Re: Open webpage after startup

Sat May 27, 2017 12:20 pm

Open autostart file with your favorite text editor.

Code: Select all

$ leafpad ./.config/lxsession/LXDE-pi/autostart
add to end of file (I used chromium here)
@chromium-browser -e http://www.google.com

Return to “Advanced users”