This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Video desktop background

4

Votes
5
1
Tags: None
(comma "," separated)
voncloft22
Registered Member
Posts
3
Karma
0

Video desktop background

Sat Feb 01, 2014 6:57 am
I have already succeeded in creating an Arch Linux KDE desktop with a video background (granted it was from the AUR portal) but it was amazing eyecandy for my computer. I am wondering why KDE doesn't implement this idea write into its software by default.
User avatar
google01103
Manager
Posts
6668
Karma
25

re: Video desktop background

Sat Feb 01, 2014 3:11 pm
In case anyone is interested in having this now and not having access to AUR (Arch User Portal) the following should help:

How to have animated wallpapers in KDE

http://thinkmoult.com/2012/06/20/tech-t ... rs-in-kde/

I’ve seen many people asking how to have animated wallpapers in KDE. The current options include specialised Plasma Widgets, or the rather limited yet specialised array of animated effects, such as desktop globe, seasonal change, or virus simulations.

Unfortunately there isn’t a native way to accomplish this, but KDE being KDE, there’s always a workaround.

The idea is to use mplayer to play a constantly looping, muted, fullscreen video and tell it to play on all desktops, underneath all apps, and not show up as a window in the taskbar, switcher, or pagers.

Here’s the snippet:

#!/bin/bash
mplayer -fixed-vo -loop 0 -nosound -fs -name 'animbg' /path/to/yourvideo.avi

Save it as whatever.sh file and chmod +x whatever.sh. (not required but useful for convenience)

The -fixed-vo flag prevents reopening a new window every type the -loop 0 flag is called. -nosound and -loop is self explanatory, and -fs is fullscreen. The -name flag allows us to set a specific window class, which will be picked up by a specific KDE window rule we will create.

A quick note here that mplayer also has the -title flag, which we should be able to use to create a KDE window rule for, but it seems as though either mplayer creates the window and only afterwards changes the title, or KDE has a bug, and so the KDE window rule doesn’t match at runtime.

We can then go into System settings -> Window Behaviour -> Window Rules and press “New” to create a new window rule. Set the window class to an exact match as shown below. For more information you can view the KDE Userbase page on window rules. http://userbase.kde.org/KWin_Rules_Window_Matching/en

In the Size & Position tab, check Desktop, and set it to Force All Desktops. In the Arrangement & Access tab, check Keep below, Skip taskbar, Skip pager, and Skip switcher, and set them all to Force Yes. Hit OK, and Apply your settings. For more information you can again see the KDE Userbase page on window attributes.

Tada! Now you have an animated wallpaper! You can set KDE System Settings -> Startup & Shutdown -> Autostart to run your .sh file.


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Video desktop background

Sat Feb 15, 2014 7:10 pm
Older KDE plasma Video wallpaper

Animated Video Wallpaper: http://kde-look.org/content/show.php/An ... ent=112105


Video wallpaper for the KDE 4.8 and later

Dream desktop: http://www.jarzebski.pl/projekty/dreamdesktop.html

Packages can be found:
- http://software.opensuse.org/package/pl ... eamdesktop
- https://launchpad.net/ubuntu/+ppas?name ... eamdesktop
rossdv8
Registered Member
Posts
16
Karma
0

Re: Video desktop background

Wed Apr 23, 2014 12:08 am
Here is a quick and dirty workaround I use that gives me video wallpaper on KDE in Mint 16 - especially useful to run MUSIC videos with the option of sound control at any time.

You will need VLC media player installed

Open VLC then Tools > Preferences and in the left column, at the bottom, under Show settings, CLICK on 'All'
In the new list that opens, scroll to the bottom and CLICK 'Video'
About 3 from the bottom of the 'General video settings' section, put a checkmark in the box next to ( ) Enable wallpaper mode'

Now when you open a video in VLC it should open full screen. If I double click mine it leaves full screen and opens a small video window and another with the playlist and menus. I can drop a folder into the playlist to create a new set of music for looping wallpaper.

Double clicking the current video sets VLC as wallpaper again.

I also make a quick start icon on teh Panel containing the following command line:
find Video-Wallpaper/ -type f -exec vlc -f --loop --random --aspect-ratio 2.35x1 -LZ '{}' +

The folder Video-Wallpaper is the folder in /home where I drag links to make a playlist for the the music videos I want to play.

Hope this simple method helps KDE users looking for a really easy way to run video wallpaper.

Cheers,

RossD.
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Video desktop background

Fri Mar 27, 2015 10:56 am
With the plasma 5 the video wallpaper can be added with the qml mediaplayer: http://doc.qt.io/qt-5/qml-qtmultimedia- ... ml#details

The 'Video and HTML wallpaper types' : viewtopic.php?f=289&t=131783&p=354060 has an example KDE Plasma 5 video wallpaper.

Image

YouTube: https://youtu.be/IxJ4sTl9_Hs
dfdias
Registered Member
Posts
1
Karma
0

Re: Video desktop background

Sun Nov 20, 2016 8:44 pm
hi

it won't work on openSUSE LEAP 42.2 :(

i can configure everything and even select the video but when i lock my screen only a black screen appears

thanks in advance
User avatar
Rog131
Registered Member
Posts
828
Karma
10

Re: Video desktop background

Mon Nov 21, 2016 10:15 am
dfdias wrote:hi

it won't work on openSUSE LEAP 42.2 :(

i can configure everything and even select the video but when i lock my screen only a black screen appears

thanks in advance


Few notes ;)


This thread is under: KDE Brainstorm - User-submitted ideas for KDE desktop and software.

If this is not a comment (?) and you are asking help:
- Start a new thread under Plasma / Plasma 5:
- If using KDE4 -> Plasma - viewforum.php?f=67
- If using Plasma 5 -> Plasma 5 - viewforum.php?f=289

- Add your Plasma/Frameworks/Qt version information - the KInfoCenter: https://www.kde.org/applications/system/kinfocenter/
- Add information: help for what application / feature ?
- If not part of the official KDE release: Where/How did you get it ?
- Do you get any error messages ?
User avatar
Rog131
Registered Member
Posts
828
Karma
10
User avatar
MirceaKitsune
Registered Member
Posts
330
Karma
0
OS

Re: Video desktop background

Sat Feb 10, 2018 4:08 pm


Been waiting for something like this for a while now. Thank you for making these and sharing!
jeremyfisher
Registered Member
Posts
12
Karma
0
OS

Re: Video desktop background

Sat Feb 10, 2018 7:50 pm


This looks fantastic!

Thank you!


Bookmarks



Who is online

Registered users: Bing [Bot], claydoh, Google [Bot], Yahoo [Bot]