dougan
Posts: 4
Joined: Thu Apr 11, 2013 3:19 am

Chromium automatically navigating to http://-/

Wed May 11, 2016 4:11 am

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?

gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

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

Wed May 11, 2016 4:43 am

If I start it from terminal with
chromium-browser http://....
it will open the website in the first tab.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

dougan
Posts: 4
Joined: Thu Apr 11, 2013 3:19 am

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

Wed May 11, 2016 4:47 am

Thanks, unfortunately that's what I'm doing-- still opening http://-/ in the first tab, and my stuff in the second.

gkreidl
Posts: 6326
Joined: Thu Jan 26, 2012 1:07 pm
Location: Germany

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

Wed May 11, 2016 5:26 am

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.
Minimal Kiosk Browser (kweb)
Slim, fast webkit browser with support for audio+video+playlists+youtube+pdf+download
Optional fullscreen kiosk mode and command interface for embedded applications
Includes omxplayerGUI, an X front end for omxplayer

Bairdjj
Posts: 2
Joined: Tue May 10, 2016 6:06 pm

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

Wed May 11, 2016 1:58 pm

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 -

Return to “Troubleshooting”