feat(setup): vervang Puffin door Chromium in kiosk-setup
Chromium-browser is nu geïnstalleerd en wordt gebruikt voor kiosk-modus, ter vervanging van Puffin. De installatie en het gebruik van Pi-Apps voor Puffin zijn verwijderd, samen met de specifieke commando's voor de Puffin-browser. Dit zorgt voor een gestroomlijnder configuratieproces en maakt gebruik van Chromium's optimalisaties voor performance en veiligheid.
This commit is contained in:
parent
2fec369ebb
commit
08e473e0c7
32
pi-setup.sh
32
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 &
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user