Clocks for multiple timezones in GNOME Shell

Solution 1:

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.

Solution 2:

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

Solution 3:

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

Really useful and allow multiple timezones.

  • https://extensions.gnome.org/extension/605/multiclock/
  • Source: https://github.com/mibus/MultiClock

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