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

Setting the Value of a Search Path

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

You can modify the search paths on a system-wide or personal basis. Modifications are done by setting values for the system-wide or personal input variables. Any modifications you make are added to the built-in search path locations.

To See the Current Value for a Search Path (Output Variable)

  1. Use the dtsearchpath command to display the current values for the search paths:

    • To obtain the value for the current (login) user, execute:

      dtsearchpath -v
    • To obtain the value for a different user, execute:

      dtsearchpath -u user

Search path values include these variables:

%H%

Used in DTHELPSEARCHPATH. The help volume name.

%B%

Used in XMICONSEARCHPATH. The base name of an icon file.

%M%

Used in XMICONSEARCHPATH. The size of the icon file (.l, .m, .s, .t)

%L%

Value of the LANG environment variable.

To Make Personal Modifications to a Search Path

  1. Open HomeDirectory/.dtprofile for editing.

  2. Add or edit a line defining a value for the personal input variable.

    For example, the following line adds a location to the user's personal application search path:

    DTSPUSERAPPHOSTS=/projects1/editors
  3. To make the change take effect, log out and back in.

To Make System-Wide Modifications to a 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 defining a value for the system-wide input variable.

    For example, the following line adds a location to the system-wide help search path:

    DTSPSYSHELP=/applications/helpdata
  4. Inform all users on the system that they must log out and back in for the change to take effect.

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