GNOME 2.0 Desktop for the Solaris Operating Environment System Administration Guide

To Set Keyboard Shortcut Preferences

To set keyboard shortcut preferences, you modify the values of preference keys in two locations. The following table shows the locations to modify, and the part of the user interface to which the locations correspond:

GConf Location 

User Interface Component 

/apps/panel/global

Keyboard Shortcuts preference tool, Desktop section

/apps/metacity/general

Keyboard Shortcuts preference tool, Window Management section

For example, you might want users to use only the Alt + F3 keyboard shortcut to open the Run Program dialog. To set this mandatory value, run the following command:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string --set /apps/panel/global/run_key '<Alt>F3'

You might want users to use Alt + F11 to maximize windows, by default. To set this default value, run the following command:

# gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.defaults --type string --set /apps/metacity/window_keybindings/maximize '<Alt>F11'

You can also set other keyboard shortcut preferences. For information on the other keyboard shortcut preferences, see the panel-global-config.schemas and metacity.schemas schema definition files.