Registered Member
|
This is a feature I've been wanting to see for a while, even if I likely won't use it on a daily basis. I was wondering if there's any chance of it being planned and happening at some point.
Alongside the "Plain Color", "Image", and "Slideshow" wallpaper types for the desktop, I was wondering if there might ever be support for "Video" wallpapers. So users can set an avi / mp4 / ogv file as their wallpaper, and have it continuously loop in the background. Even better, a customizable playlist of videos, or random videos in a directory (as with slideshow)... with audio volume customizable and positioning being set the same way as for images. Any chance that this might happen at any stage? Another idea were HTML wallpapers; Why can't a "Website" wallpaper type be implemented too, allowing the user to have web pages as their desktop background, through the same backend as the web plasmoid or Konqueror? Ideally links would also be clickable, and your background can literally act as a web browser which many would likely find useful and fun |
Registered Member
|
KDE Forums - Video desktop background: viewtopic.php?f=83&t=119463
- Plasma 4 : viewtopic.php?f=83&t=119463#p302214 - Plasma 5 : viewtopic.php?f=83&t=119463#p331838 Full image: http://i.imgur.com/4n0PnXH.png |
Registered Member
|
Thank you for the answer. I understand this plugin exists for KDE 4, but for Plasma 5 it still needs to be implemented? I'm curious why such a thing isn't included in code KDE or the plasma-addons package also, since it seems like a pretty simple and probably wanted feature. |
Registered Member
|
With the plasma 5 it can be done with few qml script lines. The plugin is waiting a dedicated developer/maintainer. To add things to the official KDE/plasma you will need to sell it a bit better than "This is a feature I've been wanting to see for a while, even if I likely won't use it on a daily basis." But meanwhile - borrowing file picker from the 'live wallpaper snow': http://kde-look.org/content/show.php/li ... ent=174456 With the ~/.local/share/plasma/wallpapers/org.kde.video/metadata.desktop
~/.local/share/plasma/wallpapers/org.kde.video/contents/config/main.xml
~/.local/share/plasma/wallpapers/org.kde.video/contents/ui/config.qml
The metadata.desktop, main.xml and config.qml will add the Video wallpaper option to the wallpaper types with the file picker ~/.local/share/plasma/wallpapers/org.kde.video/contents/ui/main.qml
The main.qml is a simple qml media player. With the:
It looks like this: https://youtu.be/IxJ4sTl9_Hs |
Registered Member
|
Nice! I shall take a look at this soon. Thank you
|
Registered Member
|
Hi, I'm curious to see if this has worked out for anybody, I've followed the documentation thus far, however I don't have an option for Video in my wallpaper settings. when trying to launch the .desktop applet it says. "The desktop entry of type SERVICE is unknown" looking into the script I guessing "ServiceTypes=Plasma/DeclarativeWallpaper" is not a service type availble in the latest KDE? Or does this type of service need to be downloaded? a little direction here would be great. Thanks! |
Registered Member
|
Someone else has tested with the Kubuntu: https://www.kubuntuforums.net/showthrea ... post385555 Testing with a newer plasma Wraping the org.kde.video directory to tar.gz package from the 'older' Plasma (5.6.5): Tar.gz package available from: http://www.filedropper.com/orgkdevideotar_1 Unpacking the org.kde.video.tar.gz to the $HOME/.local/share/plasma/wallpapers/ to the new Plasma New is:
Seems to work... Full image: http://i.imgur.com/n1TJvGm.png |
Registered Member
|
Fantastic! This was able to work and gave a menu to open a video. Was there any solution to muting the video though. Or would it be more reasonable to strip the audio from the video tracks I want as wallpaper. Thank you for the feedback. |
Registered Member
|
There are two ways: http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html => Muted: http://doc.qt.io/qt-5/qml-qtmultimedia- ... muted-prop
and Volume: http://doc.qt.io/qt-5/qml-qtmultimedia- ... olume-prop
i.e ~/.local/share/plasma/wallpapers/org.kde.video/contents/ui/main.qml with the line
=>
Will play the video muted. Note ! With older Plasma ( 5.5 ?) the mute was not working at here - tested with the Plasma 5.6.5 & 5.7.0 - seems to work. Adding a 'Muted' radio button... Tar.gz package available from: http://www.filedropper.com/orgkdevideotar_2 Note ! As default the the video is starting as muted. User can enable the audio by unchecking the 'Muted' and clicking the 'Apply'. |
Registered Member
|
Fantastic! This works beautifully now!
I want to personally thank you for taking the time and tweaking this to work. It's a great feature for KDE, and I hope it eventually becomes a regular part of the release |
Registered Member
|
Hey guys, Awesome post. Im almost there, but my video plays with only sound and no vid. I get a black screen. Any ideas?
Im in Plasma 5.7.3 Framework 5.25.0 Qt 5.7 Kernel 4.7.1-1-ARCH Perhaps Im missing a library? btw, I am not able to get any of the gziped files you guys are dropping? Is there another place I can get it from you so I can see what might be different in files I made that may be incorrect ? Also, do you think it is possible to have the audio visualization app ProjectM show up on the desktop? Thanks, |
Registered Member
|
Any error messages ? If you make a simple media player: http://doc.qt.io/qt-5/qml-qtmultimedia- ... ml#details main.qml:
and test it with the qmlscene: http://doc.qt.io/qt-5/qtquick-qmlscene.html
Is the media file playing or do you get error messages ? With the plasma - Start the plasmashell from terminal to get the error messages or/and look the .xsession-errors. Freebie The nature of the freebies is that they will die... dropping the org.kde.video.tar.gz to the https://1drv.ms/u/s!AurPvqgDMVijdOOWAlDUtM8F1O8 Everything is possible ? "audio visualization app ProjectM" - hmm this ? - http://projectm.sourceforge.net Everything is possible. If someone is making it possible |
Registered Member
|
Thanks Rog131
That was a good idea to run plasmashell from the cmd, I didnt think about that this time. It showed "Warning: "No decoder available for type «video/x-h264, stream-format=(string)avc, pixel-aspect-ratio" etc..... So I went looking for things to install regarding x264, libav, gstreamer and ffmgeg. I may have installed too much since it just eventually required a reload for things to be found. Not sure what fixed it then. Good news is I was able to get the video to play. However, when I pick the video, and hit apply, it begins playing just about every time, but when I hit the OK button to close the "Desktop Settings - Plasma" dialog box, the video quits and I get a Gstreamer error, "Error: "GStreamer encountered a general stream error." If I restart plasma the video is there and playing. Regarding ProjectM, That is the correct one. I was able to get it full screen and acting benign by playing with KDE special window settings for focus and stuff. I had it at 50% transparent and it looks cool, but it is still on top of my plasma widgets. How cool would it be to have a desktop that is always reacting to the audio you are playing? !!!! heh! Thanks again for your help! |
Registered Member
|
Plasma 5.8 (beta)
The Plasma 5.8 can use the wallpaper plugins as the lock screen backgrounds. Changing - metadata.desktop:
to
An updated video wallpaper available: https://1drv.ms/u/s!AOrPvqgDMVijdQ Youtube: https://youtu.be/xZ-utBtRxTE |
Registered Member
|
Plasma 5.8 beta
KDE SDDM video background This is with the Arch Linux so the SDDM themes are:
=> /usr/share/sddm/themes/ Copying the breeze theme to breeze-video (/usr/share/sddm/themes/breeze-video/). Editing: metadata.desktop:
Adding to the Main.qml the qml mediaplayer - http://doc.qt.io/qt-5/qml-qtmultimedia-mediaplayer.html:
Full image: http://imgur.com/x2hyjYj Changing preview picture: breeze.jpg The breeze-video will read the background information from the theme.conf.user. If the background is an image it will show the picture. If the background is a video clip it will show the video. KDE Config Module for SDDM As default the KDE Config Module for SDDM is picking all files (Filter: All Files): Full image: http://imgur.com/R8u6ORO YouTube: https://youtu.be/OWdA6ZdRfmY Seems to work. --------------EDIT----------------- There is an option to add the qml mediaplayer to the Background.qml:
More Breeze Nightmode: viewtopic.php?f=289&t=137502&p=367943#p367943 SDDM theme time format: viewtopic.php?f=289&t=130484&p=365600#p365600 Gapless playback workaround: viewtopic.php?f=289&t=131783&start=15#p365313
Last edited by Rog131 on Sun Dec 04, 2016 6:26 pm, edited 2 times in total.
|
Registered users: Bing [Bot], Google [Bot], kesang, Sogou [Bot], Yahoo [Bot]