zoom(6)

πŸŽ€ zoom β€” from the XScreenSaver manual, section 6 πŸŽ€

πŸ’– NAME πŸ’–

zoom β€” wander around a magnified desktop, bestie. That's it. That's the whole vibe.


✨ SYNOPSIS ✨

zoom [--display host:display.screen] [--foreground color] [--background
color] [--window] [--root] [--window-id number][--mono] [--install]
[--visual visual] [--delay usecs] [--duration secs] [--lenses]
[--pixwidth pixels] [--pixheight pixels] [--pixspacex pixels]
[--pixspacey pixels] [--lensoffsetx pixels] [--lensoffsety pixels]
[--fps]

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the tea: zoom grabs an image, magnifies it, and then just... scrolls around inside it. Fatbits-style. Literally the pixel-peeping main character energy you deserve. πŸ”βœ¨

And where does that image come from? Three possibilities, and the ~/.xscreensaver file picks for you β€” through the grabDesktopImages, grabVideoFrames, and chooseRandomImages options:

  • the portion of the screen sitting under the window πŸ–₯️
  • the system's video input πŸ“Ή
  • a random file on disk 🎲

Peep xscreensaver-settings(1) for the full deets on those.


πŸ’… OPTIONS πŸ’…

zoom accepts the following options, bestie β€” all of them, no skips:

  • --window β€” Draw on a newly-created window. This is the default. πŸͺŸ
  • --root β€” Draw on the root window. Going straight to the source, love that.
  • --window-id number β€” Draw on the specified window. Just hand it the number.
  • --mono β€” If you're on a color display, pretend we're on a monochrome display. Delusion, but make it aesthetic. πŸ–€πŸ€
  • --install β€” 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.
  • --delay microseconds β€” Slow it down. Take your time, queen. 🐒
  • --duration seconds β€” How long to run before loading a new image. Default 120 seconds.
  • --lenses β€” Instead of doing magnification we just copy an offset region from the original image. And here's the fun part: if lensoffsetx < pixwidth (and similarly for Y) then consecutive regions will overlap, giving the effect of looking through an array of lenses. πŸ‘“πŸ«Ά
  • --pixwidth pixels β€” Width of the magnified pixels.
  • --pixheight pixels β€” Height of the magnified pixels.
  • --pixspacex pixels β€” Amount of black space between magnified pixels (X direction).
  • --pixspacey pixels β€” Amount of black space between magnified pixels (Y direction).
  • --lensoffsetx pixels β€” Distance in X direction between consecutive copied regions (only effective when -lenses used).
  • --lensoffsety pixels β€” Distance in Y direction between consecutive copied regions (only effective when -lenses used).

🌿 ENVIRONMENT 🌿

the environmental lore, iykyk:

  • DISPLAY β€” to get the default host and display number.
  • XENVIRONMENT β€” to get the name of a resource file that overrides the global resources stored in the RESOURCE_MANAGER property.
  • XSCREENSAVER_WINDOW β€” The window ID to use with --root.

🌈 SEE ALSO 🌈

X(1), xscreensaver(1), xscreensaver-settings(1), xscreensaver-getimage(6)


Copyright Β© 2000 by James Macnicol. 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.

yeah that's the whole legal paragraph β€” every word of it stays, no cap. πŸ’€

πŸŽ€ AUTHOR πŸŽ€

James Macnicol <james.macnicol@mailexcite.com>, 20-Nov-2000. Much code was shamelessly stolen from the spotlight hack and a few others. (Respect the hustle. 🫢)


mwah πŸ’œ that's the whole page β€” X Version 11, 6.15 (30-Mar-2026), zoom(6), signed sealed and slayed. go zoom around something pretty. ✨

πŸ“¦ where this page comes from