Page 1 of 1

Chromium automatically navigating to http://-/

Posted: Wed May 11, 2016 4:11 am
by dougan
Hello,

I have raspbian jessie and i just recently set it up with Chromium. I'm hoping to make this sort of a kiosk type thing where, upon boot, it automatically opens chromium and navigates to a specific page. However, no matter what I do (whether by command line, through the gui, etc), when I open Chromium, it has a tab that tries to navigate to http://-/. And fails, of course, because - isn't a thing. If I try to put a URL in the command line arguments, it opens that URL up, but in a background tab and I have to manually bring that in to focus.

Anybody have any ideas on why this is happening? - isn't my homepage. My settings have "on start-up" set to open a specific page, which doesn't appear to be honored. Honestly I don't care if it keeps opening to http://-/ in a tab, but I want the tab I tell it to open to be the one that's in focus when it comes up.

This is frustrating to google because http://-/ makes sadness happen in a search engine and I don't get anywhere. So, sorry if this has been covered somewhere else.

Anyone know where this could be happening?

Re: Chromium automatically navigating to http://-/

Posted: Wed May 11, 2016 4:43 am
by gkreidl
If I start it from terminal with
chromium-browser http://....
it will open the website in the first tab.

Re: Chromium automatically navigating to http://-/

Posted: Wed May 11, 2016 4:47 am
by dougan
Thanks, unfortunately that's what I'm doing-- still opening http://-/ in the first tab, and my stuff in the second.

Re: Chromium automatically navigating to http://-/

Posted: Wed May 11, 2016 5:26 am
by gkreidl
dougan wrote:Thanks, unfortunately that's what I'm doing-- still opening http://-/ in the first tab, and my stuff in the second.
Then something is wrong with your installation / SD card / file system. This does not normally happen.

Re: Chromium automatically navigating to http://-/

Posted: Wed May 11, 2016 1:58 pm
by Bairdjj
check your code when opening the pages. If you put in

chromium-browser --kiosk http://whatever.com

it will open a single tab but if you put in

chromium-browser --kiosk http://whatever.com -incognito

you will get two tabs with your page in the first and an incognito tab in the second. It seems that chromium interprets tab values based on the single -