-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
How to boot browser page from startup
Im pretty green when it comes to the pi. I have a homebrewing fermentation chamber setup with my pi being the interface and Wi-Fi thingy. I want my pi to boot and load the browser interface page as soon as i turn on the pi. How can i achieve this?
Re: How to boot browser page from startup
To start the web browser using autostart do this:
Open the autostart file using the Nano editor:
Add this to the end of autostart:
Save and exit by typing CTRL x then answer y
logout and back in to desktop or reboot
There are several options you can do such as fullscreen or kiosk modes etc.
Open the autostart file using the Nano editor:
Code: Select all
nano /home/pi/.config/lxsession/LXDE-pi/autostart
Code: Select all
@chromium-browser www.raspberrypi.org
logout and back in to desktop or reboot
There are several options you can do such as fullscreen or kiosk modes etc.
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
How do I have it load a certain ip address location for a different device? Also, how do I get it to go full screen?
Please bare with me as im new at this
Please bare with me as im new at this
Re: How to boot browser page from startup
For full screen mode:brockayers wrote: ↑Tue Aug 07, 2018 11:54 pmHow do I have it load a certain ip address location for a different device? Also, how do I get it to go full screen?
Please bare with me as im new at this
Code: Select all
chromium-brower --start-fullscreen raspberrypi.org
For Kiosk mode:
Code: Select all
chromium-brower --kiosk raspberrypi.org
Can only use alt-F4 or ctrl w to quit browser
Substitute any URL you want to use.
Specifying more than 1 URL will open each in a TAB. Use Shift-CTRL-Tab to switch tabs.
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
Ive tried setting it as an ip address, but it doesnt work...
Re: How to boot browser page from startup
How exactly? Please show the command you used.brockayers wrote: ↑Wed Aug 08, 2018 9:33 amIve tried setting it as an ip address, but it doesnt work...
And exactly does 'it doesn't work' mean? What happens? Error messages?
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
nano /home/pi/.config/lxsession/LXDE-pi/autostart
@chromium-browser xxx.xxx.x.xxx #ip address#
When I reboot, it doesnt load anything.
@chromium-browser xxx.xxx.x.xxx #ip address#
When I reboot, it doesnt load anything.
Re: How to boot browser page from startup
Works for me...brockayers wrote: ↑Wed Aug 08, 2018 9:44 amnano /home/pi/.config/lxsession/LXDE-pi/autostart
@chromium-browser xxx.xxx.x.xxx #ip address#
When I reboot, it doesnt load anything.
Are you sure you got the right file?
No typos in the command itself?
Re: How to boot browser page from startup
Try from the lxterminal command line. This should bring up Google:brockayers wrote: ↑Wed Aug 08, 2018 9:44 amnano /home/pi/.config/lxsession/LXDE-pi/autostart
@chromium-browser xxx.xxx.x.xxx #ip address#
When I reboot, it doesnt load anything.
Code: Select all
chromium-browser 172.217.5.14
If it does not work in the above then it's not going to work in autostart.
Note to test autostart log out and back in is faster than reboot.
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
I type it all the way I'm.supposed to, but it doesnt load the ip address... Itll load Google or this page.
When i have it set to load the ip address, i cant open the browser. It just wont open, no error messages, nothing. But i go and erase the lines i put in autostart and reboot, and everything works fine again.
When i have it set to load the ip address, i cant open the browser. It just wont open, no error messages, nothing. But i go and erase the lines i put in autostart and reboot, and everything works fine again.
Re: How to boot browser page from startup
Not clear if you have done everything in my previous reply.brockayers wrote: ↑Wed Aug 08, 2018 11:17 pmI type it all the way I'm.supposed to, but it doesnt load the ip address... Itll load Google or this page.
When i have it set to load the ip address, i cant open the browser. It just wont open, no error messages, nothing. But i go and erase the lines i put in autostart and reboot, and everything works fine again.
Did you try the command from terminal?
Did you try from another computer?
Where is the IP........ Public Internet or something on your local network?
What exact lines did you put in autostart?
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
Terminal is all i use for it.
I can type the ip address in any browser on my phone or pc and it comes up right away.
The IP is on my network and also outside my network.
Ive tried these at different times
@chromium-browser xxx.xxx.x.xxx (didnt work)
@chromium-browser --start-fullscreen xxx.xxx.x.xxx (didnt work)
@chromium-browser www.google.com (works)
I can type the ip address in any browser on my phone or pc and it comes up right away.
The IP is on my network and also outside my network.
Ive tried these at different times
@chromium-browser xxx.xxx.x.xxx (didnt work)
@chromium-browser --start-fullscreen xxx.xxx.x.xxx (didnt work)
@chromium-browser www.google.com (works)
Re: How to boot browser page from startup
Can you ping the IP address from your Pi?
-
- Posts: 19
- Joined: Mon Jan 30, 2017 7:49 pm
- Location: West Bend, Wi, USA
Re: How to boot browser page from startup
How do I do that?
Re: How to boot browser page from startup
Open a terminal window and then use
Code: Select all
ping xxx.xxx.xxx.xxx
Re: How to boot browser page from startup
It works for me, however it still brings up the desktop before loading the browser. 'Not a big deal, really, but is there any way to prevent the desktop from popping up at all? It would be nice if the system booted straight into the browser.
Re: How to boot browser page from startup
hi have you checked out brewpi?
https://www.brewpi.com/
you may wish to consider running your pi headless and using other computers to access it via a hosted web interface, that way you wont need to dedicate a screen and keyboard/mouse to the job and can pack your pi into a hidden corner.
another brewing related project worth a look-see imho is the https://github.com/matsstaff/stc1000p stc1000+ add a 433mhz RF transmitter to the stc1000 and either hook your pi or an esp8266/arduino etc to a receiver to log time/temps/heating/cooling status..
Also check out the ispindel a floating electronic hydrometer project based on an esp8266
https://github.com/universam1/iSpindel
which you can integrate with brewpi
https://www.brewpi.com/
you may wish to consider running your pi headless and using other computers to access it via a hosted web interface, that way you wont need to dedicate a screen and keyboard/mouse to the job and can pack your pi into a hidden corner.
another brewing related project worth a look-see imho is the https://github.com/matsstaff/stc1000p stc1000+ add a 433mhz RF transmitter to the stc1000 and either hook your pi or an esp8266/arduino etc to a receiver to log time/temps/heating/cooling status..
Also check out the ispindel a floating electronic hydrometer project based on an esp8266

