Smart Video Wallpaper

Plasma Wallpaper Plugins video wallpaper

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

11
8 .0
Description:

Do NOT use this plugin as lockscreen (for this use my other plugin)

Video Demo HERE

Video desktop wallpaper for plasma KDE, based on "/u/samrog" plugin wallpaper.

NEW features

+ Pause the video when existing a maximized or full-screen windows.
+ Pause the video when the desktop is busy.

This minimizes the use of CPU resources.

Installation
Download and run:
 kpackagetool5 -t Plasma/Wallpaper -i smartvideowallpaper.tar.gz 


Use
1. Choose Wallpaper Type: "Smart Video Wallpaper" in Wallpaper settings window.
2. Select your video.
3. The option "Use double player" : avoid annoying transition (black screen) in video loop playback.

Try my other works for Plasma.


Pear Dark look and feel inspired by PearOS

* Video and more details in https://adhec.github.io/plasma_tweaks/

* Information Login Manager: https://adhec.github.io/sddm_themes/

Video wallpapers sites: taken from desktophut, pexels, komorebi

Some videos:
seashore, waterfalls, anime and dreams of the sea - i like this one, try it with sound -

----

Scripts

For use "Smart Video Wallpaper" when the charger is attached use the scripts in https://github.com/adhec/plasma_tweaks/tree/master/SmartVideoWallpaper

* Configuration

First set execute permission for the scripts:


chmod +x setSmartVideoWallpaper.sh
chmod +x setImage.sh



* Pluggued
SystemSettings > Notifications > Power Management > Configure events > Ac Adaptor plugged in > Run command > Select path script "setSmartVideoWallpaper.sh"

* Unpluggued
SystemSettings > Notifications > Power Management > Configure events > Ac Adaptor unplugged > Run command > Select path script "setImageWallpaper.sh"


Coffee

If you like my work :

Share your ❤️ Buy me a ☕ from Paypal or Liberapay

Have fun ;)

----------------------
Comment your issues
Last changelog:

v0.2 1 year ago

Fix: play/pause for windows with 2 states (maximized and minimized)
New features:
- Pause the video when existing a maximized or full-screen windows.
- Pause the video when the desktop is busy.

10

nitish159

8 days ago

10 10 the best

Report

8

dakenviy

26 days ago

8 If you use gentoo and you got black screen just enable "gstreamer" USE flag globally (recommended) or only for qtmultimedia.

Report

9

riyaddl

1 month ago

9 it's the best. i have a request tho is it possible to add a way to schedule video change. thank you for your great work.

Report

10

hentailinuxer

1 month ago

10 Fantastic

Report

8

morrdeath

2 months ago

8 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.

Report

1

voncloft

2 months ago

1 Does not work just get a black screen.

Report

victorbrca

2 months ago

Tried it on Arch and I only get the black screen. Went through the comments to see what needed to be installed and it did not help.

Packages: gst-libav, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly, kdegraphics-thumbnailers, gstreamer, gstreamer-vaapi, qt-gstreamer, gst-plugins-espeak

Also tried removing ' ~/.cache/gstreamer-1.0/registry.x86_64.bin', logging out and back in without any luck.

Dev, please specify what the dependencies are. Thanks.

Report

7

nuboskill

2 months ago

7 Hello, please add opportunity to choose screen for pause mod. I don't wanna pause my wallpaper, when I have full screen something on another monitor.

Report

8

morrdeath

2 months ago

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

Report

10

axel-huerta

2 months ago

10 10 the best

Report

10

geovane7881

4 months ago

10 10 the best

Report

oshiire

4 months ago

It's pretty useful, I just wish it'd pause when I switch to another Activity.

Report

10

vadimoz

4 months ago

10 10 the best

Report

8

pgtipz

5 months ago

8 8 great

Report

spratay

5 months ago

no work gentoo i installed mpv
- gstreamer1.0-plugins-base
- gstreamer1.0-plugins-ugly
- gstreamer1.0-libav

Report

8

dakenviy

26 days ago

Enable "gstreamer" USE flag globally (recommended) or only for qtmultimedia.

Report

HoRMoNE

5 months ago

¡I love it!... however I would prefer "maximized" and "full screen windows" to be in separate options.

Report

cyberscoop

5 months ago

Absolutely fantastic work! I was looking exactly for this some months and it just makes my desktop come to life. The only thing I noticed is that after setting a video as live wallpaper, the `plasmashell` is consuming huge amounts of memory, currently its consuming around 2.8 GB of memory space and grows after sometime to above 4 GB. When I set my wallpaper back to a static image it settles at around 700 MB memory usage. Can you please fix this?

