mwmrc(5) - Linux man page
Name
mwmrc - The M*tif Window Manager configurationfile
Description
The LessTif window manager mwm supports both a global configuration file /etc/X11/mwm/system.mwmrc and a per-user configation file ~/.mwmrc.Structure
An exclamation mark ('!') introduces a comment. Comments extend to the end of the line.
Block types
There are three types of blocks:
- Menu bindings
- Button bindings
- Key bindings
Menu bindings
Menu bindings are introduced by the Menu keyword. The generic form of the entries is label mnemonic accelerator function . Both mnemonic and accelerator may be empty. For example:"Foo bar" _R Alt<Key>F5 f.restore
Button bindings
Button bindings are introduced by the Buttons keyword. The entries each are Button name Context Function . For example:
<Btn3Down> icon|frame f.post_wmenu
Key bindings
Key bindings are very similar to button bindings. The entries each are Key name Context Function . For example:Alt<Key>Tab root|icon|window f.next_key
Label
A label is either a plain string, or a bitmap. Bitmaps are indicated as "@" followed by the filename. For example:mailer @fortytwo.bmp
Mnemonic
A mnemonic is an underscore ("_") followed by a single character. For example:_M
Accelerator
An accelerator is a key name.Button name
A button name is Btn followed by the number (1..5) and an action (Up, Down, Click, Click2); for example:Btn2Click
Context
A context is a single string consisting of bar ('|') separated object names (root, icon, menub, minimizeb, maximizeb , window, title, frame, border); for example:icon|title