Resolve exit fullscreen on Ras pi 1. Check current desktop echo $XDG_SESSION_TYPE wayland << it is 2. Change desktop to X11 sudo raspi-config choose Advanced Options > Wayland > X11 reboot 3. Recheck the desktop, it should be x11 echo $XDG_SESSION_TYPE x11 4. Install wmctrl apt update apt install wmctrl 5. Create shell script name set_chromium_fs.sh with below script #!/bin/bash sec=$1 while :; do wmctrl -r "Chromium" -b add,fullscreen sleep $sec done 6. Permit execution mode to above file chmod +x set_chromium_fs.sh 7. Call this script at startup boot For example : try set full screen of chromium every 30 second /home/pi/set_chromium_fs.sh 30 &