Item
The following are examples of a preference key, a schema key, and a schema object:
Table 10.4
Preference Key, Schema Key, and Schema Object Examples
Preference key:
/desktop/gnome/interface/font_name
Schema key:
/schemas/desktop/gnome/interface/font_name
Schema object:
<schema>
<applyto>/desktop/gnome/interface/font_name</applyto>
<key>/schemas/desktop/gnome/interface/font_name</key>
<owner>gnome</owner> <type>string</type>
<default>Sans 10</default> <locale name="C">
<short>Default font</short> <long>Name of the
default font used by gtk+.</long> </locale>
You can associate a schema key with a preference key. For example, the following
/desktop/gnome/interface/font_name key includes a schema key:
<entry name="font_name" mtime="1034873859"
schema="/schemas/desktop/gnome/interface/font_name"/>
When you associate a schema key with a preference key, the preference uses the sug-
gested value that is specified in the schema object of the schema key. The suggested
value is contained in the <default> element in the schema object. By default, all the
preference keys in the default configuration source are associated with schema keys.
Typically, schemas are stored in the default configuration source.
Description
• A default value for the preference key
• Brief documentation on the preference key
GNOME Configuration for Administrators
225