mrboog13
Posts: 5
Joined: Thu Oct 11, 2018 5:04 am

Opening internet browser on boot

Tue Jan 08, 2019 7:13 am

Ok so im trying to figure how to open the internet browser on boot.

all my searches keep trying to tell me how to build a webserver (I dont need that lol)

Like I want it to open and go directly to

Code: Select all

"http://www.google.com"
How can I do this?

User avatar
DarkPlatinum
Posts: 823
Joined: Thu Nov 02, 2017 2:30 pm
Location: Unknown
Contact: Website

Re: Opening internet browser on boot

Tue Jan 08, 2019 9:35 am

I think there might be a start up application setting somewhere, don't take my word for it though
1 * Raspberry Pi Zero W, 1 * Raspberry Pi 2, 1 * Raspberry Pi 3 1 * Raspberry Pi 3B + :mrgreen:

Check Out My Raspberry Site (Run on a Raspberry Pi 3B :) ): Https://Html.dynu.net

klricks
Posts: 6443
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Opening internet browser on boot

Tue Jan 08, 2019 1:53 pm

mrboog13 wrote:
Tue Jan 08, 2019 7:13 am
Ok so im trying to figure how to open the internet browser on boot.

all my searches keep trying to tell me how to build a webserver (I dont need that lol)

Like I want it to open and go directly to

Code: Select all

"http://www.google.com"
How can I do this?
Place the following line in autostart

Code: Select all

@chromium-browser www.google.com
There are several options you can add such as full screen, kiosk mode etc.

Autostart is here:

Code: Select all

/home/pi/.config/lxsession/LXDE-pi\autostart
If an autostart file does not already exist at the above location then use this one:

Code: Select all

/etc/xdg/lxsession/LXDE-pi\autostart
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

Return to “Automation, sensing and robotics”