Search
Enter Keywords:
Thursday, 28 August 2008
Home arrow All arrow Show UTC as a location in Gnome International Clock
Show UTC as a location in Gnome International Clock
Written by Dan   
Tuesday, 15 July 2008
I love the new international clock applet in Gnome.  It makes it easy to see a list of alternate time zones for coordinating with colleagues.  However, it seems to be missing the ability to add UTC as a timezone.  UTC, GMT, and Zulu are missing from the zone list, even though they're present in /usr/share/zoneinfo.  Attempting to add a zone manually just results in a silent failure for some reason.

I'm sure there is a less insane way to do this, but hacking the gconf entries works.  First, figure out which applet number represents your clock.  To find out, I searched gconf for one of my configured locations:

% grep -lr Hillsboro .gconf
.gconf/apps/panel/applets/applet_7/prefs/%gconf.xml

This tells me that my clock is applet_7.  Next, fire up gconf-editor and navigate to apps/panel/applets/applet_7/prefs.  Edit the cities key and add a value of the following:

<location name="Zulu" timezone="UTC" code="UTC" current="false"/>

Save, quit gconf-editor, and pop open your location list to verify.

Comments
Add NewSearch
wirelizard     | 192.168.201.167 | 2008-08-18 07:05:49
Thanks for the hack - there appears to be a fix for this in progress on the Gnome Bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=541145

Hopefully it'll make it into the next relase of GNOME - as much as the Linux/free software community depends on UTC/GMT/Zulu for coordination, I'm surprised this was ever left out!
Write comment
Name:
Website:
Title:
UBBCode:
[b] [i] [u] [url] [quote] [code] [img] 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Security Image
Please input the anti-spam code that you can read in the image.

Copyright (C) 2007 Alain Georgette / Copyright (C) 2006 Frantisek Hliva. All rights reserved.

 
© 2008 danplanet
Joomla! is Free Software released under the GNU/GPL License.