Solaris Common Desktop Environment: Advanced User's and System Administrator's Guide

Loading the Session Resources

Session Manager uses the X server RESOURCE_MANAGER property to make desktop resources available to all applications. Session Manager loads the RESOURCE_MANAGER by:

The desktop default resources can be found in /usr/dt/config/language/sys.resources. These resources will be made available to each user's session via the RESOURCE_MANAGER property. This file should not be edited, as it is overwritten upon subsequent desktop installations.

You can augment the system default resources by creating /etc/dt/config/language/sys.resources. In this file, you can override default resources or specify additional resources for all desktop users. Since this file is merged into the desktop default resources during session startup, only new or updated resource specifications should be placed in this file. Resources specified in this file will be made available to each user's session through the RESOURCE_MANAGER property. Resources specified in this file take precedence over those specified in the desktop default resource file.

Users can augment the desktop default and system-wide resources using their HomeDirectory/.Xdefaults file. Resources specified in this file will be made available to that user's session through the RESOURCE_MANAGER property. Resources specified in this file take precedence over those specified in the desktop default or system administrator resource files.


Note -

The X Toolkit Intrinsics utility specifies that it will load resources for an application from either RESOURCE_MANAGER or from HomeDirectory/.Xdefaults, but not both. Ordinarily, this would mean that the user's HomeDirectory/.Xdefaults file would be ignored. However, Session Manager accommodates HomeDirectory/.Xdefaults by merging it into the RESOURCE_MANAGER at session startup as described above. If a user changes HomeDirectory/.Xdefaults, the changes will not be visible to new applications until the user invokes the Reload Resources action. The Reload Resources action will instruct Session Manager to reload the RESOURCE_MANAGER with the default, system-wide, and user-specified resources. This makes changes to the system-wide and personal resource files available to applications.


For more information see: