galaxy - Man Page

draws spinning galaxies


galaxy [-display host:display.screen] [-foreground color] [-background color] [-window] [-root] [-mono] [-install] [-visual visual] [-ncolors integer] [-delay microseconds] [-cycles integer] [-count integer] [-size integer] [-tracks] [-no-tracks] [-spin] [-no-spin]



The galaxy program draws spinning galaxies.


galaxy accepts the following options:


Draw on a newly-created window.  This is the default.


Draw on the root window.


If on a color display, pretend we're on a monochrome display.


Install a private colormap for the window.

-visual visual

Specify which visual to use.  Legal values are the name of a visual class, or the id number (decimal or hex) of a specific visual.

-ncolors integer

How many colors should be used (if possible).  Default 64. The colors used cycle through the hue, making N stops around the color wheel.

-cycles integer
-count integer
-size integer

Display the current frame rate and CPU load.



to get the default host and display number.


to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.

See Also

X(1), xscreensaver(1), xlock(1)


Original Amiga version by Uli Siegmund <>
for EGS in Cluster.

Ported from Cluster/EGS to C/Intuition by Harald Backert.

Ported to X11 and xlockmore by  Hubert Feyrer <>, 30-Sep-94.

Modified by David Bagley <>, 23-Oct-94.

Modified by Dave Mitchell <>, 7-Apr-97.

Ability to run standalone or with xscreensaver added by  Jamie Zawinski <>, 10-May-97.


6.04-1.fc37.1 (23-Jul-2022) X Version 11 XScreenSaver manual