[HOWTO] Video Wallpaper on Ubuntu 10.04 Lucid Lynx with Shantz XWinWrap
I wanted to try out video wallpaper (like DreamScene on Windows 7). I had tried XWinWrap with Hardy but back then, I had problems running Compiz on an old PC and it did not look good at all. Now, I am trying it out on a new PC and Compiz works well on my onboard Intel GMA 3000 on Ubuntu 10.04 Lucid Lynx Alpha.
If you want to try this, you must have compiz enabled. You may also want to install mplayer and codecs for videos you want to use as desktop background.
First of all, I downloaded Shantz XWinWrap from here. I extract it and installed it. You can use the deb files for your respective architecture. I chose i386 as I have 32-bit version of Lucid installed.
Once it is installed, you can open up the terminal and then try running the following command to see how it works:
1 | xwinwrap -ni -argb -fs -s -st -sp -nf -b -- /usr/lib/xscreensaver/glmatrix -window-id WID |
You can exit it by pressing Ctrl+C in terminal.
Then, I tried with mplayer. First, you may want to set mplayer to play on loop by default, otherwise mplayer will exit when it is done playing the video and so will XWinWrap. To enable repeat mode in mplayer by default, edit /home/Your_User_Name/.mpalyer/config and add
loop=0
at the end of the file. To do that, press Alt+F2 and then type in
gedit .mplayer/config, add
loop=0
at the end and save it.
After that was done, I tried the following in terminal:
xwinwrap -ni -o 0.9 -fs -s -st -sp -b -nf -- mplayer -wid WID -nosound /full/path/to/video.mpg
Notice the option “-o 0.9″, this is the opacity of the video wallpaper. If you do not use opacity option (use -o 1.0 or omit -o option), you will not be able to see icons on the Desktop. If you have set it to be transparent, you may want to blank the Desktop with a solid color. Black background works good for most of the videos, but I recommend you tweak the color and opacity values so that it looks good enough.
You can find videos for wallpaper at Dreamscene.org
If you want the video desktop to be retained when you next log on, you will need to enable it at startup. You can do so by adding the command you used in System>Preferences>Startup Application.
Please share your “Wallpaper as Video” experience.
If you enjoyed this post, make sure you subscribe to my RSS feed!Related posts:
- What’s new in Ubuntu 10.04 Ubuntu Lucid Lynx – Download Daily Build
- xVideoServiceThief – Youtube Video Downloader for Ubuntu Linux
- [HOWTO] Installing Kernel 2.6.33 on Lucid Lynx (Ubuntu 10.04) without compiling
- [SOLVED] Adobe FlashPlugin Problem in Ubuntu 10.04 Lucid Lynx 64bit
- [HOWTO] Modify youtube-dl to make it bandwidth friendly by adding option to download lowest quality video

AMAZING!
Sorry, but this is possible since many version of Ubuntu.
If I don’t make a mistake, it’s possible since Edgy Eft (6.10)
[...] Traducido de: http://www.khattam.info/2010/02/15/howto-video-wallpaper-on-ubuntu-10-04-lucid-lynx/ [...]
With this script you can put your videos or your screensaver as wallpaper:
http://gnome-look.org/content/show.php/Escritorio+Animado%2BAnimated+Desktop?content=121238
works really fine
[...] June 7, 2010 by davidrobertlewis A great tutorial from the Khattam blog. [...]
[...] Enlace donde vi cómo hacer todo (en inglés): Éste. [...]
[...] donde vi cómo hacer todo (en inglés): Éste. [...]
Hey, that’s worked for me, i am happy watching nature video on my desktop background! Perfect!!!