Oracle® Solaris 11.2 Desktop Administrator's Guide

Exit Print View

Updated: July 2014
 
 

GConf Daemon

The GConf daemon is called gconfd-2. The GConf daemon notifies applications when a preference value changes. For example, you might select to show only icons in toolbars in the Menus and Toolbars preference tool. When you select this option in the preference tool, the toolbars on all open applications are updated instantly. The GConf daemon can operate locally, or across a network.

By default, an instance of the GConf daemon is started for each user. The GConf daemon does not handle complex problems such as authentication and data security. When the GConf daemon starts, the daemon loads the GConf path file from the /etc/gconf/version/path directory. The GConf daemon manages all access between applications and the configuration sources.

    When an application requests the value of a preference key, the GConf daemon uses the following process to search the configuration sources in a particular order:

  1. Search es for the value of the preference key in each configuration source in the order specified in the path file. If the value is found, return s the value.

  2. If a value is not found, search es for the schema key that corresponds to the preference key in each configuration source in the order specified in the path file.

  3. If the schema key is found, check s the value of the schema key.

  4. If the value of the schema key is a schema object, returns the suggested value in the <default> element of the schema object.

The GConf daemon also caches preference key values. All applications can use this cache, so applications need to access the configuration sources only once.

To stop the GConf daemon, type the following command:

# gconftool-2 --shutdown