Registered Member
|
Hi
Old git here, been using KDE since the early days of pre 1.0 , was at the second Linux Tag, mainly talking about icon design in Gimp. Anyways back to the question. So the lock screen disallows Internet access, so the Picture of the Day doesn't work. What works is the potd for the desktop wallpaper so a symlink like this will make it work ln -s $HOME/.cache/plasmashell/plasma_engine_potd $HOME/.cache/kscreenlocker_greet/plasma_engine_potd -- however unless you use potd for you desktop wallpaper it will not get updated. I want a plain background since it doesn't disturb you when working but I want a nice pic when the screen is locked. So is there a way to run the potd from the command line, so you can update the pics? Cheers Olof |
Registered Member
|
Hi ! Earlier KDE Reddit: https://www.reddit.com/r/kde/comments/7 ... round_not/ The POTD is using dataengines: https://cgit.kde.org/kdeplasma-addons.g ... gines/potd . The dataengines can be used from the scripts. At this from the qml script. POTD downloader plasmoid example GettingStarted: https://techbase.kde.org/Development/Tu ... ingStarted This is an example - so cutting the corners Making: $HOME/.local/share/plasma/plasmoids/potd/metadata.desktop
$HOME/.local/share/plasma/plasmoids/potd/contents/ui/main.qml
The plasmoid will download the wanted image with the potd engine. The image is saved to the plasma/potd cache: $HOME/.cache/plasmashell/plasma_engine_potd/<name>. Note ! There is no configuration dialogs - this is quick&dirty. Configuration is now made by editing the main.qml code. There could be dialogs for: - sources: apod, bing, epod, flickr, natgeo, noaa... - download interval - etc... Generic script version example Thread: Script to download bing desktops?: https://www.kubuntuforums.net/showthrea ... g-desktops Note ! It is older. May or may not work now. |
Registered Member
|
Thanks Rog131,
It's a very very nice reply with examples and all. Will definitely dig in this ... Cheers Olof |
Registered users: Bing [Bot], claydoh, Google [Bot], rblackwell, Yahoo [Bot]