xscreensaver-getimage(6x)
π xscreensaver-getimage π
okay bestie, so this is xscreensaver-getimage, part of the XScreenSaver manual family β it's the little helper that loads a randomly-selected image onto an X11 Drawable so your screen savers have something pretty to play with. π¦β¨
β¨ NAME β¨
xscreensaver-getimage β loads a randomly-selected image onto an X11 Drawable for use by screen savers π
πΈ SYNOPSIS πΈ
xscreensaver-getimage [--display host:display.screen] [--verbose]
window-id [pixmap-id]
π DESCRIPTION π
So xscreensaver-getimage is a helper program for the xscreensaver hacks that manipulate images. Like, it's the backstage crew, not the main character. π«Ά
It picks a random image and puts it on the window or pixmap you told it about. And what kind of image, you ask? Could be:
- a snapshot of the desktop πΈ
- a frame captured from the system's video input π₯
- a randomly-selected image from disk πΌοΈ
If you only give it a window ID, the image gets painted right there. π¨
If you give it both a window ID and a pixmap ID, then the image gets painted on the pixmap, and heads up β the window may get modified as a side-effect. not me casually altering your window as a lil treat π
β¨ OPTIONS β¨
xscreensaver-getimage reads the ~/.xscreensaver file for its configuration info. Here's the settings it cares about:
grabDesktopImagesβ Whether it's acceptable to grab snapshots of the desktop. The security-paranoid girlies might wanna turn this off, so people can't see your desktop while the screen is locked. (They still can't touch it, bestie, just peek. π)grabVideoFramesβ Whether it's acceptable to grab frames of video from the system's video input. This grabbing is done by invoking thexscreensaver-getimage-video(6x)program. π¬chooseRandomImagesβ Whether it's acceptable to display random images found on disk. The selecting and loading of those images is handled by invoking thexscreensaver-getimage-file(6x)program. πimageDirectoryβ When loading images from disk, this is the directory to find them in. And yes, it searches that directory recursively for images, she's thorough. π²
It can also be the URL of an RSS or Atom feed, in which case a random image from that feed gets selected instead. The contents of the feed get cached locally and refreshed periodically as needed. π‘
okay so if none of those three options βgrabDesktopImages,grabVideoFrames,chooseRandomImagesβ are set to True, then video colorbars get displayed instead. not the vibe you wanted probably but here we are. π
π BUGS π
When grabbing desktop images, the window argument will be unmapped and have its contents modified, which causes flicker. π
Lowkey important: this does not happen when loading image files or video frames. So it's just a desktop-grab thing. π
π¦ SEE ALSO π¦
X(1), xscreensaver(1) xscreensaver-settings(1) xscreensaver-getimage-file(6x) xscreensaver-getimage-video(6x)
π COPYRIGHT π
Copyright Β© 2001-2021 by Jamie Zawinski. Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation. No representations are made about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.
π AUTHOR π
Jamie Zawinski <jwz@jwz.org>, 14-Apr-2001
X Version 11 Β· 6.17-1.fc44 Β· (13-Oct-2026) β mwah, that's the version and date bestie, go forth and grab those images π πβ¨
π¦ where this page comes from
- fedora 44: xscreensaver-extras-base 1:6.17-1.fc44 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms