Monday, August 31, 2009

Xplanet in Debian 5.0

  1. aptitude install xplanet xplanet-images
  2. edit .xplanet/config: because the night earth image that provided by package "xplanet-images" seems fixed, in order to cancel the display of night image, add the line below default item: shade=100. Then add 'cloud_map=~/.xplanet/clouds_2048.jpg' below earth item.
  3. use download_clouds.py or download_clouds.pl to download cloud image
  4. write the script, startxplanet.sh:
python ~/.xplanet/download_clouds.py ~/.xplanet/clouds_2048.jpg
xplanet -body earth -latitude $LATITUDE -longitude $LONGITUDE -quality 100 -geometry 1600x1200 -config ~/.xplanet/config