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