Is there a ‘clean’ way to close Groov in Kiosk mode without a keyboard
Is there a ‘clean’ way to close Groov in Kiosk mode without a keyboard
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.
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.
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.
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.
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.