22

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.

24

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
  • 1
    I had to create the file, but this method still works in Raspbian 10 (buster) – Ben Winding Dec 18 '19 at 6:26
6

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 '19 at 0:50
  • Worked for me in Raspbian 10. (Raspberry PI 4) – Naveen Kumar V Jan 21 at 16:07

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