I am trying to set up a simple Ubuntu kiosk box (14.04), running only a Chromium in a very minimal windows manager environment. Steps I've successfully done:
- Login automatically:
exec /bin/login -f kiosk_user < /dev/tty1 > /dev/tty1 2>&1in
- Start X environment (
- Start Chromium in X environment in
- Start windows manager (tried
openboxso far) in
What I currently have is Chromium starting properly but in semi-normal mode. I need to explitly press F11 from the keyboard to make Chromium to switch to the full screen and kiosk mode.
One fellow chromium user from a mailing list said that this would work fine in full GNOME environment without any tricks (even
xdotool) - so this might be somehow related to these minimal windows managers.
I did even try to start Chromium itself without any windows manager (Chromium has something called Aura, its own WM for ChromiumOS?). In this mode, I could not get the Chromium to fill the whole screen. This method is not preferrable either as there is no possibility to open other applications easily for example for troubleshooting purposes.
#!/bin/sh rm ~/tmp/ -Rf xset s off xset dpms 600 60 60 xset +fp "$X_FONTPATH" xset fp rehash env > ~/.xenv # Run chromium start ~/start_chromium.sh & # Run window manager exec openbox
#!/bin/sh set -e CHROMIUM_TEMP=~/tmp/chromium rm -Rf ~/.config/chromium/ rm -Rf $CHROMIUM_TEMP mkdir -p $CHROMIUM_TEMP chromium-browser \ --disable \ --disable-translate \ --disable-infobars \ --disable-suggestions-service \ --disable-save-password-bubble \ --disk-cache-dir=$CHROMIUM_TEMP/cache/ \ --user-data-dir=$CHROMIUM_TEMP/user_data/ \ --start-maximized \ --kiosk "file:///home/kioskuser/kiosk.html" & sleep 5 xdotool search --sync --onlyvisible --class "chromium" key F11