grav(6)
πͺ grav β XScreenSaver manual πͺ
okay so bestie, picture this: it's a screensaver, but make it physics. it's grav, and it lives in the XScreenSaver manual, section 6. no cap, it's the moment. π«
πΈ NAME πΈ
grav β draws a simple orbital simulation β¨
π SYNOPSIS π
grav [--display host:display.screen] [--foreground color] [--background
color] [--window] [--root] [--window-id number][--mono] [--install]
[--visual visual] [--ncolors integer] [--delay microseconds] [--count
integer] [--decay] [--no-decay] [--trail] [--no-trail]
[--fps]
yes the [--window-id number][--mono] runs together like that, that's literally how it's written, don't come for me π
π¦ DESCRIPTION π¦
okay so the grav program draws a simple orbital simulation. that's it. that's the whole vibe. things go around other things. orbiting. gravitational. iconic. π
π OPTIONS π
grav accepts the following options (and yes, she has range):
--windowβ draws on a newly-created window. this is the default, so if you do nothing, congrats, you already did it π«Ά--rootβ draws on the root window. main character energy, takes over the whole screen π--window-id numberβ draws on the specified window. you pick the window. you're in charge β¨--monoβ if you're on a color display, pretend we're on a monochrome display. delusion? maybe. slay? absolutely π--installβ install a private colormap for the window. treat yourself to your own personal color situation π--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. iykyk π§--ncolors integerβ how many colors should be used (if possible). default64. the colors are chosen randomly, so it's giving chaos but make it pretty πΈ--count integerβ default12. that's twelve objects doing their little orbit thing πͺ--decay/--no-decayβ whether orbits should decay. yes, these are two separate flags and yes you should read both π₯--trail/--no-trailβ whether the objects should leave trails behind them (makes it look vaguely like a cloud-chamber. not me being obsessed with that detail π)--fpsβ display the current frame rate and CPU load. numbers! on screen! for the data girlies π
quick note bestie: --delay microseconds shows up in the SYNOPSIS but has no description of its own in the OPTIONS list. it's in the synopsis, and that's all we know. don't invent lore. π
πΏ ENVIRONMENT πΏ
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 theRESOURCE_MANAGERproperty.XSCREENSAVER_WINDOWβ the window ID to use with--root.
β SEE ALSO β
X(1), xscreensaver(1), xlock(1) β go read your friends too, they're all valid π
π COPYRIGHT π
Copyright Β© 1993 by Greg Bowering.
Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies and that both that copyright notice and this permission notice appear in supporting documentation.
that's the legal bit, word for word, do not skip it, i'm serious, it's literally required to be in copies π«‘
π AUTHOR π
Greg Bowering <gb@pobox.com>, 1993.
Ability to run standalone or with xscreensaver added by Jamie Zawinski <jwz@jwz.org>, 10-May-97.
k bye bestie, go watch some tiny planets vibe πβ¨ππ¦πΈπ π«Ά
X Version 11 Β· 6.15 (30-Mar-2026) Β· grav(6) β periodt, that's the footer, catch you on the next page π
π¦ where this page comes from
- alpine 3.24: xscreensaver-doc 6.15-r0 Β· GPL-2.0-or-later GPL-3.0-or-later 0BSD MIT
- arch rolling: xscreensaver 6.15-1 Β· LicenseRef-XScreenSaver
- nixpkgs unstable: xscreensaver 6.15
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms