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?

pomsky
  • 67,112
  • 21
  • 233
  • 243
Ayan Kar
  • 581
  • 1
  • 4
  • 3

8 Answers8

55

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.

pomsky
  • 67,112
  • 21
  • 233
  • 243
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

pomsky
  • 67,112
  • 21
  • 233
  • 243
Alexandre
  • 331
  • 2
  • 5
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/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

Thiago Macedo
  • 359
  • 4
  • 9
  • I think the correct file which has the `Timezones` entries is [`extension.js`](https://github.com/mibus/MultiClock/blob/master/extension.js), *not* [`metadata.json`](https://github.com/mibus/MultiClock/blob/master/metadata.json). I have made an edit accordingly. Please check and reply. – pomsky Dec 06 '17 at 02: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 09 '19 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

pomsky
  • 67,112
  • 21
  • 233
  • 243
  • 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 09: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.

wjandrea
  • 14,109
  • 4
  • 48
  • 98
Filbuntu
  • 12,241
  • 34
  • 87
  • 110
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.

Abhijit Navale
  • 714
  • 1
  • 10
  • 24
  • 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 01 '12 at 04:56
  • Ok. It looks like the work is in progress. You can see the mockup here http://justinstories.wordpress.com/2011/05/26/ready-for-gnome-3-2-world-clock-comes-to-gnome-shell/ – Abhijit Navale Jun 01 '12 at 05: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.

david6
  • 14,449
  • 4
  • 36
  • 46
  • 1
    If we're talking stuff that runs in the browser, I might add the [Personal World Clock](https://www.timeanddate.com/worldclock/personal.html) from timeanddate.com. – wjandrea Jul 07 '19 at 01: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.

vanadium
  • 82,909
  • 6
  • 116
  • 186