Summary: | Add ability to cycle wallpaper (a.k.a. "Next Wallpaper") in Slideshow mode from dbus. | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | onun23 |
Component: | Image Wallpaper | Assignee: | David Faure <faure> |
Status: | RESOLVED NOT A BUG | ||
Severity: | wishlist | CC: | kde, kdelibs-bugs, plasma-bugs |
Priority: | NOR | ||
Version: | 5.11.5 | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
onun23
2018-02-08 16:15:45 UTC
There is. See plasma scripting; then look at the evaluateScript method in plasmashell Thank you for your reply. I am sorry for bothering you, but...well, I'm not that familiar with the API. AFAIK there is no way to do next slide. --------------------------------------------- var allDesktops = desktops(); currentDesktop = allDesktops[0]; for(i=0;i<allDesktops.length;i++) { currentDesktop = allDesktops[i]; if(currentDesktop.wallpaperPlugin == "org.kde.slideshow") { //TODO next image a.k.a slide //https://github.com/KDE/plasma-workspace/blob/master/wallpapers/image/imagepackage/contents/ui/main.qml#L46 } } --------------------------------------------- Could you please point me in the right direction? Btw, I'm aware that you 'can' do a slide show by using the set wallpaper method available from dbus. Like Krawall or the likes. But what about calling the native function NextSlide() ? Thank you for your time. |