Miscellaneous Configurations
This chapter addresses setup and system administration topics.
Solaris CDE Directory Structure
This section describes the main directories included in your desktop environment.
/usr/dt
This directory is the Solaris CDE installation location. It can also be the mount point from a remote file server. Table 6-1 describes the /usr/dt subdirectories.
Table 6-1 /usr/dt Subdirectories
Subdirectory | Description |
---|---|
SCDE applications and utilities | |
SCDE run-time shared libraries | |
Default system configuration files | |
[Optional] Man pages | |
Default application resources | |
Default application icons, types, and actions | |
[Optional] CDE code/program examples | |
[Optional] Developer include files | |
Color palettes | |
CDE AnswerBook documentation and default backdrops |
/etc/dt
This directory contains customized workstation-specific configuration files. These files enable you to customize your environment in the following ways:
Set X-server configuration options
Use multiple screens
Customize workstation action files, data types, icons, and fonts
/var/dt
This directory is used to store temporary files for Solaris CDE applications such as Login Manager and Application Manager.
$HomeDirectory
This directory contains user specific files that relate to the user's desktop setup. They include applications, color scheme, Workspace menu and Front Panel modifications, and error logs.
Key Configuration Files
Most customization of your desktop environment can involve many files. The following files are two examples:
/usr/dt/config/Xconfig
/usr/dt/config/Xservers
Xconfig
Xconfig is the master configuration file used by dtlogin. It sets login resources and specifies locations of additional files required by dtlogin. The following example shows a few of the lines found in the default Xconfig file:
Dtlogin.errorLogFile: /var/dt/Xerrors |
Dtlogin.servers: /usr/dt/config/Xservers |
Dtlogin*session: /usr/dt/bin/Xsession |
For more information about this file, refer to Appendix A, dtconfig(1) Man Page. You can also review the explanatory comments in the file itself.
Xservers
dtlogin, like XDM (X Display Manager) on which it is based, uses the Xservers file to specify how the local Xserver is started. By default, the last line in this file is:
:0 Local local@console /usr/openwin/bin/Xsun :0 |
:0 means that the Xserver display is <localhost:0>.
Note - Replace local with foreign if you want to attach to a running X11 server.
/usr/openwin/bin/Xsun is the path to the X11 server.
Note - The Solaris CDE and OpenWindows environments run the same X11 server.
Refer to the dtlogin(1) man page for more information about this file. You can also review the explanatory comments in the file itself.