Previous: , Up: External Applications   [Contents][Index]


21.2 Common Applications

There’re some functions and variables for invocation of external applications. They’re defined in sawfish.wm.commands.launcher module.

Customizable: xterm-program

The program launched by the xterm function. Interpreted by shell.

Function: xterm #!optional command
Command: xterm

Start a new terminal specified the option xterm-program.

Optional argument COMMAND is passed to the terminal with -e option, so for most terminals, including xterm, it can contain arguments to be passed.

Customizable: browser-program

The program launched by the browser function. Interpreted by shell.

Function: browser #!optional url
Command: browser

Start a new browser instance. Visit URL if supplied.

Sawfish detects some desktop environments.

Variable: desktop-environment

Running desktop environment, detected by Sawfish. Possible values are "kde", "gnome", "xfce", or "none".