wmii

Langue: en

Version: 313902 (ubuntu - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

wmii - window manager improved 2

DESCRIPTION

Overview

wmii(1) is a script that launches the wmii window manager and its various utilities and takes care that they are configured for use.

Actions

An action is a script written for the rc shell, but it can actually be any executable file. It is executed usually by selecting it from the actions menu. You can customize an action by copying it from the global action directory /etc/X11/wmii to $HOME/.wmii and then editing the copy to fit your needs. Of course you can also create your own actions there; make sure that they are executable.

Here is a list of the default actions:

extern <cmd>
clean the environment and execute the given command
kmode <mode>
activate shortcuts of the given mode
quit
quit wmii
status
periodically print date and load average to the bar
welcome
display a welcome message that contains the wmii tutorial
wmiirc
configure wmii

Configuration

If you feel the need to change the default configuration, then customize (as described above) the wmiirc action. This action is executed at the end of the wmii(1) script and does all the work of setting up the window manager, the key bindings, the bar labels, etc.

FILES

/tmp/.ixp-$USER
Directory where the socket files are stored.
/etc/X11/wmii
Global action directory.
$HOME/.wmii
User-specific action directory. Actions are first searched here.

ENVIRONMENT

HOME, USER
See the section FILES above.

The following variables are set and exported within wmii(1) and thus can be used in actions.

OLD_PATH
PATH as it was before wmii(1) added the local and global action directory and the location where the 9base tools reside. The extern action resets PATH and removes OLD_PATH before executing a command.
WMII_CONFDIR
Global action directory.
WMII_IDENT
Unique identifier for the wmii(1) session. Part of the socket file names.
WMIIR_SOCKET
Socket file of wmiifs(1). Used by wmiir(1).

SEE ALSO

wmiibar(1), wmiifs(1), wmiikeys(1), wmiimenu(1), wmiir(1), wmiiwm(1)