Fix POTD in lock screen
Summary:
- 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. - Flickr and APOD(NASA) providers cannot cache pictures in
PNG
butJPEG
works. So I simply changed the cache format toJPEG
. Most POTD are photos. JPEG saves more spaces. - 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
FIXED-IN: 5.20
Edited by Yunhe Guo