Report

mineturtle36

5 months ago

Good stuff, good stuff.
One issue I found - once my desktop wakes-up from sleep - the plugin "forgets" to use double player option (even if it is still ticked in the options), and I get the annoying blackscreen for a second on each loop. Workaround is to disable&apply and then enable&apply the 'Use double player' option.
Anything I can do to fix this permanently?

Otherwise - awesome work!

Report

9

csaratakij

6 months ago

9 9 excellent
Multiscreen support would be nice.
(Great plugin btw~ :D)

Report

leo5sk

6 months ago

When in system settings>compositor, "keep windows thumbnails" is set to "always", the video does not resume even when a maximised windows is minimised. One needs to resize it to resume video

Report

dorian-nova

7 months ago

This plugin is fabulous but while making it work I encountered a problem of black screen. So here's the answer to solve it:
1. Analyzing the problem
kquitapp5 plasmashell; sleep 1; kstart5 plasma shell
2. I had the following error:
"Warning: "No decoder available for type 'video/quicktime, variant=(string)iso'."
3. Solving
To solve it just install gst-libav, gst-plugins-good, gst-plugins-bad, gst-plugins-ugly.
And voila it's all done to solve the issue and you can enjoy this plugin.

Report

busyvillager

9 months ago

Lovely addon. Is it still being actively developed?

Report

qushaes

11 months ago

Hellooo, amazing work. I am on Clear Linux and for some reason this amazing plugin won't work. I have installed mpv and gstreamer bundles. I cna open the video with mpv but the plugin still won't work. Any ideas?

Report

10

no95typem

11 months ago

10 10 the best

Report

v0.2 1 year ago

Fix: play/pause for windows with 2 states (maximized and minimized)
New features:
- Pause the video when existing a maximized or full-screen windows.
- Pause the video when the desktop is busy.

v0.11 1 year ago

- Fix pause video for fullscreen windows (mpv application)

[Issues]
need to add filter for applications with states (minimized and maximized at the same time)

12345678910
11429
product-maker nitish159 Nov 18 2020 10 the best
10 the best
product-maker dakenviy Oct 30 2020 8 great
If you use gentoo and you got black screen just enable "gstreamer" USE flag globally (recommended) or only for qtmultimedia.
product-maker riyaddl Oct 14 2020 9 excellent
it's the best. i have a request tho is it possible to add a way to schedule video change. thank you for your great work.
product-maker hentailinuxer Oct 01 2020 10 the best
Fantastic
product-maker morrdeath Sep 23 2020 8 great
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.
product-maker voncloft Sep 23 2020 1 ugh
Does not work just get a black screen.
product-maker nuboskill Sep 16 2020 7 good
Hello, please add opportunity to choose screen for pause mod. I don't wanna pause my wallpaper, when I have full screen something on another monitor.
product-maker axel-huerta Sep 13 2020 10 the best
10 the best
product-maker geovane7881 Jul 13 2020 10 the best
10 the best
product-maker vadimoz Jul 07 2020 10 the best
10 the best
product-maker pgtipz Jun 23 2020 8 great
8 great
product-maker csaratakij May 26 2020 9 excellent
9 excellent Multiscreen support would be nice. (Great plugin btw~ :D)
product-maker no95typem Dec 01 2019 10 the best
10 the best
product-maker Sandrone Nov 16 2019 8 great
8 great
product-maker kdevg0 Oct 21 2019 10 the best
"10 the best" Love it. The best thing is I had to buy a similar item in steam. Here I am getting it for free.
product-maker nhoxsang2411994 Oct 11 2019 10 the best
10 the best, very kool features!
product-maker marcantoine Aug 17 2019 10 the best
10 the best, it work as expected.
Be the first to comment
hentailinuxer
Oct 01 2020
axel-huerta
Sep 13 2020
pgtipz
Jun 22 2020
sad-m0nkey
Jun 03 2020
csaratakij
May 25 2020
airwolf776
Jan 10 2020
romenskiy2012
Dec 15 2019
no95typem
Dec 01 2019
peron-the-duck
Oct 16 2019
frederikstroem
Oct 09 2019
Kryohi
Aug 14 2019
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv3
version
0.2
updated Oct 11 2019
added Jul 27 2019
downloads 24h
145
mediaviews 24h 0
pageviews 24h 62