glsnake(6x)
β¨ NAME β¨
glsnake β an OpenGL-enhanced Rubik's Snake cyclewaster π (yes bestie, it's a screensaver, it's iconic, it ate)
π SYNOPSIS π
glsnake [--display host:display.screen] [--window] [--root] [--window-id
number] [--visual visual] [--delay microseconds] [--fps] [--wireframe]
[--altcolour] [--angvel angular] [--explode distance] [--statictime
milliseconds] [--yangvel angle] [--zangvel angle]
π DESCRIPTION π
Okay so glsnake is literally an imitation of RubiksΒ΄ Snake, but make it OpenGL. That's it. That's the vibe. πβ¨
π OPTIONS π
glsnake is so generous, it accepts all of these:
--windowβ Draw on a newly-created window. This is the default, so if you do nothing at all, this is what you get. Main character energy fr. πͺ--rootβ Draw on the root window instead. Going straight onto your desktop background, no cap.--window-idnumber β Draw on the specified window. You pick which one, bestie.--installβ Install a private colormap for the window. Fancy.--visualvisual β 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. π--fpsβ Display the current frame rate, CPU load, and polygon count. Numbers on your screen, slay. π--wireframeβ Display the snake in wireframe mode, rather than the default solid mode. Skeleton snake moment π¦΄--altcolourβ Use the alternate colour scheme for the snake. β οΈ Careful though: shape identification using colour will be disabled. So the colours stop being a cheat code.-angvelangular β Change the speed at which the snake morphs to a new shape.-explodedistance β Change the distance between the nodes of a snake. (It's giving β¨spaced outβ¨)--statictimemilliseconds β Change the time between morphs. Zone out for longer, babe.--yangvelangle β Change the angle of rotation around the Y axis per frame.--zangvelangle β Change the angle of rotation around the Z axis per frame.
π¦ 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), and https://spacepants.org/src/glsnake/
π BUGS π
- The snake will happily intersect itself while morphing (this is not a bug). It's just built different. π
- The rotation/camera position sucks. Direct quote, we don't make the rules. π
π COPYRIGHT π
Copyright Β© 2001, 2002 by Jamie Wilkinson, Andrew Bennetts, and Peter Aylett.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
πΈ AUTHOR πΈ
Jamie Wilkinson <jaq@spacepants.org>, Andrew Bennetts <andrew@puzzling.org>, and Peter Aylett <peter@ylett.com>. Ported to XScreenSaver by Jamie Wilkinson. π«Ά
okay that's the whole thing bestie, every flag, every path, every env var, nothing skipped, periodt π
And for the cute sign-off: this little love letter lives in X Version 11, specifically 6.17-1.fc44 (13-Oct-2026) in the glsnake(6x) section of the manual. Byeeee πβ¨
π¦ where this page comes from
- fedora 44: xscreensaver-gl-extras 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