Daily Bing Wallpaper #1547
Maximus1
started this conversation in
Customisations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
German first Englisch at the bottom
Heimdall: Tägliches Bing-Hintergrundbild via Portainer
Ziel
Heimdall lädt täglich automatisch das aktuelle Bing-Hintergrundbild und setzt es als Hintergrund – vollständig serverseitig im Container, kein Browser beteiligt.
Voraussetzungen
/pfad/zu/deinen/datenSchritt 1: Init-Skript erstellen
Schritt 2: Berechtigungen setzen
Die Skripte müssen root gehören, sonst verweigert linuxserver.io die Ausführung:
Schritt 3: Container neu starten
Schritt 4: Prüfen
Erwartete Ausgabe:
Bild vorhanden:
Ergebnis
Bei jedem Container-Start wird das aktuelle Bing-Bild heruntergeladen und als Hintergrund gesetzt. Da der Dateiname
bing.jpgimmer gleich bleibt, ist nach einem Browser-Refresh das neue Bild sichtbar.Troubleshooting
exited 127python3nicht verfügbarphp– korrekte Version verwendenSQLite3 not foundPDOstattSQLite3verwendenbackgrounds/bing.jpgsein, nicht nurbing.jpgchown root:rootauf alle Skripte incustom-cont-init.d/custom-cont-init.dmuss direkt im Container-Root gemountet seinHeimdall: Daily Bing Wallpaper via Portainer
Goal
Heimdall automatically downloads the current Bing wallpaper daily and sets it as the background – entirely server-side inside the container, no browser involved.
Prerequisites
/path/to/your/dataStep 1: Create the Init Script
Step 2: Set Permissions
Scripts must be owned by root, otherwise linuxserver.io will refuse to execute them:
Step 3: Restart the Container
Step 4: Verify
Expected output:
Verify the image exists:
Result
Every time the container starts, the current Bing image is downloaded and set as the background. Since the filename
bing.jpgalways stays the same, the new image is visible after a browser refresh.Troubleshooting
exited 127python3not available in containerphp-based script versionSQLite3 not foundPDOinstead ofSQLite3backgrounds/bing.jpg, not justbing.jpgchown root:rooton all scripts incustom-cont-init.d/custom-cont-init.dmust be mounted directly in the container rootBeta Was this translation helpful? Give feedback.
All reactions