kajongg [Qt-options] [KDE-options] [options]


Kajongg is the classical Mah Jongg for four players. If you are looking for the Mah Jongg solitaire please use the application kmahjongg.



All robots play with visible concealed tiles.

--autoplay <ruleset>

Play like a robot using ruleset.

--ai <AI>

Use AI variant for human player in demo mode.

--csv <CSV>

Write statistics to CSV.


Show all available rulesets.

--game <seed/hand/discard>

For testing purposes: Initializes the random generator [0].


Show no graphical user interface. Intended only for testing.

--socket <SOCKET>

Use a dedicated server listening on SOCKET. Intended only for testing.

--debug <OPTIONS>

Set debug options. Pass a comma separated list of options. Options are: random, chat, sql, explain, deferredBlock, animationSpeed, scores, mahJongg, modelTest, traffic, robbingKong, dangerousGame, sound, robotAI, handCache, originalCall, animation, focusable. Options animation, focusable take a string argument like animation=s3s4



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


load the testability framework.

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

--stylesheet <file.qss>

applies the Qt stylesheet to the application widgets.

--graphicssystem <system>

use a different graphics system instead of the default one, options are raster and opengl (experimental).

--qmljsdebugger <port>

QML JS debugger information. Application must be built with -DQT_DECLARATIVE_DEBUG for the debugger to be enabled.


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

RELATED TO kajongg…

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