1MWMRC(5x)                       LessTif Manuals                      MWMRC(5x)
2
3
4

NAME

6       mwmrc - The M*tif Window Manager configuration file
7
8

DESCRIPTION

10       The  LessTif  window  manager  mwm supports both a global configuration
11       file  /etc/X11/mwm/system.mwmrc  and  a   per-user   configation   file
12       ~/.mwmrc.
13
14

STRUCTURE

16       Each  mwm configuration file consist of blocks of bindings.  Each block
17       consists of a block type keyword, a name and a set of  entries  between
18       curly braces (`{' and '}').
19
20       An  exclamation mark (`!') introduces a comment. Comments extend to the
21       end of the line.
22
23

Block types

25       There are three types of blocks:
26
27              Menu bindings
28
29              Button bindings
30
31              Key bindings
32
33
35       Menu bindings are introduced by the Menu keyword.  The generic form  of
36       the entries is label mnemonic accelerator function .  Both mnemonic and
37       accelerator may be empty.  For example:
38              "Foo bar" _R   Alt<Key>F5     f.restore
39
40
41

Button bindings

43       Button bindings are introduced by the  Buttons  keyword.   The  entries
44       each are Button name Context Function .  For example:
45              <Btn3Down>     icon|frame     f.post_wmenu
46
47

Key bindings

49       Key bindings are very similar to button bindings.  The entries each are
50       Key name Context Function .  For example:
51              Alt<Key>Tab    root|icon|window    f.next_key
52
53

Label

55       A label is either a plain string, or a bitmap. Bitmaps are indicated as
56       "@" followed by the filename.  For example:
57              mailer @fortytwo.bmp
58
59

Mnemonic

61       A  mnemonic is an underscore ("_") followed by a single character.  For
62       example:
63              _M
64
65

Accelerator

67       An accelerator is a key name.
68
69

Button name

71       A button name is Btn followed by the number (1..5) and an  action  (Up,
72       Down, Click, Click2); for example:
73              Btn2Click
74
75

Context

77       A  context  is a single string consisting of bar (`|') separated object
78       names (root, icon, menub, minimizeb, maximizeb , window, title,  frame,
79       border); for example:
80              icon|title
81
82

Function

84       A  function  is a string starting with "f.". The functions are: f.beep,
85       f.circle_down, f.circle_up, f.desk, f.exec, f.focus_color, f.focus_key,
86       f.goto_page,  f.kill,  f.lower, f.maximize, f.menu, f.minimize, f.move,
87       f.next_cmap,  f.next_key,  f.nop,  f.normalize,  f.normalize_and_raise,
88       f.pack_icons,   f.pass_keys,   f.post_wmenu,  f.prev_cmap,  f.prev_key,
89       f.quit_mwm, f.raise, f.raise_lower, f.refresh, f.refresh_win, f.resize,
90       f.restart, f.restore, f.restore_and_raise, f.screen, f.send_msg, f.sep‐
91       arator, f.set_behavior, f.title, f.toggle_page, f.window_list.
92
93

EXAMPLE

95       For a complete example, check out /etc/X11/mwm/system.mwmrc or look  at
96       the system.mwmrc distributed with the LessTif sources.
97
98

AUTHORS

100       mwm  was  written  by  the LessTif project, http://www.lesstif.org/ and
101       others. This manpage was written by Ray Dassen <jdassen@debian.org>.
102

SEE ALSO

104       mwm(1x)
105
106
107
108LessTif Project                    JULY 2001                         MWMRC(5x)
Impressum