28

I looked everywhere but I couldn't find a way to display multiple clocks in GNOME 3. In classic GNOME and Unity, it is possible. Also, for some strange reason, additional timezones cannot be added to the clock using the time-date applet in classic GNOME. Any solutions?

  • Isn't there a world clock app in software center? – Naveen Jun 1 '12 at 4:47
  • There are apps but nothing that can be viewed in a glance, you know. – Ayan Kar Jun 1 '12 at 4:58
  • This should be a generic question with different answers for each Ubuntu version, IMHO. – tu-Reinstate Monica-dor duh Nov 20 '17 at 3:41
27

Some answers are outdated in this thread.

To install multiple clocks, you need GNOME Clocks which is now available in the official repos and you can install via Ubuntu Software (formerly the Software Center).

(Note: The button above points to the snap store, which does have GNOME Clocks, but the snap application doesn't fully work on Ubuntu 18.04 LTS; the times don't show up.)

Or, to install it from the command line:

  1. Open a terminal (CtrlAltT)
  2. Run sudo apt install gnome-clocks

Logout and login after installing and it will appear in your notification menu. Or instead of logging out and in, restart GNOME Shell: press Alt+F2, type r, then press Enter.

  • +1 but OP looks for 12.04, which is still valid distro at the moment. I tried to install on Precise but the dependency isn't satisfied. – IsaacS Sep 29 '14 at 0:17
  • 2
    This also works in 17.10! – tu-Reinstate Monica-dor duh Nov 20 '17 at 3:40
  • 1
    works on 18.04 as well – Maduka Jayalath May 28 '18 at 15:50
  • 4
    how could we add these clocks to the topbar someway..? – Amol Pujari May 30 '18 at 3:19
  • 1
    they show up in the clock notification menu once you log out and back in again. Note that the snap version doesn't seem to have that functionality; stick to the apt-installed package. – kiko Jun 21 '18 at 18:46
11

I found gnome-clocks on Launchpad. It can be installed with:

sudo apt-get update
sudo apt-get install gnome-clocks 

As of 18.04 LTS. It looks like this:

enter image description here

  • which theme are you using here? – doctorate Aug 1 '18 at 19:23
  • How to insert the clock in the menu? – Sigur Aug 1 '19 at 14:17
7

Today there is MultiClock, a Gnome 3 Extension that puts another clock into your bar.

Really useful and allow multiple timezones.

Only drawback is you need to know how to edit JavaScript for its configuration:

gedit ~/.local/share/gnome-shell/extensions/MultiClock@mibus.org/extension.js

But it's not hard. In the file change the following variables according to your timezone parameters

const Timezones = {
    'GMT',
    'Australia/Adelaide',
    'Australia/Perth',
    'America/Denver',

};

NOTE: Must use formatting found in TZ Database Time Zones! https://en.wikipedia.org/wiki/List_of_tz_database_time_zones

  • I think the correct file which has the Timezones entries is extension.js, not metadata.json. I have made an edit accordingly. Please check and reply. – pomsky Dec 6 '17 at 2:14
  • This extension sounds great but I got errors when editing the list and can't use it anymore. Had to move to something else. – wranvaud Jan 9 '19 at 11:18
2

This GNOME extension called Top Bar Clocks lets the user add multiple clocks to the top bar.

enter image description here

  • 1
    This combined within installing gnome-clocks did exactly what I wanted. I added the clocks in the Gnome Clocks application and after a reboot top get the plugin working they were visible in the top bar. – TafT Jan 18 '19 at 9:35
2

Timezone is a beautiful GNOME extension to see people with their timezones. For more info see the Github page.

screenshot

  1. Install the extension (when your GNOME Shell is ready for it)
  2. Create a text-file with the name people.json (*example code see below)
  3. Place the file where you like.
  4. Edit the settings of the extensions in Ubuntu Tweak or directly on the extension-page when you have the Firefox Gnome extension add-on and set where the json-file is placed, e.g. file:///home/USERNAME/people.json.
  5. Logout & login or Alt-F2 with command r (or maybe a restart is needed)

*Example code for people.json:

[
  {
    "name": "California",
    "avatar": "file:///home/USERNAME/Pictures/California.JPG",
    "city": "Los Angeles",
    "tz": "America/Los_Angeles"
  },
  {
    "name": "Hans Pacquiao",
    "avatar": "file:///home/cds/Pictures/Hans.JPG",
    "city": "Indiana",
    "tz": "America/Indiana/Knox"
  },
  {
   "name": "Samar friends",
   "avatar": "file:///home/USERNAME/Pictures/Samarfriends.ico",
   "city": "Philippines",
   "tz": "Asia/Manila"
  }
]

For more time zones information, see Wikipedia.

1

Have you tried the clock applet from the Screenlets? You can have multiple clocks set to different time zones. You can install screenlet by doing sudo apt-get install screenlets in terminal.

You can add/remove individual clocks. And set individual/all clocks to autostart at login.

  • I've used screenlets before. They are not really stable. I would prefer having something integrated with the Gnome clock (or atleast that is on the panel). An extension perhaps. – Ayan Kar Jun 1 '12 at 4:56
  • Ok. It looks like the work is in progress. You can see the mockup here justinstories.wordpress.com/2011/05/26/… – Abhijit N Jun 1 '12 at 5:03
1

I use FoxClocks, which is an add-on for Firefox.

While it is not in Unity/Gnome, I normally have Firefox open anyhow.

  • 1
    If we're talking stuff that runs in the browser, I might add the Personal World Clock from timeanddate.com. – wjandrea Jul 7 '19 at 1:51
0

An extension that puts different clocks directly on the top bar is Panel Work Clock Lite. It appears to be well maintained as of the writing of this answer.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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