kpat [Qt-options] [KDE-options] [options] [file]


kpat is a collection of fourteen solitaire card games, including Klondike, Spider, and FreeCell.


--solvegame file

Try to find a solution to the given savegame

--solve num

Dealer to solve (debug)

--start num

Game range start (default 0:INT_MAX)

--end numfR

Game range end (default start:start if start given)

--gametype game

Skip the selection screen and load a particular game type. Valid values are: acesup, fortyeight, freecell, golf, grandfather, grandfathersclock, gypsy, klondike, mod3, simplesimon, spider, yukon

--testdir directory

Directory with test cases


Generate random test cases


File to load



Show help about options.


Show Qt specific options.


Show KDE specific options.


Show all options.


Show author information.

-v, --version

Show version information.


Show license information.


End of options.


--display <displayname>

Use the X-server display `displayname'.

--session <sessionId>

Restore the application for the given `sessionId'.


Causes the application to install a private color map on an 8-bit display.

--ncols <count>

Limits the number of colors allocated in the color cube on an 8-bit display, if the application is using the QApplication::ManyColor color specification.


Tells Qt to never grab the mouse or the keyboard.


Running under a debugger can cause an implicit -nograb, use -dograb to override.


Switches to synchronous mode for debugging.

--fn, --font <fontname>

Defines the application font.

--bg, --background <color>

Sets the default background color and an application palette (light and dark shades are calculated).

--fg, --foreground <color>

Sets the default foreground color.

--btn, --button <color>

Sets the default button color.

--name <name>

Sets the application name.

--title <title>

Sets the application title (caption).

--visual TrueColor

Forces the application to use a TrueColor visual on an 8-bit display.

--inputstyle <inputstyle>

Sets XIM (X Input Method) input style. Possible values are onthespot, overthespot, offthespot and root.

--im <XIM server>

Set XIM server.


Disable XIM.


Mirrors the whole layout of widgets.


--caption <caption>

Use `caption' as name in the titlebar.

--icon <icon>

Use `icon' as the application icon.

--config <filename>

Use alternative configuration file.


Disable crash handler, to get core dumps.


Waits for a WM_NET compatible windowmanager.

--style <style>

Sets the application GUI style.

--geometry <geometry>

Sets the client geometry of the main widget.


More detailed user documentation is available from help:/kpat (either enter this URL into konqueror, or run `khelpcenter help:/kpat').