How to run "Live Wallpaper" Or a "Movie" as your 'desktop background'
  • Have you ever dreamed of running 'Live-wallpaper' (like Android) or a 'Movie-wallpaper' (like windows) on Linux? Yes you can.

    1. How to run any xscreensaver as your desktop background :
     a) Install 'ShantzXWinWrap' from here :  http://tech.shantanugoel.com/2008/09/03/shantz-xwinwrap.html
     b) Save the following script as LiveWP.sh in your home folder (This script is for 'Galaxy' screensaver, if you want to use any other screensaver just edit  the screensaver name in the script)

        if ps -e | grep xwinwrap
     then
      killall xwinwrap
      sleep 1
      exit
    fi
     
     xwinwrap -b -fs -sp -nf -- /usr/lib/xscreensaver/galaxy -root -count 5  -window-id WID

    c) Make the script executable by changing the file permission

    d) Just double click the script and enjoy Live Wallpaper !


    NOTE: You will not be able to see any desktop icons when LWP/MWP is running. To stop the LWP just execute the script again.


    2. How to run Movie as wallpaper:

      a.) You will need to install 'mplayer' and 'ShantzxWinWrap' if not installed alreay
      b.) Copy any movie file to your /home/videos folder .
      c.)
    Save the following script as MovieWP.sh in your home folder  :
     

     if ps -e | grep xwinwrap
     then
      killall xwinwrap
      sleep 1
      exit
     fi

    xwinwrap -ni -fs -s -st -sp -b -nf -- mplayer -wid WID $HOME/Videos/*.mkv then



    fi
    sleep 1
    exit

    d.) Make it executable and double click to run.

    NOTE: If you use a video file other than .mkv , edit the script accordingly. ENJOY!

      if the lower PANEL hides under video , press Ctrl+Alt+Del to get your taskbar/panel visible.
    Please click on "Mark as Solved" if your original question / problem got solved. This will help others.

    'Lazy people will always find a short-cut for a difficult task"
    Thanked by 1Zaka