58

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?

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

8 Answers 8

56

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.

4
  • +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, 2014 at 0:17
  • 2
    This also works in 17.10! Nov 20, 2017 at 3:40
  • 2
    works on 18.04 as well May 28, 2018 at 15:50
  • 2
    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, 2018 at 18:46
22

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

1
  • 1
    Can confirm this works with Ubuntu 20.04 (focal)
    – sobi3ch
    Jul 13, 2021 at 6:18
10

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/[email protected]/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

2
  • 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, 2017 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, 2019 at 11:18
8

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

Another extension, called Timezones extension does something similar.
enter image description here

1
  • 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, 2019 at 9:35
3

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.

2

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

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

1
  • 1
    If we're talking stuff that runs in the browser, I might add the Personal World Clock from timeanddate.com.
    – wjandrea
    Jul 7, 2019 at 1:51
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.

2
  • 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, 2012 at 4:56
  • Ok. It looks like the work is in progress. You can see the mockup here justinstories.wordpress.com/2011/05/26/… Jun 1, 2012 at 5:03
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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .