SunSolve Internal

 

  Simple Search | Advanced Search | Product Search | Tips | Investigation Wizard

 Search for in

Printer Friendly Page ] [ E-mail this Document to Someone ]
Was this document useful? Yes or No ]

Jump to
Infodoc ID   Synopsis   Date
14637   Action/Data Types Search Paths and Environment Variables in CDE   24 May 1997

Description Top
CDE uses search paths to locate applications and associated desktop files.
There are four search paths: Application, Database, Icons, and Help data.
Of interest to Actions and Data Types is the Database search path.   The
Database search path is used to specify locations for action and data type
definition files (as well as Front Panel files).
 
To obtain the search paths' value for the current user, execute this command:
 
        dtsearchpath -v
 
dtsearchpath uses a combination of environment variables and built-in values
to create search paths.
 
The environment variables dtsearchpath reads are called input variables.
For the Database search path, the input variables are:
 
DTSPSYSDATABASEHOSTS - System Wide Input Variable, set in
                       /etc/dt/config/Xsession.d/0010.dtpaths.
                       For example, if this file doesn't exist, copy it from
                       /usr/dt/config/Xsession.d/0010.dtpaths.  Then,
                       add the following line:
 
                       export DTSPSYSDATABASEHOSTS=/var/applications/db
 
                       By default, this value is set to
                       /etc/dt/appconfig/types/{language}
 
                       where {language} by default is C.
 
DTSPUSERDATABASEHOSTS - Personal (User) Input Variable, set in the
                        $HOME/.dtprofile.  For example:
                        export DTSPUSERDATABASEHOSTS=/home/user/mydb

                        By default, this value is set to
                        $HOME/.dt/types


For changes to these input variables to take effect, one must exit, then
re-enter the CDE window manager.

The Database search path built-in value is /usr/dt/appconfig/types/{language}
where {language} by default is C.

When dtsearchpath assembles these values, it assigns these values
to an output variable.  For the Database search path, the output
variable is DTDATABASESEARCHPATH.

DTDATABASESEARCHPATH by default will be something like:

        /home/user/.dt/types
        /etc/dt/appconfig/types/%L
        /etc/dt/appconfig/types/C
        /usr/dt/appconfig/types/%L
        /usr/dt/appconfig/types/C

DTDATABASESEARCHPATH is created by incorporating the following environment
variables or locations:

    + DTSPUSERDATABASEHOSTS
    + $HOME/.dt/types
    + /etc/dt/appconfig/types/{language}
    + DTSPSYSDATABASEHOSTS
    + DTSPSYSAPPHOSTS
    + /usr/dt/appconfig/types/{language}

SOLUTION SUMMARY:
Product Area Windows
Product CDE
OS Solaris 2.x
Hardware n/a

Top

SunWeb Home SunWeb Search SunSolve Home Simple Search

Sun Proprietary/Confidential: Internal Use Only
Feedback to SunSolve Team