For more information on configuring panels, refer to the
GConf chapter of the GNOME
Desktop Administration Guide available through
Applications (the main menu on the
panel) => Help, selecting the
Desktop Category, and choosing the
System Administration Guide
Document.
The panel configuration contains a more complex set of
GConf keys. This section gives an
overview of how those keys are organized.
Most of the panel configuration is stored in
/apps/panel/. The
general/ directory contains the following
keys:
toplevel_id_list
The list of panel identifiers. Each identifier is
also the name of the sub-directory in the
toplevels directory which contains
the actual preferences for that panel.
object_id_list
The list of panel object identifiers. Each
identifier is also the name of the sub-directory in the
objects directory which contains
the actual preferences for that panel object.
applet_id_list
The list of panel applet identifiers. Each
identifier is also the name of the subdirectory in the
applets directory, which contains
the actual preferences for that panel applet.
Thus, the default contents of
/apps/panel/ looks something like:
The default panel configuration is specified in
/etc/gconf/schemas/panel-default-setup.entries.
When the panel is installed, the default configuration is
loaded into the Defaults Source using the
gconftool-2 "--load"
argument:
Modifying the default panel configuration can be a
difficult task. Unfortunately, it is also one of the more
common tasks for administrators wishing to deploy a modified
desktop environment configuration.
Tip
Refer to the GNOME Desktop System
Administration Guide for an alternative method
for changing the default panel configuration to that
described below.
The following provides a more complex example of how to
modify the default panel configuration.
Consider a relatively straightforward
example and assume that we wish to remove the
Print Manager launcher and the
Notification Area from the
default configuration.
Make a copy of
/etc/gconf/schemas/panel-default-setup.entries:
Edit
local-panel-default-setup.entries,
removing the print_launcher entry
from object_id_list and removing the
print_launcher directory from the
objects directory:
It is important that your configuration source be
created using the correct --mode
argument to ensure it is readable by all users.
GConf will use the
permissions from this toplevel directory when creating
new files or directories in the configuration source.
Load the new default setup into
/apps/panel/default_setup in the
new configuration source: