Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

For some strange reason, additional timezones cannot be added to the clock using the date-time indicator in Gnome Classic (Ubuntu 12.04). I used Unity before I switched to Gnome Classic, and it was possible to add more timezones. Even in Gnome Classic I can see the other timezones in the menu of the date-time indicator which I added when I was still using Unity. When I go to System Settings > Date and Time, there is no option for adding other timezones. How can I set additional timezones in Gnome Classic?

share|improve this question
add comment

2 Answers 2

up vote 3 down vote accepted

background

The unity-indicator as you may have gathered does not have the same capabilities as Unity. The developers have patched the gnome-libraries to give this integration. However - by design - they have left the Gnome-Shell & Gnome-Classic desktops as vanilla as possible. This is by expression wish by the gnome-developers.

Thus you will need a slightly more inventive solution - this answer will give you one such suggestion.

use the clock applet

enter image description here

Temporarily add the clock applet to the panel.

Find your location by clicking edit in the applet

Next look carefully at the locations:

enter image description here

The value you are interested in is timezone city

In this example:

America/Port_of_Spain Piarco
Europe/Rome Verona

Next fire up dconf-editor

dconf-tools Install dconf-tools

Look at the locations field as shown and add your new location(s) - each entry is in the format ,'timezone city' i.e. separate entries with commas

enter image description here

You then will automatically update your date-time indicator. You can finish off by deleting the clock applet.

enter image description here

share|improve this answer
1  
Thanks a lot. As medigeek says in the other answer, the list of timezone strings is at en.wikipedia.org/wiki/List_of_tz_database_time_zones so you may not need the clock applet. Also, just an obvious note for anyone else doing this: after editing the Locations list, do tick "Show locations" as well! –  ShreevatsaR Jan 21 '13 at 7:06
add comment

If the "Choose locations" is missing from the Date and Time control but it does work, you should file a bug about it:

ubuntu-bug gnome-session-fallback

You can actually edit it manually through dconf-editor:

sudo apt-get install dconf-tools
dconf-editor

Select com > canonical > indicator > datetime

Look at the locations value.

['UTC UTC', 'Asia/Nicosia Nicosia']

Purely guessing, I think the first (e.g. Asia/Nicosia) is the time zone name and the second (e.g. Nicosia) is the name that appears in the indicator menu (tray icon).

You can find the list of time zones here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.