Compare commits

..

No commits in common. "adbeb66e9b2acef6ab8b164522285596af2cef0b" and "a015391b26ee8a2f7cc4273fd990b5e58615f4f6" have entirely different histories.

3 changed files with 28 additions and 29 deletions

1
done
View File

@ -75,4 +75,3 @@ Wed May 28 14:02:31 CEST 2025: Debug tijd synchronisatie toegevoegd tussen debug
2025-05-28 20:02:25 - ✅ Pi HDMI volume controle toegevoegd aan webapp UI - slider, test functie, API endpoint, automatisch opslaan via amixer 2025-05-28 20:02:25 - ✅ Pi HDMI volume controle toegevoegd aan webapp UI - slider, test functie, API endpoint, automatisch opslaan via amixer
2025-05-28 20:04:45 - Installatie instructies gegeven: git pull + chmod +x + ./pi-setup-desktop.sh voor bijgewerkte HDMI audio configuratie 2025-05-28 20:04:45 - Installatie instructies gegeven: git pull + chmod +x + ./pi-setup-desktop.sh voor bijgewerkte HDMI audio configuratie
2025-05-29 16:54:45 - Hardcore boot optimalisaties toegevoegd: CPU overclock, SD overclock, meer services disabled, fastboot parameter, RAM optimalisaties voor sub-60sec boot 2025-05-29 16:54:45 - Hardcore boot optimalisaties toegevoegd: CPU overclock, SD overclock, meer services disabled, fastboot parameter, RAM optimalisaties voor sub-60sec boot
2025-05-29 17:03:53 - Chrome translate banner uitgeschakeld: --disable-translate, --disable-features=Translate, --lang=nl flags toegevoegd aan beide setup scripts

View File

@ -20,15 +20,7 @@ fi
# Zorg dat Chromium er is # Zorg dat Chromium er is
echo "🌐 Browser controleren..." echo "🌐 Browser controleren..."
sudo apt install -y unclutter sudo apt install -y chromium-browser
# 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 # Configureer HDMI audio automatisch
echo "🔊 HDMI audio automatisch configureren..." echo "🔊 HDMI audio automatisch configureren..."
@ -60,11 +52,11 @@ docker-compose -f docker-compose-pi.yml up -d
sleep 10 sleep 10
# Sluit eventuele andere browsers # Sluit eventuele andere browsers
pkill -f puffin-browser 2>/dev/null || true pkill -f chromium-browser 2>/dev/null || true
# Start browser in kiosk mode met audio optimalisaties # Start browser in kiosk mode met audio optimalisaties
echo "Starting browser..." echo "Starting browser..."
DISPLAY=:0 puffin-browser \ DISPLAY=:0 chromium-browser \
--kiosk \ --kiosk \
--start-maximized \ --start-maximized \
--noerrdialogs \ --noerrdialogs \
@ -73,11 +65,11 @@ DISPLAY=:0 puffin-browser \
--disable-session-crashed-bubble \ --disable-session-crashed-bubble \
--disable-restore-session-state \ --disable-restore-session-state \
--disable-web-security \ --disable-web-security \
--disable-features=VizDisplayCompositor \
--autoplay-policy=no-user-gesture-required \ --autoplay-policy=no-user-gesture-required \
--allow-running-insecure-content \ --allow-running-insecure-content \
--disable-translate \ --disable-background-timer-throttling \
--disable-features=Translate \ --disable-renderer-backgrounding \
--lang=nl \
http://localhost:5090 & http://localhost:5090 &
echo "Kiosk started!" echo "Kiosk started!"

View File

@ -26,16 +26,9 @@ sudo apt install -y --no-install-recommends \
x11-xserver-utils \ x11-xserver-utils \
xinit \ xinit \
openbox \ openbox \
chromium-browser \
unclutter 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 # Configureer HDMI audio automatisch
echo "🔊 HDMI audio automatisch configureren..." echo "🔊 HDMI audio automatisch configureren..."
sudo raspi-config nonint do_audio 2 # Force HDMI audio sudo raspi-config nonint do_audio 2 # Force HDMI audio
@ -65,24 +58,39 @@ docker-compose -f docker-compose-pi.yml up -d
sleep 5 sleep 5
# Sluit eventuele andere browsers # Sluit eventuele andere browsers
pkill -f puffin-browser 2>/dev/null || true pkill -f chromium-browser 2>/dev/null || true
# Start browser in kiosk mode met audio optimalisaties # Start browser in kiosk mode met audio optimalisaties
echo "Starting browser..." echo "Starting browser..."
puffin-browser \ /usr/bin/chromium-browser \
--kiosk \ --kiosk \
--start-maximized \ --start-maximized \
--noerrdialogs \ --noerrdialogs \
--disable-infobars \ --disable-infobars \
--no-first-run \
--disable-session-crashed-bubble \ --disable-session-crashed-bubble \
--disable-restore-session-state \ --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 \ --autoplay-policy=no-user-gesture-required \
--allow-running-insecure-content \ --allow-running-insecure-content \
--disable-web-security \ --disable-web-security \
--disable-translate \ --disable-features=VizDisplayCompositor \
--disable-features=Translate \
--lang=nl \
http://localhost:5090 & http://localhost:5090 &
echo "Kiosk started!" echo "Kiosk started!"