If Picture of the Day is chosen (any type) in the Screen Locking > Appearance area, the picture does not show when the screen is locked. Picture of the Day works correctly for wallpaper, under the Desktop Settings > Wallpaper configuration. This is on KDE Neon User Edition, KDE Plasma 5.12.0.
Picture of the Day is not really supported. The lock screen disallows Internet access, thus the picture of the Day cannot be downloaded. If you also use Picture of the Day on Plasma desktop it should work.
(In reply to Martin Flöser from comment #1) > Picture of the Day is not really supported. The lock screen disallows > Internet access, thus the picture of the Day cannot be downloaded. If you > also use Picture of the Day on Plasma desktop it should work. Ok, this option should be removed then.
*** Bug 390685 has been marked as a duplicate of this bug. ***
(In reply to Martin Flöser from comment #1) > Picture of the Day is not really supported. The lock screen disallows > Internet access, thus the picture of the Day cannot be downloaded. If you > also use Picture of the Day on Plasma desktop it should work. I just enabled Astronomy picture of the day for the desktop wallpaper. It worked, but lock screen is still not picking it up.
Created attachment 110794 [details] Workaround script, for astronomy picture of the day I made myself a workaround script. It downloads an image and saves it in: ${HOME}/pictures/picture_of_the_day.jpg Change accordingly to your preferred location. You can set some scheduler to run this script periodically. Then just set your lock screen to static image with that path. Required tools: pcregrep, identify (ImageMagick), to verify image type identity.
Created attachment 110795 [details] Workaround script, for astronomy picture of the day Improved version
And I suppose since lock screen has no network access, in order to enable something like picture of the day, there should be an explicit KDE service / scheduled job "picture of the day" that user can enable, and lock screen can rely on that service to update the image appropriately.
(In reply to Shmerl from comment #7) > And I suppose since lock screen has no network access, in order to enable > something like picture of the day, there should be an explicit KDE service / > scheduled job "picture of the day" that user can enable, and lock screen can > rely on that service to update the image appropriately. There could be a 'POTD' widget. : https://forum.kde.org/viewtopic.php?f=289&t=142331
I have another workaround. I setup my main desktop background to use the Bing POTD. You can modify it for other POTD providers. The desktop POTD stores the wallpaper in ~/.cache/plasmashell/plasma_engine_potd/ based on the provider. For example, bing uses a file called bing. I created a simlink from bing to background.png and chose background.png in the screen locker configuration. Each time the POTD updates, it updates the file called bing. Since background.png points to bing, the screen locker shows the correct POTD.
I've created a simple Python script to download the current apod image: https://gist.github.com/YtvwlD/4a12bb90cfaeea2195790d1a0a44f408 (It needs just bowshock as a dependency.) It places the image at ~/.cache/kscreenlocker_greet/plasma_engine_potd/apod by default - where it gets picked up by the lockscreen, if it is still set to the apod provider.
I am also experiencing this. Definitely unexpected and not user friendly behavior. The picture should be downloaded (perhaps twice daily or whatever fetching is used if the picture of the day is the desktop background) while the user is logged in so that the lock screen can display the image of the day. It appears that if you select picture of the day for lock screen but not desktop wallpaper then the picture is never downloaded because the image is only requested after locking and lock screen doen't have the network access required.
This isn't really the lock screen's fault; it's entirely appropriate for security reasons that internet access is prohibited. Rather, these plugins should probably be updated to locally cache the images somewhere so no network access is required. Moving to a different product to track the fix properly.
I have since tried having the same picture of the day settings for my wallpaper and as the lock screen image The image of the day loads fine and display for the wallpaper but is still a black lock screen.
It would really be great to have this feature working. I don't ever see my desktop as I have a lot of things always opened. The only moment where I would enjoy to see something new is when I lock my computer. If this is related to the internet access, I suppose the images could be fetched in advance when the user has still not locked his session. The images would never change until he open up again his session and it's a new day.
Would be great to have option: "Same as desktop". Then e.g. picture of the day will be taken from desktop.
I can force POTD providers to use cached picture when network is not available. But this only works when your desktop wallpaper and lock screen wallpaper are the same POTD provider. If they are different, lock screen POTD will never be cached and it remains black. Shmerl's suggestion is the best approach overall. (In reply to Shmerl from comment #7) > And I suppose since lock screen has no network access, in order to enable > something like picture of the day, there should be an explicit KDE service / > scheduled job "picture of the day" that user can enable, and lock screen can > rely on that service to update the image appropriately.
Updated my workaround script that downloads astronomy picture of the day: https://gist.github.com/shmerl/7465989937cddeb9539db3803ba3feb8 Pair it with local user systemd timer or crontab entry that calls that script a few times a day, and set the lock background to the saved image.
*** Bug 418394 has been marked as a duplicate of this bug. ***
*** Bug 419436 has been marked as a duplicate of this bug. ***
Partly resolved by https://phabricator.kde.org/D29140 when desktop wallpaper and lockscreen wallpaper use the same POTD provider.
There's a patch to fix this! https://phabricator.kde.org/D29140
Git commit d5f9e6af9f9cda210b15d5c10b370006c86bd7ad by Nate Graham, on behalf of Guo Yunhe. Committed on 18/06/2020 at 22:09. Pushed by ngraham into branch 'master'. Fix POTD in lock screen Summary: 1. POTD was cached in `~/.cache/`. But lock screen seems not a process of current user, so it won't find the cache in user's home dir. So I changed cache location to `/tmp` and it starts to work. 2. Flickr and APOD(NASA) providers cannot cache pictures in `PNG` but `JPEG` works. So I simply changed the cache format to `JPEG`. Most POTD are photos. JPEG saves more spaces. 3. Added a KDED module to cache lockscreen POTD, because lockscreen program doesn't have internet access. Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D29140 Merge Request: https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/3 FIXED-IN: 5.20 M +2 -0 CMakeLists.txt M +1 -0 dataengines/potd/PoTD-list.txt M +7 -7 dataengines/potd/cachedprovider.cpp A +1 -0 kdeds/CMakeLists.txt A +16 -0 kdeds/potd/CMakeLists.txt A +8 -0 kdeds/potd/README.md A +61 -0 kdeds/potd/kded_potd.cpp * A +8 -0 kdeds/potd/kded_potd.desktop A +35 -0 kdeds/potd/kded_potd.h * The files marked with a * at the end have a non valid license. Please read: https://community.kde.org/Policies/Licensing_Policy and use the headers which are listed at that page. https://invent.kde.org/plasma/kdeplasma-addons/commit/d5f9e6af9f9cda210b15d5c10b370006c86bd7ad
*** Bug 423667 has been marked as a duplicate of this bug. ***