wmpuzzle(6) [debian man page]
wmpuzzle(6) Version 0.5.1 wmpuzzle(6) NAME
wmpuzzle - WindowMaker dock app 4x4 puzzle SYNOPSIS
wmpuzzle [options] [xpm image file] DESCRIPTION
wmpuzzle provides a 4x4 puzzle on a 64x64 mini window. It is designed to work with the WindowMaker dock, but will work with other window managers as well. OPTIONS
-h, --help displays a command line summary. -a, --auto-save automatically save the puzzle state on program exit. -k, --keyboard enable use of the keyboard for arrow-key navigation. -s, --shuffle=count shuffle the image count times, defaults to 2000. Using -s prevents loading the saved state from the resource file. -v, --version displays the version number. --display=id Set the display to use, e.g. --display=:0.0. --geometry=pos Set the position of the dock app, e.g. --geometry=+10+10. Note that the size (64x64) is hard-coded and cannot be changed. The image file must be an XPM file with minimum (and recommended) size of 48x48 pixels. If it is larger then the upper left corner will be shown. USAGE
Left mouse click moves the puzzle tiles, right click saves the current state and middle click recovers the last saved state. If -k has been specified the arrow keys and key s and key r will do as well. If the picture has been completed the last element will be shown. FILES
~/.wmpuzzlerc contains the puzzling state of the images. The basename of an image file will be used as its identifier. Use option -s to ignore this file on startup. BUGS
When wmpuzzle complains about not enough free color symbols that's because it needs to add six colors to the XPM's color table and found no free symbols using the according number of characters per pixel. Try to find some unused entries, delete them and correct the size of the color table (the third number in the first line), or enlarge the number of characters per pixel using some imaging program. Please send any bugs to <martin@godisch.de>. Debian users are encouraged to use the Debian Bug Tracking System at http://bugs.debian.org/wmpuzzle. AUTHOR
wmpuzzle is written by Martin A. Godisch <martin@godisch.de>. Thanks to Gordon Fraser for his suggestions, and to Kyle Boyle for the con- tribution of his numbers puzzle. Thanks to Matthias Klose for bug reports and fixes. The Debian Project February 2012 wmpuzzle(6)
Check Out this Related Man Page
dxpuzzle(1X) dxpuzzle(1X) Name dxpuzzle - DECwindows interface to a puzzle game Syntax dxpuzzle [ options ] Description The dxpuzzle command displays a window that contains a puzzle. The puzzle is a video version of a number puzzle with slidable squares. The goal is to arrange the squares in ascending order in the fewest possible moves. To move a square, click on it. Options -bd color Specifies the color of the window's border (color displays only). The default is specified by means of the Session Manager's Customize Window dialog box. -bg color Specifies the color of the window's background (color displays only). The default is specified by means of the Session Manager's Customize Window dialog box. -d dispname Specifies the display screen on which dxpuzzle displays its window. If the display option is not specified, dxpuzzle uses the display screen specified by your DISPLAY environment variable. The display option has the format host- name:number. Using two colons (::) instead of one (:) indicates that DECnet is to be used for transport. The default is :0. For more information, see -display dispname This option is the same as the -d option. -fg color Specifies the color of the text (color displays only). The default is specified by means of the Session Manager's Cus- tomize Window dialog box. -fn font Specifies the font for all parts of the puzzle other than the numbers. Use the defaults file to change the font of numbers. The default is menu12. -geometry Specifies the width, length, and location of the dxpuzzle window. If the geometry option is not specified, dxpuzzle uses default values. The geometry option has the format [widthxlength][{+-}x{+-}y]. For more information about the screen coordinate system, see Menus The dxpuzzle application contains the following menus: File Customize Help Pop-Up File Menu The File menu contains the following items: New Game Specifies that dxpuzzle scramble the squares and start a new game. Quit Closes the dxpuzzle window. Customize Menu The Customize menu contains the following items: Settings... Displays the Settings dialog box that lets you specify the number of squares displayed in the puzzle. Save Current Settings Saves the number of squares and the puzzle's size and position. These values will be used the next time you run the puzzle. Use System Defaults Restores the use of system default values for number of squares and puzzle size and position. Help Menu The Help menu contains the following items: Overview Displays an overview of the dxpuzzle command About Provides specific information about dxpuzzle. Pop-up Menu The dxpuzzle window has one pop-up menu. To display this pop-up menu, place the pointer at any position within the dxclock window and click MB2 (the middle mouse button, unless you have redefined it). This menu contains the following items: New Game Settings... Quit X Defaults The dxpuzzle application uses the values in the .Xdefaults when you logged in and uses the appropriate resource specification to customize the appearance dxpuzzle window. The format for a resource specification in the .Xdefaults file is: [name*]resource: value name Specifies the application name or the name string that restricts the resource assignment to that application or to a component of an application. If this argument is not specified, the resource assignment is globally available to all X applications. resource Specifies the resource. value Specifies the value that is to be assigned to the resource. Because each toolkit-based application can consist of a combination of widgets (for example, push buttons and a scroll bar), you can form the name string by adding widget class and name identifiers to the string. For further information about adding class and name identi- fiers, see For dxpuzzle, the available class identifiers are: Puzzle WorkArea For dxpuzzle, the available name identifiers are: Puzzle*workarea Changes such as font and colors for the work area only. game_level Initial number of squares in the puzzle. The general resources listed in apply to dxpuzzle. Files ~/.Xdefaults /usr/lib/X11/app-defaults/DXpuzzle See Also X(1X), dxwm(1X), DECwindows Desktop Applications Guide dxpuzzle(1X)