[comp.windows.x.motif] Error message from mwm

stadt@cs.utwente.nl (Richard van de Stadt) (03/07/91)

When I start up mwm (motif 1.0/X11R3) I get the following message

mwm: Cannot open configuration file

Does anybody know what this means? I do know that I don't get any
pop-up menus when I press any of the 3 mouse buttons on the 
root window. The message appears both with and without the existence 
of .mwmrc in my home directory.
-- 
R.R. van de Stadt (Richard)
Email: stadt@cs.utwente.nl
-- 
R.R. van de Stadt (Richard)
Email: stadt@cs.utwente.nl

lcp@ibism.UUCP (Larry Poleshuck) (03/08/91)

In article <1991Mar7.095020@cs.utwente.nl>, stadt@cs.utwente.nl (Richard van de Stadt) writes:
|> 
|> When I start up mwm (motif 1.0/X11R3) I get the following message
|> 
|> mwm: Cannot open configuration file
|> 
|> Does anybody know what this means? I do know that I don't get any
|> pop-up menus when I press any of the 3 mouse buttons on the 
|> root window. The message appears both with and without the existence 
|> of .mwmrc in my home directory.
|> -- 
 
The config file is what you use to specify the root-menu, special key bindings, etc.  In you .Xdefaults file you probably have mwm*configFile pointing to
some file that doesn't exist.  Or maybe you don't have it defined at all.

I have the following in my .Xdefaults:

mwm*configFile:		$HOME/.mwmrc

and this is an excerpt of my $HOME/.mwmrc 

Menu DefaultWindowMenu
{
}

Menu RootMenu
{
"Root Menu"		f.title
no-label		f.separator
Applications		f.menu Applications
Utilities		f.menu Utilities
"Xview Appls"		f.menu XviewApps
Refresh			f.refresh
"Shuffle Up"		f.circle_up
"Shuffle Down"		f.circle_down
no-label		f.separator
"Restart wmgr"		f.restart
}

..
.. other menus etc.
..

Buttons DefaultButtonBindings
{
<Btn1Down>              root            f.menu  RootMenu
<Btn1Down>              frame           f.raise
<Btn1Click>		icon		f.normalize
<Btn3Click>		icon		f.focus_key
<Btn2Down>              root		f.circle_up
<Btn3Down>              frame           f.lower
<Btn2Down>              icon            f.move
Meta<Btn1Down>          icon|window     f.move
Meta<Btn3Down>          window          f.raise
Meta<Btn3Down>          root            f.circle_up
}

Keys DefaultKeyBindings
{
<Key>R4				root|icon|window	f.circle_up
<Key>F3				window			f.raise
<Key>F4				window			f.lower
<Key>R5				root|icon|window	f.circle_down
<Key>F9				root|window 		f.exec 
<Key>R6				window			f.exec "xsnap"
}

-- 

Larry Poleshuck
Citibank
111 Wall Street
New York, NY  10043

Phone:  212-657-7709
Fax:    212-825-8607
E-Mail: uunet!ibism!lcp