SourceForge Logo
  1. None of my scripts work with the new version.
  2. Why is there a configuration file now? I want to specify everything on the command line.
  3. How do you show multiple bodies? I want to see the moon when I draw the earth.
  4. I used the -starmap option but I don't see any stars.
  5. I don't see Saturn's rings.
  6. How can I get xplanet to work with KDE?
  7. How can I get xplanet to work with Gnome2?
  8. Where can I get higher resolution cloud maps?
  9. Why are the top and bottom of the cloud maps a reflection of the area below/above them?
  10. How can I get Xplanet to draw an image once and exit?
  11. The -animate option doesn't work any more. Will it be back in a future version?

None of my scripts work with the new version.

The 1.0 version of Xplanet is a complete rewrite of the pre-1.0 version. Many of the old options work differently, or not at all. I really should have named the 1.0 version "Xplanet2" to make this clear, since a lot of people were inconvenienced by upgrading. I apologize for this. The old version is still available here, although I will only make bug fixes on this version from now on.


Why is there a configuration file now? I want to specify everything on the command line.

Xplanet now draws multiple bodies. By using a configuration file, you can specify things like marker or arc files for each planet. Doing that on the command line would be a pain.


How do you show multiple bodies? I want to see the moon when I draw the earth.

Xplanet draws multiple bodies by default. Multiple bodies are not drawn if the -projection option is used. If you only see one body in the image, then it means there aren't any other bodies (that xplanet knows about) in the field of view.

The moon orbits at 60 earth radii. You won't often see it in the field of view if the earth is drawn at any appreciable size.

You can modify the magnify parameter in the configuration file to make the earth and moon bigger so that they do fall in the same field of view more often. It won't be accurate, but it might be what you want. See this image in the gallery for an example.


I used the -starmap option but I don't see any stars.

You probably have a small field of view, and there just aren't any stars that fall inside your image. By default, xplanet places the observer at 1000 planetary radii.

Try this:

  xplanet -num_times 1 -label -radius 10 -range 1000 
  

Notice the "fov" line in the label. Decrease the range, and the field of view will get larger and you will start to see stars and other planets in the image. You won't see much until the fov gets to be a few tens of degrees.

Another thing you can do is set the "magnify" option inside the configuration file. See the "multiple bodies" question above - it's really the same question as this one. You might want to use a magnify value of 100 or more to see a lot of stars.


I don't see Saturn's rings.

Saturn's rings are in the plane of its equator. If the observer is at latitude 0, you won't see anything.

Try this:

  xplanet -body saturn -latitude 25
  

The rings are not drawn if the -projection option is used. Rings for the other planets are not implemented.


How can I get xplanet to work with KDE?

From Jeremy Sonander <Jeremy at saros dot com>:
     - Right click on the backdrop, and select "Configure desktop"
     - Select Background
     - Go to the Wallpaper tab and select no wallpaper
     - Go to the Background tab and select Background Program from the Mode tab
     - Click Setup
     - There should already be an Xplanet entry. Select this and click Modify
     - The Command and Preview Command should be
         xplanet --num_times 1 --geometry %xx%y --latitude 20 --output %f.png && mv %f.png %f


How can I get xplanet to work with Gnome2?

Modify the following script to suit your preferences, from http://stef.tvk.rwth-aachen.de/~nazgul/linux-hacks.php:

#!/bin/bash
#xplanet-gnome.sh shell script v0.2
#shows Earth on your Gnome desktop with current lighting conditions,i.e. day and night

DELAY=30m

PREFIX=/multimedia/wallpapers/
OUTPUT=xplanet.png
APPEND=2

GEOMETRY=1024x768
LONGITUDE=15
LATITUDE=30
#default is no projection,i.e. render a globe
#rectangular is the flat world map. also try ancient, azimuthal,  mercator,..
#PROJECTION=rectangular  

#rename background image so Gnome realises image has changed - thx to dmbasso

if [ -e "$PREFIX$OUTPUT" ]; then
   rm "$PREFIX$OUTPUT"
   OUTPUT="$APPEND$OUTPUT"
else
   rm "$PREFIX$APPEND$OUTPUT"
fi

if [ -z $PROJECTION ]; then 
xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY -longitude $LONGITUDE -latitude $LATITUDE
else
xplanet -num_times 1 -output "$PREFIX$OUTPUT" -geometry $GEOMETRY -longitude $LONGITUDE -latitude $LATITUDE -projection $PROJECTION
fi

#update Gnome backgound
gconftool -t str -s /desktop/gnome/background/picture_filename "$PREFIX$OUTPUT"

sleep $DELAY
exec $0
Make sure this script is executed at Gnome startup. There are several ways to do this: Also have a look at this post in the forum for a script written in Python.

Where can I get higher resolution cloud maps?

I don't know of any other real time global cloud map sources. The ones I create are based on infrared images from geostationary satellites. The resolution of my maps are constrained by the resolution of the original images, so I can't make bigger ones. If you want higher resolution maps, try launching your own network of weather satellites!


Why are the top and bottom of the cloud maps a reflection of the area below/above them?

The cloud maps are generated from geostationary satellite images. These satellites cannot see to the poles, so I had to do something to fill in the unobserved area.


How can I get Xplanet to draw an image once and exit?

The default behavior is to run indefinitely. Use -num_times 1 to draw once and exit.


The -animate option doesn't work any more. Will it be back in a future version?

No. Getting this to work on multiple platforms was difficult. It generated a lot of complaints and I didn't like it much anyway. If you want this capability, Celestia is a much better OpenGL planet viewer than Xplanet ever was.