which you can integrate with brewpi

Re: How to boot browser page from startup
Ps try adding it to the bottom of /home/pi/.profile
Re: How to boot browser page from startup
Can I get the "best of both worlds"?
I succeeded in starting the browser on the page I wanted using the information from this thread. However the browser is ALL I seem to have access to.
I would like to have the Pi boot to the normal desktop (access to Terminal, menu system, etc) with the browser automatically opening to the URL.
How would I accomplish this?
Thanks
Glenn
I succeeded in starting the browser on the page I wanted using the information from this thread. However the browser is ALL I seem to have access to.
I would like to have the Pi boot to the normal desktop (access to Terminal, menu system, etc) with the browser automatically opening to the URL.
How would I accomplish this?
Thanks
Glenn
Re: How to boot browser page from startup
Autostart must have these 2 lines:gskroll wrote: ↑Sat Mar 06, 2021 12:17 pmCan I get the "best of both worlds"?
I succeeded in starting the browser on the page I wanted using the information from this thread. However the browser is ALL I seem to have access to.
I would like to have the Pi boot to the normal desktop (access to Terminal, menu system, etc) with the browser automatically opening to the URL.
How would I accomplish this?
Thanks
Glenn
Code: Select all
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
Unless specified otherwise my response is based on the latest and fully updated RPi OS Bullseye w/ Desktop OS.
Re: How to boot browser page from startup
What if you wanted more than 1 browser window and to dismiss the "Restore pages" dialog so that it auto launch those windows?
- StrawberryComplex123
- Posts: 5
- Joined: Wed May 19, 2021 10:53 am
- Location: Germany
Re: How to boot browser page from startup
Thats a good question. Honestly, I don't know what you need to do, but does anyone else know what you have to do?
That's the thing about people who think they hate computers. What they really hate is lousy programmers.
- StrawberryComplex123
- Posts: 5
- Joined: Wed May 19, 2021 10:53 am
- Location: Germany
Re: How to boot browser page from startup
Thank you so much! These threads are really so useful and so solve problems of several users! To me its also important to just say thank you for your share and help!klricks wrote: ↑Tue Aug 07, 2018 11:51 pmTo start the web browser using autostart do this:
Open the autostart file using the Nano editor:Add this to the end of autostart:Code: Select all
nano /home/pi/.config/lxsession/LXDE-pi/autostart
Save and exit by typing CTRL x then answer yCode: Select all
@chromium-browser www.raspberrypi.org
logout and back in to desktop or reboot
There are several options you can do such as fullscreen or kiosk modes etc.

That's the thing about people who think they hate computers. What they really hate is lousy programmers.