The K Desktop Environment

Next Previous Table of Contents

2. Using kwm

2.1 Command line options

kwm provides the following command line options:

-version

Shows the version number including the patchlevel; does not start kwm

-nosession

Starts kwm without restoring the previous session

2.2 Shortcuts

Alt-Esc or Control-Esc

"Current Session"-manager with logout-button

Alt-Tab and Alt-Shift-Tab

Traverse the windows of the current desktop

Ctrl-Tab and Ctrl-Shift-Tab

Traverse the virtual desktops (can be switched off in kwmrc)

Alt-F2

Open mini command-line window

Alt-F3

Window operation menu

Alt-F4

Close window

Ctrl-F[1..8]

Switch to virtual desktop

Ctrl-Alt-Esc

Destroy window mode (cursor becomes a pirate)

2.3 Mouse Control

Click onto the border or the titlebar

Double-click on title bar toggles maximize

Drag of the titlebar

Drag of corners or edges

The entire window

Title bar buttons (configurable)

2.4 Mini Command-line Window

Press Alt-F2 to display a small command-line window. Enter a Unix shell command (the SHELL environment variable is used to determine which shell executes the command), or one of the following:

You can use the up-arrow key to recall previously entered commands. Also, you can use the tab key to complete partially entered filenames, as in many shells.

2.5 Commands

You can send commands to kwm with either:

KWM::sendKWMCommand(QString) (in KDE applications)
or
kwmcom command (from the command line)

This is especially of interest for kglobalshortcut developers.

At present kwm understands the following commands:

Next Previous Table of Contents