for xwindows (buster), new location:
sudo vi /etc/xdg/lxsession/LXDE-pi/autostart
recommanded to run bash script from autostart. add at the bottom:
bash start.sh
example bash:
!/bin/bash
sleep 5
chromium-browser --start-fullscreen /media/pi/P/index.html &
sleep 10
xdotool key ctrl+R
/etc/rc.local
script is executed by the "root" user
if you want to execute commands as another user:
su - pi /do/something/as/oracle/user
optional: hide taskbar:
Right-click on the taskbar and select "Panel Settings". Click on the "Advanced" tab, and check "Minimize panel when not in use". 0px
za processing:
@/usr/local/bin/processing-java --sketch=/home/pi/Desktop/SKETCH --run
sudo apt-get install -y ttf-mscorefonts-installer unclutter x11-xserver-utils
sudo nano .config/lxsession/LXDE-pi/autostart
@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@point-rpi
BEGIN ADDED
Normal website that does not need any exceptions
@/usr/bin/chromium-browser --disk-cache-dir=/dev/null --incognito --start-maximized --kiosk http://gordonturner.com
Enable mixed http/https content, remember if invalid certs were allowed (ie self signed certs)
@/usr/bin/chromium-browser --incognito --start-maximized --kiosk --allow-running-insecure-content --remember-cert-error-decisions http://gordonturner.com
@unclutter
@xset s off
@xset s noblank
@xset -dpms