![]() |
![]()
| ![]() |
![]()
NAMEdtsearchpath — set desktop search paths SYNOPSISdtsearchpath [-u username] [-v] [-o] [-csh] [-ksh] DESCRIPTIONThe dtsearchpath command line utility sets local and remote locations that desktop components should search for Application Manager groups, for filetype and action definitions, for desktop icons, and for help files. The /usr/local/dt/bin/Xsession startup script sources the user's $HOME/.dtprofile script and any scripts located under /usr/local/dt/etc/config/Xsession.d and /usr/local/dt/config/Xsession.d. After sourcing the Xsession.d files, the Xsession script will invoke /usr/local/dt/bin/dtsearchpath to set and export the environment variables DTAPPSEARCHPATH, DTDATABASESEARCHPATH, DTHELPSEARCHPATH, XMICONSEARCHPATH, and XMICONBMSEARCHPATH (see the ENVIRONMENT heading in this man page for a more detailed description). Search Path SyntaxEach of the exported search path variables is supported by, that is, built from, two comma-separated search path environment variables. For example: DTAPPSEARCHPATH is supported by DTSPSYSAPPHOSTS and DTSPUSERAPPHOSTS. XMICONSEARCHPATH is supported by DTSPSYSICON and DTSPUSERICON. The input search path environment variables fall into two categories - those that support the host:/path syntax and those that do not. If the name of the input environment variable contains the string HOSTS, it will support host:/path syntax. The syntax for search paths that support host:/path is: search path element [ host | pathname | hostname+pathname ] host &<hostname>: pathname /&<absolute path> The syntax for search paths that do not support host:/path is: search path element [ pathname ] pathname /&<absolute path> ExamplesTo set the Icon search path to include the /usr/local/games/icons subdirectory, the following line would appear in a script in the /usr/local/dt/etc/config/Xsession.d/ subdirectory: DTSPSYSICON=/usr/local/games/icons To set the Database search path to include host marlin, the following line would appear in a script in the /usr/local/dt/etc/config/Xsession.d/ subdirectory: DTSPSYSDATABASEHOSTS=marlin: To set the Application Manager path to include the applications on host steelhead under subdirectory /usr/local, and under the default help location on host halibut, the following line would appear in a script in the /usr/local/dt/etc/config/Xsession.d/ subdirectory: DTSPSYSAPPHOSTS=steelhead:/usr/local,halibut: The dtsearchpath command line utility parses these path elements and transforms them into a form suitable for the desktop components. If a host element is included, then the Tooltalk library's filename mapping capabilities will control how a path to files on that host are constructed. For example, the path to file /tmp/file on host goby may be constructed as /net/goby/tmp/file or as /nfs/goby/tmp/file. Default LocationsBy default, dtsearchpath sets up three search locations for each subsystem. In search order, they are:
PrecedenceWhen searching a path for a particular item, such as an icon file, the desktop will always be satisfied by the first item found. For example, when searching for an icon whose basename is beeper, if that icon exists in both the /usr/local/dt/etc/appconfig/icons and the /usr/local/dt/appconfig/icons subdirectories, then the icon under /usr/local/dt/etc/appconfig/icons will be found first and used, because that element appears first in the XMICONSEARCHPATH. The search terminates when the first match occurs. Each of the DTSPSYS search path environment variables has a corresponding DTSPUSER environment variable which will take precedence over the system setting. The DTSPUSER values will be prepended to the DT search path whereas the DTSPSYS values will come after the $HOME/.dt configuration location but before the factory default location. The relationship between the system administrator's customization and the default /usr/local/dt/etc configuration location is up to the user of the DTSPSYS value. OPTIONS
RETURN VALUES
ENVIRONMENTThe values set by dtsearchpath are passed through to the individual desktop subsystems, such as the action database and the help system, by means of environment variables. The DTSPSYSAPPHOSTS variable is the primary environment variable and drives the remaining search paths for filetypes and actions, for desktop icons, and for help files. In the following list, all values are derived from three places: the user's $HOME directory ($HOME/.dt), the system configuration directory (/usr/local/dt/etc/appconfig), and the factory defaults directory (/usr/local/dt/appconfig). The values are listed as transformed for the individual desktop subsystems. To verify these values, execute dtsearchpath with the verbose (-v) option. DTAPPSEARCHPATH, DTSPSYSAPPHOSTS, DTSPUSERAPPHOSTS: Used to discover application hosts and their registry subdirectories. The default transformed value is: $HOME/.dt/appmanager /usr/local/dt/etc/appconfig/appmanager/%L /usr/local/dt/etc/appconfig/appmanager/C /usr/local/dt/appconfig/appmanager/%L /usr/local/dt/appconfig/appmanager/C Where %L is the value of the LANG environment variable. The value of DTAPPSEARCHPATH can be altered by either of two environment variables: DTSPSYSAPPHOSTS and/or DTSPUSERAPPHOSTS. DTSPSYSAPPHOSTS is for use by system administrators. Values are specified by adding a ksh script to the /usr/local/dt/etc/config/Xsession.d directory that exports the variable. export DTSPSYSAPPHOSTS=marlin:,goby:/vipapps,/opt The expected syntax for DTSPSYSAPPHOSTS is a comma-separated list. DTSPSYSAPPHOSTS accepts host:, host:/path, or just /path. The effect is to insert a searchpath after the configuration location (/usr/local/dt/etc/appconfig/appmanager) and before the factory default location (/usr/local/dt/appconfig/appmanager). $HOME/.dt/appmanager /usr/local/dt/etc/appconfig/appmanager/%L /usr/local/dt/etc/appconfig/appmanager/C /nfs/marlin/usr/local/dt/etc/appconfig/appmanager/%L /nfs/marlin/usr/local/dt/etc/appconfig/appmanager/C /nfs/goby/vipapps/appconfig/appmanager/%L /nfs/goby/vipapps/appconfig/appmanager/C /opt/appconfig/appmanager/%L /opt/appconfig/appmanager/C /usr/local/dt/appconfig/appmanager/%L /usr/local/dt/appconfig/appmanager/C If the system administrator wants the local configuration directory to appear in a different location within the configurable search paths, the special host term 'localhost:' can be inserted anywhere into the environment variable: export DTSPSYSAPPHOSTS=marlin:,localhost:,goby:/vipapps,/opt The resulting value for DTAPPSEARCHPATH would be: $HOME/.dt/appmanager /nfs/marlin/usr/local/dt/etc/appconfig/appmanager/%L /nfs/marlin/usr/local/dt/etc/appconfig/appmanager/C /usr/local/dt/etc/appconfig/appmanager/%L /usr/local/dt/etc/appconfig/appmanager/C /nfs/goby/vipapps/appconfig/appmanager/%L /nfs/goby/vipapps/appconfig/appmanager/C /opt/appconfig/appmanager/%L /opt/appconfig/appmanager/C /usr/local/dt/appconfig/appmanager/%L /usr/local/dt/appconfig/appmanager/C In fact, the value 'localhost:' can be inserted anywhere in the DTSPSYSAPPHOSTS value and its order within the DTSPSYSAPPHOSTS will be reflected in the DTAPPSEARCHPATH value. DTSPUSERAPPHOSTS is for use by end users. Values are specified by exporting the value in the user's .dtprofile. export DTSPUSERAPPHOSTS=appsvr:,/myapps DTSPUSERAPPHOSTS also accepts host:, host:/path, and /path specifications. The effect is to insert a searchpath before any other searchpath. /nfs/appsvr/usr/local/dt/etc/appconfig/appmanager/%L /nfs/appsvr/usr/local/dt/etc/appconfig/appmanager/C /myapps/appmanager/%L /myapps/appmanager/C $HOME/.dt/appmanager /usr/local/dt/etc/appconfig/appmanager/%L /usr/local/dt/etc/appconfig/appmanager/C /usr/local/dt/appconfig/appmanager/%L /usr/local/dt/appconfig/appmanager/C DTDATABASESEARCHPATH, DTSPSYSDATABASEHOSTS, DTSPUSERDATABASEHOSTS: Used to collect filetype and action definitions, as expressed in *.dt files. The default transformed value is: $HOME/.dt/types /usr/local/dt/etc/appconfig/types/%L /usr/local/dt/etc/appconfig/types/C /usr/local/dt/appconfig/types/%L /usr/local/dt/appconfig/types/C Where %L is the value of the LANG environment variable. The value of DTDATABASESEARCHPATH can be altered by either of two environment variables: DTSPSYSDATABASEHOSTS and/or DTSPUSERDATABASEHOSTS. DTSPSYSDATABASEHOSTS is for use by system administrators. Values are specified by adding a ksh script to the /usr/local/dt/etc/config/Xsession.d directory that exports the variable. export DTSPSYSDATABASEHOSTS=marlin:,goby:/vipapps,/opt The expected syntax for DTSPSYSDATABASEHOSTS is a comma-separated list. DTSPSYSDATABASEHOSTS accepts host:, host:/path, or just /path. The effect is to insert a searchpath after the configuration location (/usr/local/dt/etc/appconfig/types) and before the factory default location (/usr/local/dt/appconfig/types). $HOME/.dt/types /usr/local/dt/etc/appconfig/types/%L /usr/local/dt/etc/appconfig/types/C marlin:/usr/local/dt/etc/appconfig/types/%L marlin:/usr/local/dt/etc/appconfig/types/C goby:/vipapps/appconfig/types/%L goby:/vipapps/appconfig/types/C /opt/appconfig/types/%L /opt/appconfig/types/C /usr/local/dt/appconfig/types/%L /usr/local/dt/appconfig/types/C As is the case for DTAPPSEARCHPATH, the placement of the local configuration directory can be affected by the adding special host term 'localhost:' to the DTSPSYSDATABASEHOSTS environment variable. export DTSPSYSDATABASEHOSTS=marlin:,localhost:,goby:/vipapps The resulting value for DTDATABASESEARCHPATH would be: $HOME/.dt/types marlin:/usr/local/dt/etc/appconfig/types/%L marlin:/usr/local/dt/etc/appconfig/types/C /usr/local/dt/etc/appconfig/types/%L /usr/local/dt/etc/appconfig/types/C goby:/vipapps/appconfig/types/%L goby:/vipapps/appconfig/types/C /usr/local/dt/appconfig/types/%L /usr/local/dt/appconfig/types/C DTSPUSERDATABASEHOSTS is for use by end users. Values are specified by exporting the value in the user's .dtprofile. export DTSPUSERDATABASEHOSTS=dbsvr:,/mytypes DTSPUSERDATABASEHOSTS also accepts host:, host:/path, and /path specifications. The effect is to insert a searchpath before any other searchpath. dbsvr:/usr/local/dt/etc/appconfig/types/%L dbsvr:/usr/local/dt/etc/appconfig/types/C /mytypes/types/%L /mytypes/types/C $HOME/.dt/types /usr/local/dt/etc/appconfig/types/%L /usr/local/dt/etc/appconfig/types/C /usr/local/dt/appconfig/types/%L /usr/local/dt/appconfig/types/C XMICONSEARCHPATH, XMICONBMSEARCHPATH, DTSPSYSICON, DTSPUSERICON: Used to locate desktop icons. The default transformed value is: $HOME/.dt/icons/%B%M.pm $HOME/.dt/icons/%B%M.bm $HOME/.dt/icons/%B /usr/local/dt/etc/appconfig/icons/%L/%B%M.pm /usr/local/dt/etc/appconfig/icons/%L/%B%M.bm /usr/local/dt/etc/appconfig/icons/%L/%B /usr/local/dt/etc/appconfig/icons/C/%B%M.pm /usr/local/dt/etc/appconfig/icons/C/%B%M.bm /usr/local/dt/etc/appconfig/icons/C/%B /usr/local/dt/appconfig/icons/%L/%B%M.pm /usr/local/dt/appconfig/icons/%L/%B%M.bm /usr/local/dt/appconfig/icons/%L/%B /usr/local/dt/appconfig/icons/C/%B%M.pm /usr/local/dt/appconfig/icons/C/%B%M.bm /usr/local/dt/appconfig/icons/C/%B Where %B is the basename of the requested icon, %M is the magnitude (size) of the icon, and %L is the value of the LANG environment variable. The value of XMICONSEARCHPATH can be altered by either of two environment variables: DTSPSYSICON and/or DTSPUSERICON. DTSPSYSICON is for use by system administrators. Values are specified by adding a ksh script to the /usr/local/dt/etc/config/Xsession.d directory that exports the variable. export DTSPSYSICON=/vipapps/icons The expected syntax for DTSPSYSICON is a comma-separated list. DTSPSYSICON accepts the /path format. The effect is to insert a searchpath after the configuration location (/usr/local/dt/etc/appconfig/icons) and before the factory default location (/usr/local/dt/appconfig/icons). $HOME/.dt/icons/%B%M.pm $HOME/.dt/icons/%B%M.bm $HOME/.dt/icons/%B%M /usr/local/dt/etc/appconfig/icons/%L/%B%M.pm /usr/local/dt/etc/appconfig/icons/%L/%B%M.bm /usr/local/dt/etc/appconfig/icons/%L/%B%M /usr/local/dt/etc/appconfig/icons/C/%B%M.pm /usr/local/dt/etc/appconfig/icons/C/%B%M.bm /usr/local/dt/etc/appconfig/icons/C/%B%M /vipapps/icons/%L/%B%M.pm /vipapps/icons/%L/%B%M.bm /vipapps/icons/%L/%B%M /vipapps/icons/C/%B%M.pm /vipapps/icons/C/%B%M.bm /vipapps/icons/C/%B%M usr/dt/appconfig/icons/%L/%B%M.pm /usr/local/dt/appconfig/icons/%L/%B%M.bm /usr/local/dt/appconfig/icons/%L/%B%M /usr/local/dt/appconfig/types/C/%B%M.pm /usr/local/dt/appconfig/types/C/%B%M.bm /usr/local/dt/appconfig/types/C/%B%M The placement of the local configuration directory can be affected by the adding the path term /usr/local/dt/etc/appconfig to the DTSPSYSICON environment variable. export DTSPSYSICON=/vipapps/icons,/usr/local/dt/etc/appconfig The resulting value for XMICONSEARCHPATH would be: $HOME/.dt/icons/%B%M.pm $HOME/.dt/icons/%B%M.bm $HOME/.dt/icons/%B%M /vipapps/icons/%L/%B%M.pm /vipapps/icons/%L/%B%M.bm /vipapps/icons/%L/%B%M /vipapps/icons/C/%B%M.pm /vipapps/icons/C/%B%M.bm /vipapps/icons/C/%B%M /usr/local/dt/etc/appconfig/icons/%L/%B%M.pm /usr/local/dt/etc/appconfig/icons/%L/%B%M.bm /usr/local/dt/etc/appconfig/icons/%L/%B%M /usr/local/dt/etc/appconfig/icons/C/%B%M.pm /usr/local/dt/etc/appconfig/icons/C/%B%M.bm /usr/local/dt/etc/appconfig/icons/C/%B%M usr/dt/appconfig/icons/%L/%B%M.pm /usr/local/dt/appconfig/icons/%L/%B%M.bm /usr/local/dt/appconfig/icons/%L/%B%M /usr/local/dt/appconfig/types/C/%B%M.pm /usr/local/dt/appconfig/types/C/%B%M.bm /usr/local/dt/appconfig/types/C/%B%M DTSPUSERICON is for use by end users. Values are specified by exporting the value in the user's .dtprofile. export DTSPUSERICON=$HOME/myicons DTSPUSERICON accepts /path specifications. The effect is to insert a searchpath before any other searchpath. $HOME/myicons/%B%M.pm $HOME/myicons/%B%M.bm $HOME/myicons/%B%M $HOME/.dt/icons/%B%M.pm $HOME/.dt/icons/%B%M.bm $HOME/.dt/icons/%B%M /usr/local/dt/etc/appconfig/icons/%L/%B%M.pm /usr/local/dt/etc/appconfig/icons/%L/%B%M.bm /usr/local/dt/etc/appconfig/icons/%L/%B%M /usr/local/dt/etc/appconfig/icons/C/%B%M.pm /usr/local/dt/etc/appconfig/icons/C/%B%M.bm /usr/local/dt/etc/appconfig/icons/C/%B%M /usr/local/dt/appconfig/icons/%L/%B%M.pm /usr/local/dt/appconfig/icons/%L/%B%M.bm /usr/local/dt/appconfig/icons/%L/%B%M /usr/local/dt/appconfig/types/C/%B%M.pm /usr/local/dt/appconfig/types/C/%B%M.bm /usr/local/dt/appconfig/types/C/%B%M DTHELPSEARCHPATH, DTSPSYSHELP, DTSPUSERHELP: Used to locate help volumes and families for the desktop help subsystem. The default transformed value is: $HOME/.dt/help/&<session>/%H $HOME/.dt/help/&<session>/%H.sdl $HOME/.dt/help/&<session>/%H.hv $HOME/.dt/help/%H $HOME/.dt/help/%H.sdl $HOME/.dt/help/%H.hv /usr/local/dt/etc/appconfig/help/%L/%H /usr/local/dt/etc/appconfig/help/%L/%H.sdl /usr/local/dt/etc/appconfig/help/%L/%H.hv /usr/local/dt/etc/appconfig/help/C/%H /usr/local/dt/etc/appconfig/help/C/%H.sdl /usr/local/dt/etc/appconfig/help/C/%H.hv /usr/local/dt/appconfig/help/%L/%H /usr/local/dt/appconfig/help/%L/%H.sdl /usr/local/dt/appconfig/help/%L/%H.hv /usr/local/dt/appconfig/help/C/%H /usr/local/dt/appconfig/help/C/%H.sdl /usr/local/dt/appconfig/help/C/%H.hv Where %H is the basename of the requested help volume, and %L is the value of the LANG environment variable. The value of DTHELPSEARCHPATH can be altered by either of two environment variables: DTSPSYSHELP and/or DTSPUSERHELP. DTSPSYSHELP is for use by system administrators. Values are specified by adding a ksh script to the /usr/local/dt/etc/config/Xsession.d directory that exports the variable. export DTSPSYSHELP=/vipapps/help The expected syntax for DTSPSYSHELP is a comma-separated list. DTSPSYSHELP accepts the /path format. The effect is to insert a searchpath after the configuration location (/usr/local/dt/etc/appconfig/help) and before the factory default location (/usr/local/dt/appconfig/help). $HOME/.dt/help/&<session>/%H $HOME/.dt/help/&<session>/%H.sdl $HOME/.dt/help/&<session>/%H.hv $HOME/.dt/help/%H $HOME/.dt/help/%H.sdl $HOME/.dt/help/%H.hv /usr/local/dt/etc/appconfig/help/%L/%H /usr/local/dt/etc/appconfig/help/%L/%H.sdl /usr/local/dt/etc/appconfig/help/%L/%H.hv /usr/local/dt/etc/appconfig/help/C/%H /usr/local/dt/etc/appconfig/help/C/%H.sdl /usr/local/dt/etc/appconfig/help/C/%H.hv /vipapps/help/%L/%H /vipapps/help/%L/%H.sdl /vipapps/help/%L/%H.hv /vipapps/help/C/%H /vipapps/help/C/%H.sdl /vipapps/help/C/%H.hv /usr/local/dt/appconfig/help/%L/%H /usr/local/dt/appconfig/help/%L/%H.sdl /usr/local/dt/appconfig/help/%L/%H.hv /usr/local/dt/appconfig/help/C/%H /usr/local/dt/appconfig/help/C/%H.sdl /usr/local/dt/appconfig/help/C/%H.hv The placement of the local configuration directory can be affected by the adding the path term /usr/local/dt/etc/appconfig to the DTSPSYSHELP environment variable. export DTSPSYSHELP=/vipapps/help,/usr/local/dt/etc/appconfig The resulting value for DTHELPSEARCHPATH would be: $HOME/.dt/help/&<session>/%H $HOME/.dt/help/&<session>/%H.sdl $HOME/.dt/help/&<session>/%H.hv $HOME/.dt/help/%H $HOME/.dt/help/%H.sdl $HOME/.dt/help/%H.hv /vipapps/help/%L/%H /vipapps/help/%L/%H.sdl /vipapps/help/%L/%H.hv /vipapps/help/C/%H /vipapps/help/C/%H.sdl /vipapps/help/C/%H.hv /usr/local/dt/etc/appconfig/help/%L/%H /usr/local/dt/etc/appconfig/help/%L/%H.sdl /usr/local/dt/etc/appconfig/help/%L/%H.hv /usr/local/dt/etc/appconfig/help/C/%H /usr/local/dt/etc/appconfig/help/C/%H.sdl /usr/local/dt/etc/appconfig/help/C/%H.hv /usr/local/dt/appconfig/help/%L/%H /usr/local/dt/appconfig/help/%L/%H.sdl /usr/local/dt/appconfig/help/%L/%H.hv /usr/local/dt/appconfig/help/C/%H /usr/local/dt/appconfig/help/C/%H.sdl /usr/local/dt/appconfig/help/C/%H.hv DTSPUSERHELP is for use by end users. Values are specified by exporting the value in the user's .dtprofile. export DTSPUSERHELP=$HOME/myhelp DTSPUSERHELP accepts /path specifications. The effect is to insert a searchpath before any other searchpath. $HOME/myhelp/%H $HOME/myhelp/%H.sdl $HOME/myhelp/%H.hv $HOME/.dt/help/&<session>/%H $HOME/.dt/help/&<session>/%H.sdl $HOME/.dt/help/&<session>/%H.hv $HOME/.dt/help/%H $HOME/.dt/help/%H.sdl $HOME/.dt/help/%H.hv /usr/local/dt/etc/appconfig/help/%L/%H /usr/local/dt/etc/appconfig/help/%L/%H.sdl /usr/local/dt/etc/appconfig/help/%L/%H.hv /usr/local/dt/etc/appconfig/help/C/%H /usr/local/dt/etc/appconfig/help/C/%H.sdl z.br /usr/local/dt/etc/appconfig/help/C/%H.hv /usr/local/dt/appconfig/help/%L/%H /usr/local/dt/appconfig/help/%L/%H.sdl /usr/local/dt/appconfig/help/%L/%H.hv /usr/local/dt/appconfig/help/C/%H /usr/local/dt/appconfig/help/C/%H.sdl /usr/local/dt/appconfig/help/C/%H.hv (See also the OPTIMIZATIONS heading in this man page.) At the conclusion of dtsearchpath, DTSPSYS and DTSPUSER variables are explicitly unset, so that only the DT*SEARCHPATH values remain. MANPATH, DTMANPATH: In addition to setting the application search paths, dtsearchpath augments the MANPATH environment variable with the path to the CDE man pages, /usr/local/dt/man. For example, if the value of MANPATH prior to execution of: dtsearchpath is /net/manserver/usr/man:/usr/man then the augmented value will be: /usr/local/dt/man:/net/manserver/usr/man:/usr/man. If the MANPATH environment variable is not set prior to the invocation of dtsearchpath, the system-defined default value of MANPATH will be included in the augmented MANPATH value. For example, if the system-defined default value is: /usr/man:/usr/local/man then dtsearchpath will generate a MANPATH value of: /usr/local/dt/man:/usr/man:/usr/local/man DTSROCFPATH: DTSROCFPATH is used by the DtSearchInit function to locate the default API configuration ocf file. If the ocf_file argument is NULL, DtSearchInit looks for an ocf file with a base name of either dtsearch.ocf or austext.ocf in the directory specified by DTSROCFPATH, in the current working directory, or in the HOME directory, in that order. DTINFOLIBSEARCHPATH, DTINFOLIBDEFAULT: DTINFOLIBSEARCHPATH is used by dtinfo to locate information libraries on local and remote mounted systems. DTINFOLIBDEFAULT is used by dtinfo to identify the default information library(s) to load if the -l or -sect option is not specified. DTINFOLIBSEARCHPATH and DTINFOLIBDEFAULT are defined at installation time by dtsearchpath. The default infolib search path includes personal, system-wide, and built-in locations as follows:
The default language is C. When a location is added to the application search path, the appropriate infolib subdirectory is automatically added to the infolib search path. For example, if the application server hosta: is added to the application search path, the directory hosta:/usr/local/dt/etc/appconfig/infolib/language is automatically added to the infolib search path. The infolib search path is assembled from the built-in locations and the following input variables:
Use these input variables to specify locations outside the application search path. The assembled database search path is specified by the output variable DTINFOLIBSEARCHPATH. The syntax for the DTSPSYSINFOLIB and DTSPUSERINFOLIB variables is: VARIABLE = location [, location] where location is the pathname for a directory on the local (session server) system. Use this syntax to add a local directory. To specify a location on another system, use its network file name. For example: /nfs/servera/projects/infolib.
The value of the infolib search path ( DTINFOLIBSEARCHPATH) is created by assembling the following locations, listed in order of precedence:
LOCALESEach of the search path elements contain a path that references the LANG variable using the %L construct. When the user selects a different language from the greeting screen and logs in, the search path will already be set up. At the same time, the factory defaults are still included, but after the localized elements. For example, if the user chooses the German locale from the greeting screen, then his/her DTDATABASESEARCHPATH will already include these elements, as specified by the LANG value set at session startup: $HOME/.dt/types /usr/local/dt/etc/appconfig/types/%L /usr/local/dt/etc/appconfig/types/C /usr/local/dt/appconfig/types/%L /usr/local/dt/appconfig/types/C (See also the OPTIMIZATIONS heading in this man page.) Note that the search path does not use locales under the user's $HOME directory. Whether the user adds personal icons under $HOME/.dt/icons or personal applications under $HOME/.dt/appmanager, they will be found regardless of the language selected at login. OPTIMIZATIONSBefore exporting the search paths to the user's environment, dtsearchpath first checks to ensure that each subdirectory exists. If a directory does not exist at login, then that element will not be added to the user's search path, to save needless file system accesses by the desktop components. FILES
NOTESIn order to inject the values from dtsearchpath into the user's environment, the command must be eval'd, as is done by the Xsession login script. eval `/usr/local/dt/bin/dtsearchpath` Simply running dtsearchpath from the command line will have no affect on the parent shell. It is not possible to affect the DT search paths after logging in. Components such as the Window Manager and File Manager inherit the values from dtsearchpath by being invoked from the same shell. Hence, if the system administrator creates a new search path element for the end user, the user will not be able to access it until the next login. SEE ALSOdtappgather(1).
|