Modified KDE Plugin of Smart Video Wallpaper. I've added an "Always Play" mode to stop the wallpaper from pausing when a window is open. I found this is a must have for a multi-monitor setup.
Will this app have a version for plasma 6? My Garuda forced entry to plasma 6. But this add-on is more important to me than plasma 6. Now I'm unable to use it... 😐
I installed it and I configured an mp4 for it, just 10MB, but it crashes my plasma desktop, when I restart it manually, I see that in the logs I have the following errors, lots of lines reporting this:
GStreamer-CRITICAL **: 15:47:11.043: gst_poll_read_control: assertion 'set != NULL' failed
anyone knows how to solve this? I would love to use this plugin but I cannot at the moment
thanks
10Really nice feature!
Since KDE has terrible documentation about this, here is a shell script which you can use to set a video wallpaper. The script has a hardcoded path to a folder - the folder is expected to contain video wallpapers. You need to change that path, if you want to change
wtf it autocommented. anyway, if you want to change more I'm sure you can figure it out.
#!/bin/bash
if [[ $XDG_SESSION_DESKTOP != KDE ]]; then
echo not KDE
exit 1
fi
videos=(/home/mag/Pictures/wallpapers/live/*)
shuffled=( $(shuf -e "${videos[@]}") )
echo ${shuffled[0]}
javascript=$(cat << EOF
const o = {
wallpaperPlugin: 'smartervideowallpaper',
currentConfigGroup: [
'Wallpaper', 'smartervideowallpaper', 'General'
]
}
for (i in (d = desktops())) {
Object.assign(d[i], o).writeConfig('VideoWallpaperBackgroundVideo', 'file://${shuffled[0]}');
}
EOF
)
busctl --user call org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell evaluateScript s "$javascript"
really nice formatting there wtf xd. I guess you need to insert newlines for yourself too - here it is where you can simply find and replace pipe '|' with newline: #!/bin/bash|
|
if [[ $XDG_SESSION_DESKTOP != KDE ]]; then|
echo not KDE|
exit 1|
fi|
|
videos=(/home/mag/Pictures/wallpapers/live/*)|
shuffled=( $(shuf -e "${videos[@]}") )|
echo ${shuffled[0]}|
|
javascript=$(cat << EOF|
const o = {|
wallpaperPlugin: 'smartervideowallpaper',|
currentConfigGroup: [|
'Wallpaper', 'smartervideowallpaper', 'General'|
]|
}|
for (i in (d = desktops())) {|
Object.assign(d[i], o).writeConfig('VideoWallpaperBackgroundVideo', 'file://${shuffled[0]}');|
}|
EOF|
)|
|
busctl --user call org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell evaluateScript s "$javascript"|
In case anyone is curious in case they want to do this for a different plugin: the 'smartervideowallpaper' comes from the 'X-KDE-PluginInfo-Name' in the metadata for the extension (unzip the thing from Files on here) and 'General' and 'VideoWallpaperBackgroundVideo' comes from looking in the contents/config/main.xml file in said zip. I used this to set up my computer so when I plug it in to charge, it will choose a random live wallpaper, and when I unplug it it will go back to a random static image, with the "Inactive Blur" plasma background extension.
Ratings & Comments
16 Comments
Will this app have a version for plasma 6? My Garuda forced entry to plasma 6. But this add-on is more important to me than plasma 6. Now I'm unable to use it... 😐
Please port to KDE Plasma 6. This is my favorite video background plugin!
9 Thanks for the complement. Does anyone know how to make it decode the graphics card and not the processor?
9 9 excellent
Hello I'm having an issue where my colors are wrong.
I installed it and I configured an mp4 for it, just 10MB, but it crashes my plasma desktop, when I restart it manually, I see that in the logs I have the following errors, lots of lines reporting this: GStreamer-CRITICAL **: 15:47:11.043: gst_poll_read_control: assertion 'set != NULL' failed anyone knows how to solve this? I would love to use this plugin but I cannot at the moment thanks
I get an entry on panel which shows openGL renderer. Any way to remove it?
Happens in wayland. Not in x11
a fantastic improvement to the desktop! Thank you! This is what my Kubuntu looks like now: https://vk.com/video-211009300_456239090
10 Really nice feature! Since KDE has terrible documentation about this, here is a shell script which you can use to set a video wallpaper. The script has a hardcoded path to a folder - the folder is expected to contain video wallpapers. You need to change that path, if you want to change
wtf it autocommented. anyway, if you want to change more I'm sure you can figure it out. #!/bin/bash if [[ $XDG_SESSION_DESKTOP != KDE ]]; then echo not KDE exit 1 fi videos=(/home/mag/Pictures/wallpapers/live/*) shuffled=( $(shuf -e "${videos[@]}") ) echo ${shuffled[0]} javascript=$(cat << EOF const o = { wallpaperPlugin: 'smartervideowallpaper', currentConfigGroup: [ 'Wallpaper', 'smartervideowallpaper', 'General' ] } for (i in (d = desktops())) { Object.assign(d[i], o).writeConfig('VideoWallpaperBackgroundVideo', 'file://${shuffled[0]}'); } EOF ) busctl --user call org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell evaluateScript s "$javascript"
really nice formatting there wtf xd. I guess you need to insert newlines for yourself too - here it is where you can simply find and replace pipe '|' with newline: #!/bin/bash| | if [[ $XDG_SESSION_DESKTOP != KDE ]]; then| echo not KDE| exit 1| fi| | videos=(/home/mag/Pictures/wallpapers/live/*)| shuffled=( $(shuf -e "${videos[@]}") )| echo ${shuffled[0]}| | javascript=$(cat << EOF| const o = {| wallpaperPlugin: 'smartervideowallpaper',| currentConfigGroup: [| 'Wallpaper', 'smartervideowallpaper', 'General'| ]| }| for (i in (d = desktops())) {| Object.assign(d[i], o).writeConfig('VideoWallpaperBackgroundVideo', 'file://${shuffled[0]}');| }| EOF| )| | busctl --user call org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell evaluateScript s "$javascript"|
In case anyone is curious in case they want to do this for a different plugin: the 'smartervideowallpaper' comes from the 'X-KDE-PluginInfo-Name' in the metadata for the extension (unzip the thing from Files on here) and 'General' and 'VideoWallpaperBackgroundVideo' comes from looking in the contents/config/main.xml file in said zip. I used this to set up my computer so when I plug it in to charge, it will choose a random live wallpaper, and when I unplug it it will go back to a random static image, with the "Inactive Blur" plasma background extension.
Do you know how to make this use the decoding of the graphics card? Processor usage is too much.
10 Incredible!!! Any possibility to add funktion "select multiple wallpapers" and change them automaticly everery 15 minutes, half hour or whatever?
10 Thank you and thank you to everybody that made this possible. Glorious.