Image 01
profile-image

morrdeath

Smart Video Wallpaper

Plasma Wallpaper Plugins by adhe 53 comments

Great program overall. Having multiple monitors, it's a little annoying that all screens will pause playback when there is a fullscreen or maximized window on any of them; I was able to edit the code and prevent this from happening though. Best animated wallpaper program I've found for my Manjaro KDE setup. - Sep 23 2020
Smart Video Wallpaper

Plasma Wallpaper Plugins by adhe 53 comments

I would also like this option as well. In the meantime, I was able to prevent the plugin from pausing the wallpaper at all (this means it will still play on all screens even if there is a fullscreen or maximized window on the screen it is playing on). To do this, I edited the ~/.local/share/plasma/wallpapers/smartvideowallpaper/contents/ui/WindowModel.qml file. In that file, search for "IsMaximized". This will bring you to the following functions:

PlasmaCore.SortFilterModel {
id: maximizedWindowModel
filterRole: 'IsMaximized'
filterRegExp: 'true'
onDataChanged: updateWindowsinfo(wModel.modePlay)
onCountChanged: updateWindowsinfo(wModel.modePlay)
}
PlasmaCore.SortFilterModel {
id: fullScreenWindowModel
filterRole: 'IsFullScreen'
filterRegExp: 'true'
onDataChanged: updateWindowsinfo(wModel.modePlay)
onCountChanged: updateWindowsinfo(wModel.modePlay)
}

To prevent the video from pausing, simply add /* at the beginning and */ at the end of the copied section. So it should look like this:

/*PlasmaCore.SortFilterModel {
id: maximizedWindowModel
filterRole: 'IsMaximized'
filterRegExp: 'true'
onDataChanged: updateWindowsinfo(wModel.modePlay)
onCountChanged: updateWindowsinfo(wModel.modePlay)
}
PlasmaCore.SortFilterModel {
id: fullScreenWindowModel
filterRole: 'IsFullScreen'
filterRegExp: 'true'
onDataChanged: updateWindowsinfo(wModel.modePlay)
onCountChanged: updateWindowsinfo(wModel.modePlay)
}*/

Once that is complete, open a terminal and run:

kquitapp5 plasmashell
(this is for plasma 5.10 and above)

then run:

kstart5 plasmashell - Sep 21 2020
Smart Video Wallpaper

Plasma Wallpaper Plugins
by adhe

7.9
8   Sep 23 2020
Great program overall. Having multiple monitors, it's a little annoying that all screens will pause playback when there is a fullscreen or maximized window on any of them; I was able to edit the code and prevent this from happening though. Best animated wallpaper program I've found for my Manjaro KDE setup.