From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,5785b3beaae4fd3d X-Google-Attributes: gidf7344,public X-Google-Thread: 103734,5785b3beaae4fd3d X-Google-Attributes: gid103734,public X-Google-Thread: 1164f8,5785b3beaae4fd3d X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-11-08 04:43:53 PST Path: nntp.gmd.de!xlink.net!howland.reston.ans.net!EU.net!uunet!bgs!news From: Dick Schoeller Newsgroups: comp.os.vms,comp.sys.dec,comp.windows.x Subject: Re: DECwindows & X Background Root Menus ? Date: 8 Nov 1994 12:27:15 GMT Organization: BGS Systems Message-ID: <39nqr3$73i@gatekeeper.bgs.com> References: <39lf91$17r@athos.cc.bellcore.com> NNTP-Posting-Host: aix5.bgs.com Xref: nntp.gmd.de comp.os.vms:58640 comp.sys.dec:19518 comp.windows.x:42670 Mwm points to the .mwmrc file explicitly with the resource configFile in the app-defaults file. On unix, the app-defaults file for mwm is Mwm in the app-defaults directory or in your home directory. On VMS that file is DECW$MWM.DAT and it is in DECW$SYSTEM_DEFAULTS or DECW$USER_DEFAULTS. By default, DECW$USER_DEFAULTS points to SYS$LOGIN (ie: your home directory). As you are probably aware, there need not be a user specific app-defaults file. The easy approach is to copy DECW$MWM.DAT and DECW$MWMRC.DAT (I think that is the name they use) from DECW$SYSTEM_DEFAULTS to your home directory. Edit the app-defaults file and only keep the resources you want to have different from the default (the rest will fall back to the system resource file). For the mwmrc there is NOT a fallback behavior. You will have to keep all of the definitions that you want to use. In VMS DECwindows, disabling the session manager is a little bit trickier. There is a .com file that gets executed. I think it is in SYS$SYSTEM (look for decw$*.com). It would need to be modified by someone with privs to look for some file in your sys$login directory and call that instead of the default stuff. It does not do this by default. Dick Schoeller > Can someone tell me how to customize the root (background) > menus on a VAX/VMS/DECwindows platform? I use .mwmrc on UNIX-type > platforms. Our sys.admin said to look for DECWINDOWS$DEFAULTS.DAT > under SYS$MANAGER. But I cannot find any DECW*.dat files anywhere. > There _IS_ a root background menu on the VAX that responds to the > left & right mouse buttons. We also have the session manager running. > Could that be creating the menus? > > On UNIX-type platforms (Alpha/OSF1) I also used a .xsession file > to disable the session manager and customize what starts after login. > Is there a .xsession equivalent for DECwindows? > > Thanks, > Wayne