3

I have Chrome running in kiosk mode (it displays my HTML/CSS/JS application - so I have control over the whole stack).

From time to time, I need to refresh its static content, that is reload the HTML, JS and CSS files. This is equivalent to pressing Shift-F5.

The problem is that this is an installation without a keyboard/mouse so I currently reboot the machine (a Raspberry Pi) to "refresh" the display and would like to use a less intrusive method.

Is there a way to send Chrome a signal from the command line so that it refreshes the page?

Notes:

  • Ultimately I can use a Refresh header but would like to avoid as much as possible (I prefer in that case to reboot the machine)

  • The RPi starts xinit in rc.local, which in turns (after some other commands) starts Chrome (and hangs) so I cannot just restart the browser.

WoJ
  • 3,875

0 Answers0