User:Ianweller/How to display different clock types in GNOME

In Fedora 8 and beyond (GNOME 2.20 and beyond), obvious GUI-based options for configuring different types of clocks in the panel were removed. However, these options were still made available via GConf settings. This how to will instruct you on using  to allow UTC, Unix time, or Swatch Internet Time in the panel.

Add another clock applet

 * 1) Right-click any applet and select "Add to Panel...".
 * 2) Drag and drop a "Clock" from the Add to Panel window to a panel of your liking. Move to fit.

Identify the clock applet in GConf

 * 1) Run: $ gconftool-2 --all-dirs /apps/panel/applets This will list all the GConf directories within , where settings for panel applets are stored.
 * 2) If you already had a clock before adding this one, your applet is most likely one of the /apps/panel/applets/applet_* entries. To check which of these entries are what, run: $ gconftool-2 -S bonobo_iid | grep /apps/panel/applets/applet_ A clock applet will have a   of.
 * 3) Clock applets have a GConf subdirectory called "prefs", where the pertinent values are stored.

Editing the settings
In the following instructions, replace $GCONF_PATH with the full path to your applet (for example, ).

Displaying UTC time
gconftool-2 -s $GCONF_PATH/prefs/gmt_time -t bool true

Displaying Unix time
gconftool-2 -s $GCONF_PATH/prefs/format -t string unix

Displaying Swatch Internet Time
gconftool-2 -s $GCONF_PATH/prefs/format -t string internet