From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 26-MAR-1992 10:44:24.75 To: ARISIA::EVERHART CC: Subj: Re: VMS Motif & Backgrounds From: RELAY-INFO-VAX@CRVAX.SRI.COM@SMTP@CRDGW2 To: Everhart@Arisia@MRGATE Received: by crdgw1.ge.com (5.57/GE 1.123) id AA09153; Thu, 26 Mar 92 10:07:08 EST Message-Id: <9203261507.AA09153@crdgw1.ge.com> Received: From PRDNET.POLAROID.COM by CRVAX.SRI.COM with TCP; Thu, 26 MAR 92 06:58:43 PST Date: Thu, 26 Mar 1992 09:58 EST From: "Cameron Caffee : W300F-2 : 222-6278" Subject: Re: VMS Motif & Backgrounds To: info-vax@kl.sri.COM X-Vms-Cc: CAFFEEC I've had some success with substituting my own logo for the Digital one on my workstation and have recently added a nice GIF file background to the screen in addition to the personal logo. I'd like to contribute what I have learned : (1) personal logo The preferred approach to adding your logo is to implement the DECwindows application customization procedure called : sys$manager:DECW$PRIVATE_APPS_SETUP.COM There's a template file of the same name with the extension ".TEMPLATE" located in sys$manager. In this file you will find a well-commented set of symbols which control a number of customizations you may want to implement : custom logo screen location of bookreader files location of other app's files etc... The custom login logo is handled by the global symbol DECW$LOGINLOGO. While defining DECW$LOGIN_BACKGROUND yourself works - using the DEC supplied template is recommended. (2) GIF background I implemented the GIF background on the LOGIN screen by adding an execution of the XV utility prior to the running of my personal logo program in the DCL procedure defined in DECW$LOGIN_BACKGROUND as follows : XV -root -max -quit {GIF file spec} ! full screen picture (or) XV -root -rm 3 -quit {GIF file spec} ! multiple images to fill ! screen space This type of XV run places the image in the root window and terminates allowing any further processing in the DCL procedure to continue. In my case I then run my logo program that puts a box on the screen above the login box with the nodename, decnet address, etc. For the record: VMS 5.4-3 DECwindows MOTIF 1.0A In my experimenting, I find that I must confine my GIF image to ones with relatively few colors in order to avoid Color Map allocation errors that appear in my user session at login time. I agree with the prior messages that suggest there must be a quota issue involved which can cause failure of the logo procedure when the image is too complex. I'd appreciate any ideas folks have to address the image complexity issue. If there are any DECwindows/MOTIF folks out there who understand color maps and can suggest what might be happening - I'd appreciate the information. Regards, Cameron +-------------------------------------------------------------------------+ | Cameron Caffee, Postmaster Polaroid Corporation | +---------------------------------------------------------+---------------+ | Internet : caffeec@mr.polaroid.com | Snail Mail : | | MCI Mail : EMS:Internet +---------------+ | MBX:caffeec@mr.polaroid.com | 300 Fifth Ave | | FAX : (617) 684-3057 | Waltham, MA | | Voice : (617) 684-6278 | 02254 | +---------------------------------------------------------+-------------- +