I tried editing /usr/share/sddm/themes/breeze/theme.conf.user and changing the image path to /home/username/.cache/plasma_engine_potd/bing:3840:2160 but that didn’t work.
I then tried creating a file that linked to bing:3840:2160 and then putting that in the image path, but that didn’t work either.
When you say the sddm background do you truly mean the login screen (sddm) or do you just want to change the lock screen? You only see the sddm screen on login which is once per reboot unless you log out.
Sorry, actually what are the owner / permission of the file the symlink points to? Try copying the owner / permission from the default wallpaper that sddm uses. Then use kde’s settings to select the symlinke of the image and see if that works.
#!/bin/bash
set -ex
api_url="https://www.bing.com/HPImageArchive.aspx?format=js&idx=0&n=1&mkt=en-US"
base_url="https://www.bing.com"
output=$HOME/wallpapers/bing-wallpaper.jpg
# Fetch the URL from the Bing API endpoint.
url_path=$(curl -s "$api_url" | jq -r ".images[0].url")
# Download the image to $output.
curl -L -o "${output}" "${base_url}${url_path}"
Will download it, but it needs network loaded, so would probably be “picture of yesterday”
SDDM [for some reason] fails to read anything in a user’s home directory (I thought sddm process was owned by root).
So if you try to set a cursor theme installed in ~/.local/share/icons it won’t work. The same goes for symlinks to files in the home directory.
I would appreciate it if someone could point out a source/reason for this behavior.
There is a similar issue in SDDM git repo
To solve this, I created a cronjob (root user) to run at boot to copy the picture of the day to a non-home location and use the path in theme.conf.user