- 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 --start https://google.com/
if you want to autostart incongnito mode
@chromium-browser --incognito --start https://google.com/
chromium --incognito 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.
Why does did not work anymore? Pi Crashed again so i do an new setup with the latest version but the website does not start after reboot.
i tried with pi and with teh username
sudo nano /home/pi/.config/lxsession/LXDE-pi/autostart (made the dirs it with mkdir)
@lxpanel --profile LXDE
@pcmanfm --desktop --profile LXDE
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@point-rpi
@xset s off
@xset -dpms
@xset s noblank
@unclutter -idle 0.1 -root
@chromium-browser --noerrdialogs --disable-session-crashed-bubble --disable-infobars --check-for-update-interval=1 --simulate-critical-update --kiosk --incognito https://wwwgoogle.com