rubik(6)

rubik6

Screen saver that solves rubik's cube.

Usage

rubik [--display host:display.screen] [--visual visual] [--window] [--root] [--window-id number] [--count number] [--cycles number] [--delay number] [--size number] [--hideshuffling] [--fps]

Overview

Draws a Rubik's Cube that rotates in three dimensions and repeatedly shuffles and solves itself.

Options

--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.

--window

Draw on a newly-created window. This is the default.

--root

Draw on the root window.

--window-id number

Draw on the specified window.

--count number

Count. -100 - 100. Default: -30.

--cycles number

Timeout. 0 - 60. Default: 5.

--delay number

Per-frame delay, in microseconds. Default: 40000 (0.04 seconds.).

--size number

Size. -20 - 20. Default: -6.

--hideshuffling | --no-hideshuffling

Show Shuffling. Boolean.

--fps

Display the current frame rate, CPU load, and polygon count.

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.

Author

Marcelo Vianna.

From xscreensaver 6.15-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.