|
|
The following resources control miscellaneous aspects of window management and behavior:
Window control resources
Name | Class | Value type | Default |
---|---|---|---|
Bindings | |||
buttonBindings | ButtonBindings | string | DefaultButtonBindings |
keyBindings | KeyBindings | string | DefaultKeyBindings |
Screen management | |||
multiScreen | MultiScreen | true/false | false |
screens | Screens | string | varies |
Client management | |||
quitTimeout | QuitTimeout | milliseconds | 1000 + |
saveUnder | SaveUnder | true/false | false |
Mouse timing | |||
doubleClickTime | DoubleClickTime | milliseconds | 500 |
Resource directories | |||
bitmapDirectory | BitmapDirectory | directory | /usr/include/X11/bitmaps |
configFile | ConfigFile | file | .mwmrc ++ |
Root menu | |||
rootMenu | RootMenu | string | RootMenu |
Window menus | |||
wMenuButtonClick | WMenuButtonClick | true/false | true |
wMenuButtonClick2 | WMenuButtonClick2 | true/false | true |
windowMenu | WindowMenu | string | DefaultWindowMenu |
These resources are described in more detail below:
bitmapDirectory (Class: BitmapDirectory)
This resource specifies a directory that the window manager
searches to locate any bitmaps needed by other
window manager resources. The default setting of this
resource is /usr/include/X11/bitmaps.
(This is a specific appearance and behavior resource.)
buttonBindings (Class: ButtonBindings)
This resource specifies a set of button bindings (a
table that assigns an action to a button-press) that
augments the built-in button bindings of the window manager.
The value should be the name of a button binding
from the window manager configuration file.
The default value of the buttonBindings resource
is ``DefaultButtonBindings,'' as specified in
the /usr/lib/X11/system.pmwmrc or
/usr/lib/X11/system.mwmrc files.
See
``Configuring window manager button bindings''
for more information.
(This is a specific appearance and behavior resource.)
configFile (Class: ConfigFile)
This resource specifies the pathname of the window manager
configuration file, which is a file with
menu definitions, and button and
key bindings. If the pathname specified by the
configFile resource begins with ~/ (the
tilde character followed by slash), the window manager
considers that pathname to be absolute;
otherwise, the path is assumed to be relative to the
current directory. Here is how the window manager uses
this resource:
Typically, the /usr/lib/X11/system.pmwmrc or system.mwmrc file contains the default configuration for the window manager. You can copy this file to your home directory under the name .pmwmrc or .mwmrc, and modify it to suit your needs. See ``Customizing the window manager'' for more information.
doubleClickTime (Class: DoubleClickTime)
This resource specifies the maximum time, in
milliseconds, that can elapse between two clicks
that are to be interpreted by the window manager as a
double-click. The default value is
500 milliseconds.
(This is a specific appearance and behavior resource.)
keyBindings (Class: KeyBindings)
This resource specifies a set of key bindings (a table
that assigns an action to one or more key press events)
that replaces the built-in key bindings of the window manager.
The value should be the name of a key binding from
the the window manager configuration file. The default
value of the keyBindings resource is
``DefaultKeyBindings,'' as specified in the
/usr/lib/X11/system.pmwmrc or
/usr/lib/X11/system.mwmrc file.
See
``Configuring window manager key bindings''
for more information.
(This is a specific appearance and behavior resource.)
multiScreen (Class: MultiScreen)
If this resource is ``true,'' the window manager controls
windows displayed in all screens of a display.
The default value is ``false,'' which means
the window manager manages only one screen by default.
Note that this resource should not be used with the
Xsco server, which does not support
displays with multiple screens.
(This is a specific appearance and behavior resource.)
quitTimeout (Class: QuitTimeout)
This is the amount of time, in milliseconds, that
the window manager waits for a client to respond to
a WM_SAVE_YOURSELF message. The
client is supposed to reply by updating the
WM_COMMAND property. The
default value is 1000 milliseconds for mwm mode
or 5000 milliseconds for pmwm mode.
This resource applies only to those clients that have
a WM_SAVE_YOURSELF atom but do not have
a WM_DELETE_WINDOW atom in the
WM_PROTOCOLS property of their top-level
window.
(This is a specific appearance and behavior resource.)
rootMenu (Class: RootMenu)
This resource specifies the name of the menu that is
displayed when a mouse button is clicked in the
Root window. The value of the resource must be
the name of a menu defined in the window manager
configuration file, the file specified by the resource
configFile. The default for
this resource is ``RootMenu,'' as specified in
the system-wide window manager configuration file.
See
``Customizing window manager menus''
for more information.
saveUnder (Class: SaveUnder)
This resource indicates whether ``save unders''
are used for window manager components. For this to have
any effect, save unders must be implemented by the X server.
If save unders are implemented, as they are in the
Xsco server, the server saves
the contents of windows obscured by windows that have
the save under attribute set. If the saveUnder
resource has a value of ``true,'' the window manager
sets the save under attribute on the window manager frame
for any client that has it set. If the value is
``false,'' save unders are not used on any
window manager frames. The default value is ``false.''
(This is a specific appearance and behavior resource.)
screens (Class: Screens)
This resource specifies the resource names to use for the screens
managed by the window manager.
If the window manager is managing a single
screen, only the first name in the list is used.
If the window manager
is managing multiple screens (which is not supported by
the SCO OpenServer system),
the names are assigned to the
screens in order, starting with screen 0.
Screen 0 is assigned the first name, screen 1 the second
name, and so forth. The default screen names are 0, 1, and
so on. (This is a specific appearance and behavior resource.)
wMenuButtonClick (Class: WMenuButtonClick)
If this resource is ``true,'' the window manager displays
the Window menu in response to a button click on the
Window menu button and leaves it displayed until another
button click elsewhere on the screen. If this resource
is ``false,'' the Window menu remains on
the screen only as long as you press and hold the mouse button.
This resource
is ``true'' by default.
(This is a specific appearance and behavior resource.)
wMenuButtonClick2 (Class: WMenuButtonClick2)
If this resource is ``true,'' and you
double-click on the Window menu button, the window manager
invokes the f.kill function to remove
the client window.
If this resource is ``false,'' double-clicking
on the Window menu button only posts that menu.
This resource is ``true'' by default.
(This is a specific appearance and behavior resource.)
windowMenu (Class: WindowMenu)
This resource specifies the name of the menu that is
displayed when the Window menu button is pressed.
The value of the resource must be the name of a menu
defined in the window manager configuration file,
the file specified by the resource
configFile. The default for
this resource is ``DefaultWindowMenu,'' as specified in
the system-wide window manager configuration file.
See
``Customizing window manager menus''
for more information.
(This is a client-specific resource.)