Shutting down Kiosk Mode without keyboard


#1

Is there a ‘clean’ way to close Groov in Kiosk mode without a keyboard


#2

groov or the browser it is running in?
(Because you cant really ‘close’ groov, just the web browser it is running in).

From SSH (putty).
For Chrome:-

pkill chromium

From a touch screen? No. The whole point of the kiosk user in groov is that they can not exit the browser.
Make them a non kiosk user and you can select the ‘log out of groov’ option from the gear icon.


#3

Yep, I got that. The problem, if it is a problem, is that the unit that the Groov in kiosk mode is running is occasionally turned off. Currently the only way they have to do this is a power switch on the front of the unit. It is not the best way. When the unit is powered back on, after Groov loads, the nagging little popup ‘Chromium was not shutdown properly …’ appears until the operator clicks ‘Restore’. Just trying to clean the shutdown process up a bit.


#4

There are a whole bunch of command line parameters that can be added to the command that starts Chromium.

These two should take care of that popup;

--disable-session-crashed-bubble --disable-infobars

Add these just before the URL that you use for groov.


#5

To get back to your comment about the power switch killing power and it not being the best way to cleanly power down even a Linux PC, you are spot on.
Its not the best idea to just jerk the power.

Here is an example for a Linux PC that we have all probably heard about; the Raspberry Pi.

The short version is that you will need to install a button that will run a script that shuts the PC down in a very calm manor.
So, depending on the PC you are running, and depending on what I/O ports it has you will have to be guided by what the PC has.


#6

Chromium parameters no longer available

This no longer works in newer version of chrome Instead you might need to get a different browser. Here is the link that I learned this from about halfway down:

Installing Firefox

To install firefox I fallowed the fallowing tutorial: https://www.raspberrypi.org/forums/viewtopic.php?t=150438 here is the commands so you dont have to read it yourself: sudo apt install dirmngr echo "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/firefox.list echo "deb-src http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/firefox-source.list echo "deb http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/thunderbird.list echo "deb-src http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu trusty main" | sudo tee /etc/apt/sources.list.d/thunderbird-source.list sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9BDB3D89CE49EC21 sudo apt update && sudo apt install firefox thunderbird

Setting up kiosk mode in Firefox

To set up kiosk mode I installed a plugin called Rkiosk witch I searched for under the add-on's option in the top right menu.

If you get stuck in kiosk mode you can use alt-F4 to exit any application.