[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1685.0. "Install time "add" to S.M. Applications" by CDROM::DUPREZ () Tue Nov 07 1989 09:17

    I have a question concerning the Applications menu now available
    in the Session Manager in DECwindows V2.
    
    Is there any way that I could have a verb automatically added to
    the Session Manager "Applications" menu upon installation of a 
    product?  Is it similar to adding a button to FileView?
    
    An answer to this question and/or a pointer to the proper documentation
    (and its location) would be much appreciated.
    
    						Thanks,
    						Roland
T.RTitleUserPersonal
Name
DateLines
1685.1FLUME::dikeTue Nov 07 1989 12:3015
You could do it by adding stuff to the sm app-defaults file.  The apps and
menu are defined with resources:
sm.Mail.command:        dxmail
sm.applications:        Calculator,Calendar,Cardfiler,Clock,DECterm,Mail,Notepad
,Paint,Postscript Previewer,Puzzle,User Executive
sm.Calculator.command:  dxcalc
sm.Clock.command:       dxclock
sm.DECterm.command:     dxterm -ls
sm.Notepad.command:     dxnotepad
sm.Paint.command:       dxpaint
sm.Puzzle.command:      dxpuzzle
sm.Postscript Previewer.command:        dxpsview
sm.User Executive.command:      dxue

				Jeff
1685.2re.1 - caution1SHOT::HOULESteve, NM is the future!Thu Nov 09 1989 10:007
    re.1
    A word of caution (if i'm wrong someone quickly correct me). 
    If you modify the sm-app-defaults file while the session manager is
    running and the interactive user later makes a change - & SAVES it-
    your changes are lost!! Right?
    From my observation when a user does a SAVE the  session manager takes
    its "in memory" defaults and creates a new defaults file.   steve
1685.3sounds right to me - but I don't know!CDROM::DUPREZThu Nov 09 1989 13:1310
    re.2
    
    I'm pretty sure you're right - I've observed that the save creates
    a new defaults file in the user defaults area.
    
    I started a new note (1695) to pursue the supported-ness of the
    suggestion in reply 1.  Thank you both, for the suggestion and for
    the caveat...
    
    						Roland