Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Modifying the Search Path Used To Locate Applications

The 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 Path

The default application search path includes the directories shown in Table 4–3.

Table 4–3 Default Application Search Path Directories

Scope 

Search Path Directory 

Personal 

HomeDirectory/.dt/appmanager

System-wide 

/etc/dt/appconfig/appmanager/language

Built-in 

/usr/dt/appconfig/appmanager/language

Adding an Application Server to the Application Search Path

In addition to modifying the application search path, you may need to perform additional configuration tasks to enable communication with the application server. See Administering Application Services.

To Set a System-Wide Application Search Path

  1. Log in as root.

  2. If the file /etc/dt/config/Xsession.d/0010.dtpaths doesn't exist, create it by copying /usr/dt/config/Xsession.d/0010.dtpaths.

  3. Open /etc/dt/Xsession.d/0010.paths for editing. Add or edit a line that sets and exports the DTSPSYSAPPHOSTS variable:

    	export DTSPSYSAPPHOSTS=hostname:[,hostname]

    For example, the following line adds the system ApServA to the application search path:

    	export DTSPSYSAPPHOSTS=ApServA:
  4. Inform all users on the system that they must log out and then log back in for the change to take effect.

To Set a Personal Application Search Path

  1. Open HomeDirectory/.dtprofile for editing.

  2. Add or edit a line that sets and exports the DTSPUSERAPPHOSTS variable:

    	export DTSPUSERAPPHOSTS=hostname:[,hostname]

    For example, the following line adds the systems ApServB and ApServC to the application search path:

    	export DTSPUSERAPPHOSTS=ApServB:,ApServC:
  3. Log out and then log back in.