Chromium kiosk mode : Fullscreen and remove address bar

Jabaa picture Jabaa · Feb 28, 2017 · Viewed 23.8k times · Source

I am trying to run chromium browser in kiosk mode in raspberry pi 3(Official Jessie ).

Here is i've added in my autostart file

@point-rpi
@xset s noblank
@xset s off
@xset -dpms

@chromium-browser --kisok www.fb.com

This works fine but some problem occured.

Browser is not opened in full window also the address bar is still present in chromium

So how can i remove above two items

Answer

Tim Chaubet picture Tim Chaubet · Apr 23, 2020

For full kiosk mode, you might want to hide the Chromium scrollbars, always, for a webpage. This does not disable scrolling on a touchscreen. It just disables the scrollbars.

Using the --enable-features flag with chromium-browser did the trick for me.

--enable-features=OverlayScrollbar,OverlayScrollbarFlashAfterAnyScrollUpdate,OverlayScrollbarFlashWhenMouseEnter

And this is my full command:

    /usr/bin/chromium-browser --kiosk --noerrdialogs --enable-features=OverlayScrollbar --disable-restore-session-state http://10.10.0.16:8123

Also, to hide the mouse cursor entirely, I have changed the X command on my raspbian in /etc/lightdm/lightdm.conf from xserver-command=X to xserver-command=X -nocursor