17

I would like to set up a couple of Raspberry Pis to open automatically chromium or any other browser available to at start-up, and in full screen mode.

I was wondering if any of you can help me. These will be placed as some fixed stations where I load up some URLs when raspberry pi starts.

17

Edit this file

sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart

And add this:

@xset s off
@xset -dpms
@xset s noblank
@chromium-browser --kiosk http://google.com/  # load chromium after boot and open the website in full screen mode

Then reboot. Chromium should automatically launch in fullscreen mode after the desktop has loaded.

  • 2
    Nicely borrowed from another post. The hash comment indicates the URL was localhost. To make Chromium launch full screen you just need to add --kiosk or use xautomation to send F11. – Andy Anderson Dec 11 '17 at 22:57
4

on chromium you can use --start-fullscreen (like F11)

  • When I tried this with my browser open it didn't work... After closing my browser windows, running chromium-browser --start-fullscreen opened Chromium in fullscreen mode. Running chromium-browser --start-fullscreen --kiosk hid the "Press F11 to exit fullscreen" message – yndolok Jun 14 at 0:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.