06-05-2024, 12:06 PM
Try adding the bolded line below to the file /home/pi/.xinitrc
- Replace 0.80 with the percent zoom you are using
- You may have to put quotes around the value "0.80"
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2014 The moOde audio player project / Tim Curtis
#
# Turn off display power management
xset -dpms
# Screensaver timeout in secs or 'off' for no timeout
xset s 600
# Capture screen size
SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
# Clear browser cache
$(/var/www/util/sysutil.sh clearbrcache)
# Launch chromium browser
chromium-browser --app="http://localhost/" \
--window-size="$SCREENSIZE" \
--window-position="0,0" \
--enable-features="OverlayScrollbar" \
--no-first-run \
--disable-infobars \
--disable-session-crashed-bubble \
--force-device-scale-factor=0.80 \
--kiosk
- Replace 0.80 with the percent zoom you are using
- You may have to put quotes around the value "0.80"
#!/bin/bash
#
# SPDX-License-Identifier: GPL-3.0-or-later
# Copyright 2014 The moOde audio player project / Tim Curtis
#
# Turn off display power management
xset -dpms
# Screensaver timeout in secs or 'off' for no timeout
xset s 600
# Capture screen size
SCREENSIZE="$(fbset -s | awk '$1 == "geometry" { print $2","$3 }')"
# Clear browser cache
$(/var/www/util/sysutil.sh clearbrcache)
# Launch chromium browser
chromium-browser --app="http://localhost/" \
--window-size="$SCREENSIZE" \
--window-position="0,0" \
--enable-features="OverlayScrollbar" \
--no-first-run \
--disable-infobars \
--disable-session-crashed-bubble \
--force-device-scale-factor=0.80 \
--kiosk