Invoke Rubik, by typing its name rubik
into a command line.
Or you can set up a window manager menu, or file manager application, to run
it.
Whatever the chosen method of starting Rubik, it must have access to a display
with which it can render its images. Being an inherently graphic program, it won't do much
otherwise.
Rubik accepts all the standard X resource overrides such as
-geometry wwxhh+xx+yy
as well as all those specific to the program itself.
See section Options.
Rubik is graphic, in both its display, and its interface. User interactions are immediately made visible on the display.
The following options may be specified on the command line at invocation. You can access some of these parameters from a menu whilst the program is running.
-z n
--size=n
-a m
--animation=m
-s
--solved
-h
--help
-v
--version
Rubik uses the Athena widget set. Any widget's resource may be set to control menu labels, background colours etc. In addition, the following application resources set the colors of the cube faces:
! Colours of the cube faces ! resource default ! rubik.color0: Red rubik.color1: Green rubik.color2: Blue rubik.color3: Cyan rubik.color4: Magenta rubik.color5: Yellow
You may view any aspect of the cube, by using the arrow keys to rotate the entire object.
To manipulate the cube, you need to select a block to move, and a direction to turn it. Place the mouse cursor on a block to select it, then move the cursor against the edge of the block towards the direction you want to turn. Click Button 1 when you're ready to turn make the move. At all times a circular indicator shows which way the slice will rotate.
This document was generated on 6 April 2002 using texi2html 1.56k.