HP OpenVMS Systems Documentation |
Common Desktop Environment: Advanced User's and System Administrator's Guide 3 Adding and Administering ApplicationsContents of Chapter: Application Manager is the desktop container for applications available to the user. Structure of Application ManagerThe top level of Application Manager generally contains directories. Each of these directories, and its contents, is called an application group.Figure 3-1 Application groups in Application Manager
The application groups and their contents are gathered from multiple locations locally and throughout the network. Directory Location of Application ManagerIn the file system, Application Manager is the directory /var/dt/appconfig/appmanager/login-hostname-display. The directory is created dynamically each time the user logs in.For example, if user ronv logs in from display wxyz:0, the Application Manager directory /var/dt/appconfig/appmanager/ronv-wxyz-0 is created. How Application Manager Finds and Gathers ApplicationsApplication Manager is built by gathering local and remote application groups. The application groups are gathered from directories located along the application search path.The default application search path consists of these locations:
/var/dt/appconfig/appmanager/login-hostname-display. The gathering operation is done by the desktop utility dtappgather, which is automatically run by Login Manager after the user has successfully logged in. For example, the desktop provides the built-in application group:
At login time, a symbolic link is created to:
The application search path can include remote directories. This provides a way to gather application groups from systems located throughout the network. For more information, see "Adding an Application Server to the Application Search Path".Precedence Rules in Gathering ApplicationsWhere duplicates exist along the search path, personal application groups have precedence over system-wide groups, and system-wide groups have precedence over built-in groups. For example, if both /usr/dt/appconfig/appmanager/C/Desktop_Tools and /etc/dt/appconfig/appmanager/C/Desktop_Tools exist, the application group under /etc will be the one used.Application Groups Provided with the Default DesktopThe uncustomized desktop provides four application groups.
Example of How Application Groups Are GatheredFigure 3-2 shows an Application Manager window containing a variety of application groups. Table 3-1 shows the directories from which the application groups were gathered.Figure 3-2 A typical Application Manager window
If the Information or System_Admin application groups have been customized, they will be gathered from /etc/dt/appconfig/appmanager/C instead. The CAD_App group is gathered because a system named ApServA has been added to the application search path (see "Adding an Application Server to the Application Search Path"). MySpreadSheet is a personal application group, available only to user anna. Adding Applications to Application ManagerWhen an application has been added to Application Manager, there is an icon in an application group that starts that application.Many applications provide an application group. The application group is a directory at the top level of Application Manager that contains the application icon and other files related to the application. Some applications may not have their own application group. Instead, the icon to start the application is located in a general application group. For example, you could create an empty application group named "Games" that you use as a container for all the games you install on the system. Ways to Add Applications to Application ManagerThere are two ways to add an application to Application Manager:
Registering the ApplicationApplication registration provides full application integration.
Adding the Application without Using a Registration Package.This is the preferred way to add application when you want Application Manager to contain only an icon to start the application.An application added without using a registration package:
To Add a Desktop-Smart Application to Application ManagerA desktop-smart application is an application that is automatically registered into Application Manager when the application is installed. The application's filesets include the registration package required by the desktop.
To Register an Existing or Non-Desktop Smart ApplicationThis is the preferred way to fully integrate an application into the desktop.The desktop provides a tool, dtappintegrate, that creates links between the registration package files and the directories on the desktop search path. Desktop registration is explained in Chapter 4, "Registering an Application." To Add an Application Icon to an Existing Application GroupThis procedure explains how to add an application icon to an existing application group.For example, the desktop provides an application group named System_Admin that has been reserved for various applications and scripts related to administering systems. If you have a script that users frequently run, you might want users to be able to run the script by double-clicking an icon in the System_Admin application group.
Creating and Administering General Application GroupsA general application is an application group (directory) that is not associated with one particular application product. For example, the built-in Desktop_Tools application group is a general group containing icons for a large number of applications that a related, but not part of a single product.You can create additional general application groups. For example, you might want to create a group called Games to group together the various games available on the system. A general application group can be system-wide or personal in scope. To Create a System-Wide General Application Group
To Create a Personal General Application Group
To Customize a Built-In Application Group
Modifying the Search Path Used To Locate ApplicationsThe major reason for modifying the application search path is to add an application server. When you add an application server to the search path, Application Manager gathers all the server's system-wide application groups.For more information on the application search path, see "Application Search Path". The Default Search PathThe default application search path includes these directories:
Adding an Application Server to the Application Search PathIn addition to modifying the application search path, it may be necessary to perform additional configuration tasks to enable communication with the application server. See "Administering Application Services".To Set a System-Wide Application Search Path
To Set a Personal Application Search Path
General Application Manager AdministrationGeneral Application Manager administration tasks include:
To Remove an ApplicationIf an application has been registered using the dtappintegrate tool, you can also use dtappintegrate to reverse the process. When an application is unregistered, its application group is removed from Application Manager, and its actions, data types, icons, and help are no longer available.
To Update Application Manager During a SessionYou must rebuild Application Manager if you add applications and want those changes to take effect immediately.Open the Desktop_Tools application group and double-click Reload Applications. Reload Applications is useful for updating Application Manager when applications are added to an application server. However, Reload Applications does not detect applications that have been removed from an application server, or applications that have been moved from one location to another. These changes take effect when the user logs out and back in. Changing the Text Editor and Terminal EmulatorBoth the text editor and terminal emulator applications can be started by choosing a control in the Front Panel, or by double-clicking an icon in Application Manager.These applications are also started by other desktop activities.
To Change the Default Text Editor or Terminal Emulator
|