XPlanet

From Torben's Wiki

Install

sudo apt-get install xplanet xplanet-images

create config ~/.xplanet

[earth]
cloud_map=/home/torben/wallpapers/clouds_2048.jpg
image=/usr/share/xplanet/images/earth.jpg
night_map=/usr/share/xplanet/images/night.jpg

cron job script or endless loop in script

wget -q -O /home/torben/wallpapers/clouds_2048.jpg http://xplanet.sourceforge.net/clouds/clouds_2048.jpg
xplanet -config .xplanet -output ~/wallpapers/xplanet/earth.jpg -geometry 1920x1200 -projection mercator
xplanet -config .xplanet -output ~/wallpapers/xplanet/earth1.jpg -geometry 1920x1200 -projection mercator # for KDE hack

Gnome does recognise changes to the background image file, KDE4 does not. So we have to hack it... Select background image to a slideshow of the folder

/home/torben/wallpapers/xplanet/

[1] -> Comments [2]


My script:

#!/bin/bash
cd /home/torben
while :
do
  i=1
  wget -q -O /home/torben/wallpapers/clouds_2048.jpg http://xplanet.sourceforge.net/clouds/clouds_2048.jpg
  while [ $i -le 4 ]
  do
    (( i++ ))
    xplanet -config .xplanet -output ~/wallpapers/xplanet/earth.jpg -geometry 1920x1200 -num_times 1 -projection mercator
    xplanet -config .xplanet -output ~/wallpapers/xplanet/earth1.jpg -geometry 1920x1200 -num_times 1 -projection mercator # for KDE hack
   sleep 30m
  done
done