bergjet
Posts: 2
Joined: Thu Sep 12, 2019 6:07 am

Update browser with command

Thu Sep 12, 2019 6:51 am

I have raspian desktop version and start Raspian in kiosk mode.
@chromium-browser --incognito --kiosk http://192.168.1.45:8082/vis/index.html#Wetterstation
How can I update the browser via the terminal?

User avatar
neilgl
Posts: 952
Joined: Sun Jan 26, 2014 8:36 pm
Location: Near Aston Martin factory

Re: Update browser with command

Thu Sep 12, 2019 12:14 pm

If you have access to the source code of index.html you could add some javascript to update the page every few seconds.

User avatar
topguy
Posts: 5767
Joined: Tue Oct 09, 2012 11:46 am
Location: Trondheim, Norway

Re: Update browser with command

Thu Sep 12, 2019 12:19 pm

You could also use "xdotool" to send a "F5" to the browser..
( assuming you mean to ask about refershing the page and not updating the version of Chromium. )

bergjet
Posts: 2
Joined: Thu Sep 12, 2019 6:07 am

Re: Update browser with command

Thu Sep 12, 2019 1:19 pm

topguy wrote:
Thu Sep 12, 2019 12:19 pm
You could also use "xdotool" to send a "F5" to the browser..
( assuming you mean to ask about refershing the page and not updating the version of Chromium. )
A good option F5.
After install xdotool
DISPLAY=:0 xdotool getactivewindow key F5

This works thank you.

Return to “Beginners”