- copy the autostart
cp /etc/xdg/lxsession/LXDE-pi/autostart ~/.config/lxsession/LXDE-pi/
- open the autostart with nano
nano ~/.config/lxsession/LXDE-pi/autostart
- Then edit the autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
#@xscreensaver -no-splash
point-rpi
@chromium-browser --start https://google.com/
if you want to autostart incongnito mode
@chromium-browser --incognito --start https://google.com/
^ + x exit and save
then sudo reboot to try on
the various other browser modes:
-
Application Mode:
@chromium-browser --app. The browser starts up without displaying any toolbars. -
Full-screen mode:
@chromium-browser --start-fullscreen. The browser starts in app. mode but expanded to full-screen. You can press the F11 key to break out of full-screen mode. -
Kiosk mode:
@chromium-browser --kiosk. The browser starts in full-screen mode but does not respond to the F11 key, nor to any command to get it to switch tasks. -
Hide Scoll Bar https://stackoverflow.com/questions/42503701/chromium-kiosk-mode-fullscreen-and-remove-address-bar
-
auto start raspbery pi https://tart-kreangkrai.medium.com/%E0%B8%A3%E0%B8%B1%E0%B8%99%E0%B9%82%E0%B8%9B%E0%B8%A3%E0%B9%81%E0%B8%81%E0%B8%A3%E0%B8%A1%E0%B9%80%E0%B8%A1%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%9A%E0%B8%B9%E0%B8%95%E0%B9%80%E0%B8%84%E0%B8%A3%E0%B8%B7%E0%B9%88%E0%B8%AD%E0%B8%87-%E0%B8%9A%E0%B8%99-raspberry-pi-7c18c885d69
sudo nano /etc/xdg/lxsession/LXDE-pi/autostart
https://www.danpurdy.co.uk/web-development/raspberry-pi-kiosk-screen-tutorial/