xscreensaver-getimage man page

xscreensaver-getimage — put some randomly-selected image on the root window


xscreensaver-getimage [-display host:display.screen] [--verbose] window-id [pixmap-id]


The xscreensaver-getimage program is a helper program for the xscreensaver hacks that manipulate images. This is not a user-level command.

This program selects a random image, and puts it on the specified window or pixmap. This image might be a snapshot of the desktop; or a frame captured from the system's video input; or a randomly-selected image from disk.

If only a window ID is specified, the image will be painted there. If both a window ID and a pixmap ID are specified, then the image will be painted on the pixmap; and the window may be modified as a side-effect.


xscreensaver-getimage reads the ~/.xscreensaver file for configuration information. It uses these settings:

Whether it is acceptable to grab snapshots of the desktop. The security paranoid might want to turn this off, to avoid letting people see (but not touch!) your desktop while the screen is locked.
Whether it is acceptable to grab frames of video from the system's video input. Grabbing of video is done by invoking the xscreensaver-getimage-video(1) program.
Whether it is acceptable to display random images found on disk. Selection and loading of images is done by invoking the xscreensaver-getimage-file(1) program.

When loading images from disk, this is the directory to find them in. The directory will be searched recursively for images.

It may also be the URL of an RSS or Atom feed, in which case a random image from that feed will be selected instead. The contents of the feed will be cached locally and refreshed periodically as needed.

If none of the three options are set to True, then video colorbars will be displayed instead.


When grabbing desktop images, the window argument will be unmapped and have its contents modified, causing flicker. (This does not happen when loading image files or video frames.)

See Also

X(1), xscreensaver(1) xscreensaver-demo(1) xscreensaver-getimage-file(1) xscreensaver-getimage-video(1)


Jamie Zawinski <jwz@jwz.org>, 14-Apr-01

Referenced By

antinspect(6), antmaze(6), antspotlight(6), blitspin(6), boxfit(6), bumps(6), carousel(6), decayscreen(6), distort(6), endgame(6), gflux(6), glslideshow(6), jigsaw(6), photopile(6), providence(6), queens(6), rotzoomer(6), slidescreen(6), slip(6), spotlight(6), webcollage(6), xanalogtv(6), xscreensaver(1), xscreensaver-demo(1), xscreensaver-getimage-file(1), xscreensaver-getimage-video(1), zoom(6).

Explore man page connections for xscreensaver-getimage(1).

XScreenSaver manual 5.36-3.fc26 21-Oct-2016