Working with Keys

Keys are a way of looking up a value. Every preference stored in GConf is assigned to a key. Applications which use GConf access the values of keys to determine how to look and behave. When you change something in the Preferences of an application, you are changing the value associated to a key in GConf.

4.1. Copying a Key Name

To copy a key name to the clipboard, select the key name you want to copy in the modification pane. Choose Edit ▸ Copy Key Name. You can paste the key name into any other application.

4.2. Viewing Recent Key Names

To view recent key names, choose Edit ▸ List Recent Keys. This action will open the results pane at the bottom of the current window. You can move through the results list by scrolling up and down with the scroll bar or the arrow keys. The information for the selected key or folder will appear in the rest of the window.

Viewing recent keys is useful if you need to get back to a key you just changed and don't remember where it is.

4.3. Modifying the Value of a Key

The icons next to the key name show what kind of value that key can take. See Section 7 ― Icons and Key Types for more information on each icon. To modify the value of a key, perform the following steps:

  1. Use the tree pane to display the key that you want to modify in the modification pane.

  2. Select the key to modify in the modification pane.

  3. To change the value of an integer key or a string key, click in the Value column of the key. Type the new value for the key. Alternatively, right-click on the key and select Edit Key from the popup menu.

    To change the value of a Boolean key, click in the Value column of the key to select or deselect the check box. Alternatively, right-click on the key and select Edit Key from the popup menu.

    To change the value of a list key, right-click on the key and select Edit Key from the popup menu. The Edit Key dialog provides a list of the values associated to that key. You can use this dialog to edit each particular value in the list, add or remove values from the list, and move each value up or down in the list.

Your system administrator may have locked down certain keys by providing mandatory values. If the selected key has a mandatory value set, you will not be able to edit the value. The documentation pane will display the label This key is not writable if you are not allowed to edit the value of that key.