---
name: "ksokoban"
section: "6"
platform: "linux"
package: "ksokoban"
version: "4:3.5.10-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/ksokoban"
---

# ksokoban(6)

The Japanese warehouse keeper game

## NAME

ksokoban - The Japanese warehouse keeper game

## SYNOPSIS

**ksokoban** *\[Qt-options\] \[KDE-options\] \[file\]*

## DESCRIPTION

The first sokoban game was created in 1982 by Hiroyuki Imabayashi at the Japanese company Thinking Rabbit, Inc. \`\`Sokoban'' is Japanese for \`\`warehouse keeper''. The idea is that you are a warehouse keeper trying to push crates to their proper locations in a warehouse.

The problem is that you cannot pull the crates or step over them. If you are not careful, some of the crates can get stuck in wrong places and/or block your way.

It can be rather difficult just to solve a level. But if you want to make it even harder, you can try to minimise the number of moves and/or pushes you use to solve the level.

To make the game more fun for small kids (below 10 years or so), some collections with easier levels are also included in **ksokoban**. These are marked *(easy)* in the level collection menu. Of course, these levels can be fun for adults too, for example if you don't want to expose yourself to too much mental strain.

## GENERIC OPTIONS

- **--help**

  Show help about options.

- **--help-qt**

  Show Qt specific options.

- **--help-kde**

  Show KDE specific options.

- **--help-all**

  Show all options.

- **--author**

  Show author information.

- **-v, --version**

  Show version information.

- **--license**

  Show license information.

- **--**

  End of options.

## QT OPTIONS

- **--display *\<displayname\>***

  Use the X-server display \`displayname'.

- **--session *\<sessionId\>***

  Restore the application for the given \`sessionId'.

- **--cmap**

  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.

- **--nograb**

  Tells Qt to never grab the mouse or the keyboard.

- **--dograb**

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

- **--sync**

  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.

- **--noxim**

  Disable XIM.

## KDE OPTIONS

- **--caption *\<caption\>***

  Use \`caption' as name in the titlebar.

- **--icon *\<icon\>***

  Use \`icon' as the application icon.

- **--miniicon *\<icon\>***

  Use \`icon' as the icon in the titlebar.

- **--dcopserver *\<server\>***

  Use the DCOP Server specified by \`server'.

- **--nocrashhandler**

  Disable crash handler, to get core dumps.

- **--waitforwm**

  Waits for a WM\_NET compatible windowmanager.

- **--style *\<style\>***

  Sets the application GUI style.

- **--geometry *\<geometry\>***

  Sets the client geometry of the main widget.

## PROGRAM ARGUMENTS

- *file*

  Level collection file to load

## SEE ALSO

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