Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
Common Desktop Environment: Advanced User's and System Administrator's Guide > Chapter 7 Desktop Search Paths

Application Search Path

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

The application search path is the primary search path used by the desktop to locate applications on the local system and on application servers throughout the network.

When locations are added to the application search path, the other search paths (database, icon, and help) are automatically updated to reflect the corresponding locations for that data; thus, the application search path provides relatively simple administration for applications and their desktop configuration files. See “How the Application Search Path Affects the Database, Icon, and Help Search Paths”.

Default Application Search Path

The default application search path includes personal, system-wide, and built- in locations. The default language is C.

Personal location

HomeDirectory/.dt/appmanager

System-wide location

/etc/dt/appconfig/appmanager/language

Built-in location

/usr/dt/appconfig/appmanager/language

Application Search Path Environment Variables

The application search path is assembled from the built-in locations and the following input variables:

DTSPSYSAPPHOSTS

System-wide application search path input variable

DTSPUSERAPPHOSTS

Personal application search path input variable

The assembled search path is specified by the output variable DTAPPSEARCHPATH.

Syntax for the Application Search Path Input Variables

The syntax for the variables DTSPSYSAPPHOSTS and DTSPUSERAPPHOSTS is:

VARIABLE=location [,location...]

where location can have the syntax:

/path

Specifies a directory on the local (session server) system. Use this syntax to add a local directory.

hostname:

Specifies the system-wide directory /etc/dt/appconfig/appmanager/language on system hostname. Use this syntax to add an application server.

hostname:/path

Specifies a directory on the remote system hostname.

localhost:

The local system-wide location. This keyword is used to alter the precedence of the local system-wide location. See “Changing the Precedence of the System-Wide Local Location”.

How the Value of the Application Search Path Is Assembled

The value of the application search path ( DTAPPSEARCHPATH) is created by assembling the following locations, listed in order of precedence:

  • Locations specified using the DTSPUSERAPPHOSTS variable

  • The default personal location: HomeDirectory/.dt/appmanager

  • The default location: /etc/dt/appconfig/appmanager/language

  • Locations specified using the DTSPSYSAPPHOSTS variable

  • /usr/dt/appconfig/appmanager/language

The syntax:

hostname:

is expanded to specify the directory /etc/dt/appconfig/appmanager on system hostname.

Changing the Precedence of the System-Wide Local Location

By default, the local system-wide location (/etc/dt/appconfig/appmanager/language) has precedence over remote locations. Thus, local application groups have precedence over remote groups with the same name. For example, if both the local and remote systems have Printer application groups (/etc/dt/appconfig/appmanager/language/Printers), the local group is used.

The application search path input variables provide syntax for specifying the precedence of the local system-wide application groups:

localhost:

For example, suppose your system must access application servers SysA, SysB, and SysC, and you want the system-wide application groups on SysB to have precedence over any local groups with the same name.

The following value for DTSPSYSAPPHOSTS creates this behavior:

DTSPSYSAPPHOSTS=SysB:,localhost:,SysA:,SysC:

How the Application Search Path Affects the Database, Icon, and Help Search Paths

Additions to the application search path automatically add corresponding locations to the database, icon, and help search paths. This provides the ability to add an application server to a search path by setting only the application search path input variable.

For example, if you set DTSPSYSAPPHOSTS as follows:

DTSPSYSAPPHOSTS=servera:

then the following search paths are affected:

Search Path

Directory Added to Search Path

Applications

servera:/etc/dt/appconfig/appmanager/language

Database

servera:/etc/dt/appconfig/types/language

Icon

servera:/etc/dt/appconfig/icons/language

Help

servera:/etc/dt/appconfig/help/language

Similarly, if you set DTSPSYSAPPHOSTS as follows:

DTSPSYSAPPHOSTS=/projects1/apps

then the following search paths are affected:

Search Path

Directory Added to Search Path

Applications

/projects1/apps/appmanager/language

Database

/projects1/apps/types/language

Icon

/projects1/apps/icons/language

Help

/projects1/apps/help/language

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© Hewlett-Packard Development Company, L.P.