Compare commits
No commits in common. "adbeb66e9b2acef6ab8b164522285596af2cef0b" and "a015391b26ee8a2f7cc4273fd990b5e58615f4f6" have entirely different histories.
adbeb66e9b
...
a015391b26
1
done
1
done
@ -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: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 17:03:53 - Chrome translate banner uitgeschakeld: --disable-translate, --disable-features=Translate, --lang=nl flags toegevoegd aan beide setup scripts
|
||||
|
||||
@ -20,15 +20,7 @@ fi
|
||||
|
||||
# Zorg dat Chromium er is
|
||||
echo "🌐 Browser controleren..."
|
||||
sudo apt install -y 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"
|
||||
sudo apt install -y chromium-browser
|
||||
|
||||
# Configureer HDMI audio automatisch
|
||||
echo "🔊 HDMI audio automatisch configureren..."
|
||||
@ -60,11 +52,11 @@ docker-compose -f docker-compose-pi.yml up -d
|
||||
sleep 10
|
||||
|
||||
# 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
|
||||
echo "Starting browser..."
|
||||
DISPLAY=:0 puffin-browser \
|
||||
DISPLAY=:0 chromium-browser \
|
||||
--kiosk \
|
||||
--start-maximized \
|
||||
--noerrdialogs \
|
||||
@ -73,11 +65,11 @@ DISPLAY=:0 puffin-browser \
|
||||
--disable-session-crashed-bubble \
|
||||
--disable-restore-session-state \
|
||||
--disable-web-security \
|
||||
--disable-features=VizDisplayCompositor \
|
||||
--autoplay-policy=no-user-gesture-required \
|
||||
--allow-running-insecure-content \
|
||||
--disable-translate \
|
||||
--disable-features=Translate \
|
||||
--lang=nl \
|
||||
--disable-background-timer-throttling \
|
||||
--disable-renderer-backgrounding \
|
||||
http://localhost:5090 &
|
||||
|
||||
echo "Kiosk started!"
|
||||
|
||||
36
pi-setup.sh
36
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
|
||||
@ -65,24 +58,39 @@ docker-compose -f docker-compose-pi.yml up -d
|
||||
sleep 5
|
||||
|
||||
# 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
|
||||
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-translate \
|
||||
--disable-features=Translate \
|
||||
--lang=nl \
|
||||
--disable-features=VizDisplayCompositor \
|
||||
http://localhost:5090 &
|
||||
|
||||
echo "Kiosk started!"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user