diff --git a/pi-setup.sh b/pi-setup.sh index 9a2e26c..663286d 100644 --- a/pi-setup.sh +++ b/pi-setup.sh @@ -26,16 +26,9 @@ sudo apt install -y --no-install-recommends \ x11-xserver-utils \ xinit \ openbox \ + chromium-browser \ unclutter -# Installeer Pi-Apps voor Puffin browser -echo "🌐 Pi-Apps en Puffin browser installeren..." -wget -qO- https://raw.githubusercontent.com/Botspot/pi-apps/master/install | bash - -# Installeer Puffin via Pi-Apps (automatisch) -echo "🚀 Puffin browser installeren..." -~/.local/share/pi-apps/pi-apps install Puffin || echo "⚠️ Puffin installatie handmatig voltooien via Pi-Apps" - # Configureer HDMI audio automatisch echo "🔊 HDMI audio automatisch configureren..." sudo raspi-config nonint do_audio 2 # Force HDMI audio @@ -69,19 +62,38 @@ pkill -f chromium-browser 2>/dev/null || true # Start browser in kiosk mode met audio optimalisaties echo "Starting browser..." -puffin-browser \ +/usr/bin/chromium-browser \ --kiosk \ --start-maximized \ --noerrdialogs \ --disable-infobars \ - --no-first-run \ --disable-session-crashed-bubble \ --disable-restore-session-state \ + --disable-background-timer-throttling \ + --disable-backgrounding-occluded-windows \ + --disable-renderer-backgrounding \ + --disable-features=TranslateUI \ + --disable-ipc-flooding-protection \ + --enable-features=OverlayScrollbar \ + --no-first-run \ + --fast \ + --fast-start \ + --disable-default-apps \ + --disable-popup-blocking \ + --disable-prompt-on-repost \ + --disable-hang-monitor \ + --disable-background-networking \ + --aggressive-cache-discard \ + --memory-pressure-off \ + --max_old_space_size=100 \ + --force-device-scale-factor=1 \ --autoplay-policy=no-user-gesture-required \ --allow-running-insecure-content \ --disable-web-security \ + --disable-features=VizDisplayCompositor \ --disable-translate \ --disable-features=Translate \ + --disable-component-extensions-with-background-pages \ --lang=nl \ http://localhost:5090 &