rpi moved chromium
This commit is contained in:
parent
eaae9ae993
commit
31d9ad4520
|
|
@ -97,7 +97,7 @@ sudo raspi-config nonint do_boot_behaviour B4
|
|||
# labwc (older RPi OS / manual installs)
|
||||
mkdir -p ~/.config/labwc
|
||||
cat > ~/.config/labwc/autostart <<'EOF'
|
||||
chromium-browser --noerrdialogs --disable-infobars --kiosk http://localhost
|
||||
chromium --noerrdialogs --disable-infobars --kiosk http://localhost
|
||||
EOF
|
||||
# Wayfire (RPi OS Bookworm default)
|
||||
WAYFIRE_CONFIG="$HOME/.config/wayfire.ini"
|
||||
|
|
@ -106,12 +106,12 @@ if [ -f "$WAYFIRE_CONFIG" ]; then
|
|||
sed -i '/^chromium = /d' "$WAYFIRE_CONFIG"
|
||||
# Add to existing [autostart] section or create it
|
||||
if grep -q '^\[autostart\]' "$WAYFIRE_CONFIG"; then
|
||||
sed -i '/^\[autostart\]/a chromium = chromium-browser --noerrdialogs --disable-infobars --kiosk http://localhost' "$WAYFIRE_CONFIG"
|
||||
sed -i '/^\[autostart\]/a chromium = chromium --noerrdialogs --disable-infobars --kiosk http://localhost' "$WAYFIRE_CONFIG"
|
||||
else
|
||||
cat >> "$WAYFIRE_CONFIG" <<'EOF'
|
||||
|
||||
[autostart]
|
||||
chromium = chromium-browser --noerrdialogs --disable-infobars --kiosk http://localhost
|
||||
chromium = chromium --noerrdialogs --disable-infobars --kiosk http://localhost
|
||||
EOF
|
||||
fi
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user