rubikblocks(6x)

πŸ’– rubikblocks β€” it's giving "brain teaser but make it a screensaver" πŸ’–

okay bestie, so this is the rubikblocks page from the XScreenSaver manual (system manual section 6x, the games & screensavers one, iykyk). it animates the Rubik's Mirror Blocks puzzle and honestly? it's iconic. let's get into it πŸŽ€


✨ NAME ✨

rubikblocks β€” the lil program that animates the Rubik's Mirror Blocks puzzle 🧊πŸͺž


🌸 SYNOPSIS 🌸

rubikblocks [--display host:display.screen] [--visual visual] [--window]
[--root] [--window-id number] [--install] [--delay microseconds]
[--texture] [--no-texture] [--mono] [--wireframe] [--spin] [--no-spin]
[--wander] [--no-wander] [--randomize] [--no-randomize] [--spinspeed
number] [--rotspeed number] [--wanderspeed number] [--wait number]
[--cubesize number] [--fps]

like. look at all those flags. she's got range. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

So this program animates a puzzle called Rubik's Mirror Blocks. And the moves? Random. Chosen randomly. No strategy, no solving, just ✨vibes✨ β€” the cube is doing its own thing and you're just here to watch. main character energy fr fr.


πŸŽ€ OPTIONS πŸŽ€

rubikblocks accepts the following options, bestie, and yes we're going through every single one:

  • --window β€” draw on a newly-created window. this is the default, so if you just run it, this is what you get bestie 🫢
  • --root β€” draw on the root window instead. full desktop takeover. slay.
  • --window-id number β€” draw on the specific window you point at. you pick the id, she draws there πŸ’«
  • --install β€” install a private colormap for the window. fancy color privileges, no cap.
  • --visual visual β€” pick which visual to use. legal values are either the name of a visual class, or the id number of a specific visual (and that number can be decimal or hex πŸ’…).
  • --delay microseconds β€” how long to pause between frames. default is 20000, which is 0.02 second. tiny lil breather between frames πŸ“
  • --texture β€” use texture maps. this is the default βœ…
  • --no-texture β€” use solid colors instead. the manpage says it looks a bit weird and honestly? we respect the honesty 😭
  • --mono β€” disable both texture maps and colors. ditto on the weird thing. monochrome moment πŸ’€
  • --wireframe β€” only draw outlines. and not just the outline of the whole object β€” outlines of each piece get drawn too. skeleton core 🦴
  • --spin β€” spin the whole object around the X, Y and Z axes. this is the default, she's a spinner fr πŸ”₯
  • --no-spin β€” no spinning. same tilt, all the time. she's holding still, she's committed 🧘
  • --wander β€” move the object around the screen. this is the default, she roams πŸ¦‹
  • --no-wander β€” keep the object centered on the screen. no wandering, just chillin' in the middle πŸ’œ
  • --randomize β€” shuffle the puzzle randomly at startup. this is the default, chaos from frame one 🎲
  • --no-randomize β€” don't shuffle at startup. begin at the shape of cube. pure. pristine. a perfect lil cube 🌸
  • --spinspeed number β€” the relative speed of spinning. default is 1.0 ⭐
  • --rotspeed number β€” the relative speed of the moves. default is 3.0. setting it to ≀ 0.0 makes the object stay at one configuration. like, frozen. one shape forever. periodt.
  • --wanderspeed number β€” the relative speed of wandering around the screen. default is 0.02 🧚
  • --wait number β€” how long to stay at the final position after each move. the meaning of the argument is again relative. default is 40.0. she likes to linger πŸ’…
  • --cubesize number β€” size of the object. a value of 3.0 fills roughly all the screen. go big or go home πŸ‘‘
  • --fps β€” display the current frame rate, CPU load, and polygon count. numbers on screen, nerd mode activated, we love her 🌈

🌟 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 the RESOURCE_MANAGER property.
  • XSCREENSAVER_WINDOW β€” the window ID to use with --root.

πŸ‘€ SEE ALSO πŸ‘€

X(1), xscreensaver(1)

go read those if you wanna know more, bestie, they're right there 🫢


Copyright Β© 2009 by Vasek Potocek.

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.

ok so basically: free to use, copy, modify, distribute and sell for any purpose, no fee β€” but keep the copyright notice in all copies, and keep both notices in the supporting documentation. and no promises that it's suitable for anything, no warranty, express or implied. read the fine print, bestie, it's short πŸ“

πŸ’Œ AUTHOR πŸ’Œ

Vasek Potocek <vasek.potocek@post.cz>, 04-Feb-09.


and that's the whole thing!! πŸŽ€ no cap, you're now fully fluent in rubikblocks. go forth and vibe πŸ’–

X Version 11 Β· 6.17-1.fc44 Β· 13-Oct-2026 β€” mwah, that's the version and date, and this lil doc is officially wrapped. bye bestie!! πŸ’…βœ¨

πŸ“¦ where this page comes from