The K Desktop Environment

Next Previous Table of Contents

3. Configuration

kwm can be configured using the KDE Control Center (application starter > KDE Control Center). Open the Windows tree to work with the various configuration options. To configure virtual desktops, open the Applications tree and choose Panel.

For those who prefer to edit a configuration file, this section explains the options in the kwmrc file, located in ~/.kde/share/config.

3.1 kwmrc

The kwmrc configuration file is divided into the following sections:

[Buttons]

This section controls placement of window control buttons in the titlebar. It contains lines of the form

ButtonX=button-name

where X is a letter A-F, and button-name is one of Menu, Sticky, Iconify, Maximize, Close, Off. Buttons A, B, and C appear on the left-hand side of the window title, and D, E, and F appear on the right-hand side.

[General]

This section defines a number of miscellaneous configuration items:

[Session]

[Desktop]

This section defines the number of virtual desktops, their names, and positions. It contains lines like the following:

Next Previous Table of Contents