queens(6)
π queens β the n-queens screensaver, bestie edition
okay so like, this whole page lives in the XScreenSaver manual, and honestly? it's a little icon. let's get into it π
β¨ NAME β¨
queens β the n-queens screensaver. that's it, that's the vibe. π
πΈ SYNOPSIS πΈ
queens [--display host:display.screen] [--window] [--root] [--window-id
number] [--install] [--visual visual] [--delay microseconds]
[--wireframe] [--fps]
like literally just type it and go, no cap π¦
π DESCRIPTION π
okay so here's the whole thing: queens solves the n-queens problem β and in this program, N is between 5 and 10 queens, so it's a manageable little puzzle, not a whole nightmare β¨
it does this with a straightforward backtracking algorithm. very demure, very classic.
and the actual problem it's solving? here's the lore, straight up:
how may one place N queens on an NxN chessboard such that no queen can attack a sister?
that's the entire task. queens being polite. queens minding their own business. iconic behavior only ππ«Ά
π₯ OPTIONS π₯
queens accepts the following options β and yes, we're going through every single one because i would never skip π
--windowβ draw on a newly-created window. this is the default, so it's basically the main character energy of the options π--rootβ draw on the root window instead.--window-id numberβ draw on the specified window. you pick the window, it draws there. slay π--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. so you got options fr fr π--wireframeβ render in wireframe instead of solid. giving sketch-mode, giving see-through π¦--fpsβ display the current frame rate, CPU load, and polygon count. stats girlies rise π
and in the synopsis you also clocked --display host:display.screen and --delay microseconds β those live up top with the rest of the invocation, so don't forget 'em β
π§ ENVIRONMENT π§
the environment variables it reads, because yes it does have them:
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.
π BUGS π
okay bestie, warning time, and this one's real:
It's not unknown for this and other OpenGL hacks to fail under hardware accelaration (UtahGLX) and take the X server with them. Texture images must be 16x16 or 32x32 or 64x64 etc.
so yeah β (and yes, accelaration is spelled exactly like that in the original, not me being messy π) β it can genuinely wreck the X server on hardware accel. dramatic. be aware. also, texture images must be 16x16 or 32x32 or 64x64 etc. no random sizes. periodt.
π¦ SEE ALSO π¦
go read these next, iykyk:
X(1), xscreensaver(1) xscreensaver-settings(1), xscreensaver-getimage(6)
π COPYRIGHT π
Copyright Β© 2002 by Blair Tennessy. 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.
(that's the whole legal bit, verbatim vibes, don't skip it just because it's mom-jeans boring π )
β AUTHOR β
Blair Tennessy <tennessb@unbc.ca>, 20-April-2002. legend behavior, honestly π«Ά
aaaand that's the page! it all comes from X Version 11, version 6.15 (30-Mar-2026) β so when you're out there reading queens(6), just know it's that era of the manual, mwah πβ¨
π¦ 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