SignageWithAlpineLinux: Unterschied zwischen den Versionen

K
add font package. Move target-URL to variable
(support multiple browsers as an option)
K (add font package. Move target-URL to variable)
You can use pretty much any browser that supports wayland. The default is chromium.
* install and autostart chromium
apk add chromium font-noto
 
echo "#!/bin/sh
URL=http://example.com/
chromium-browser --kiosk -incognito \
--enable-features=UseOzonePlatform --ozone-platform=wayland \
--start-fullscreen --noerrdialogs --disable-infobars --disk-cache-dir=/dev/null \
--disk-cache-size=1 'https://example.com$URL' &
while true; do
# after a while all browsers begin to stutter. Here is a crude fix
In case you don't want to use chromium you can also use another browser. For instance falkon.
* install and autostart falkon
apk add falkon font-noto
 
echo "#!/bin/sh
falkon -e -i -f https://example.com &
URL=http://example.com/
falkon -e -i -f https://example.com$URL &
while true; do
# after a while all browsers begin to stutter. Here is a crude fix
852

Bearbeitungen