I'm running Chromium (24.0.1312.56 Ubuntu (24.0.1312.56-0ubuntu0.12.10.3) on Intel Atom with GMA3150 running Lubuntu 12.10. In a startup script I launch chromium with the --kiosk switch. This will be used off-line as a kiosk with all pages stored locally. I've written a udev script that when a "special" thumb drive is inserted the files for the web content can be updated by copying them over to the system.
I've been trying to shutdown Chromium using killall -9 chromium-browser but that throws a "he's dead jim" error on the next launch. If I search for the first PID running matching chromium that doesn't throw that error but it seems like it doesn't gracefully close Chromium (as opposed to using alt-F4 but the system won't have a keyboard nor do I want to allow customers to close the browser). Basically what's the equivalent of alt-F4 from the command line?
What I'm trying to do in my script is the following:
1) Detect the special thumb drive insertion
2) Play a "Please stand-by ..." video full screen
3) close Chromium
4) copy new files
5) launch Chromium
6) kill "Please stand-by ..." video
I had another thought this morning that perhaps there's a way of to tell Chromium to switch to a different page from the command line? If I could do that I could have Chromium play the stand-by video and wen done switch back to the newly updated index.html page
Anyone have some good ideas??
Thanks,
George