31

I make extensive use of the multiple timezone clock feature in 16.04.

After upgrading to Ubuntu 18.04 I found various guides that installing GNOME Clocks and adding time zones I should see them in the dropdown when I click the clock on the taskbar.

However it isn't showing up in there, despite restarting a few times.

I also installed GNOME Weather and its section shows now in the clock dropdown.

Has anyone else had this problem? Ideas on how to fix this?

pomsky
  • 67,112
  • 21
  • 233
  • 243
ljbade
  • 423
  • 1
  • 4
  • 7
  • Good question. Maybe some GNOME Extension exists. FYI on MATE it is native and nice looking - https://i.stack.imgur.com/4a8nv.png . – N0rbert Aug 31 '18 at 09:59

2 Answers2

60

GNOME Clocks should work fine if it's set up correctly. However, if you have installed the application from the (GNOME) Software application, there is a chance that you have installed the snap version of Clocks. You can verify that by running snap list and checking whether the output contains gnome-clocks.

If that is the case, this behaviour is not very surprising given the security restrictions of snap packages. To fix this remove the snap application by running

snap remove gnome-clocks

and install the traditional one by running

sudo apt install gnome-clocks

Then you should be able to find added time zones in the date & time dropdown tray (N.B. You may have to log out and back in).

enter image description here

Andrea Reina
  • 103
  • 3
pomsky
  • 67,112
  • 21
  • 233
  • 243
  • 1
    Doesn't show up. The `World Clocks` section is not there. – Bishwas Mishra Mar 09 '19 at 09:54
  • 4
    @BishwasMishra Try logout and login again. – karel Mar 09 '19 at 14:44
  • 2
    I think you're right @karel. This is mentioned in the [other answer](https://askubuntu.com/a/969135/480481) I wrote previously, where OP [confirms that relogin is required](https://askubuntu.com/questions/969069/ubuntu-17-10-multiple-timezone-clocks/969135#comment1552632_969135). – pomsky Mar 09 '19 at 14:52
  • 13
    They also show up after a reload of Gnome (without needing to log out/in): Alt + F2, type "r" (without quotes), and Enter – Adam Westbrook Feb 20 '20 at 12:00
  • 1
    This works for Ubuntu 20.04. – Nav Jul 13 '20 at 22:40
  • 2
    Worked for me without relogging or restarting Gnome. It just showed right up after installation. – fnune Aug 18 '22 at 06:47
11

@pomsky answer (replacing snap package with apt package) works for me as well. In addition, I also like to use gnome extension panel-world-clock-lite to make it always visible on the task bar:

enter image description here

EDIT:

To install it:

  1. Install Gnome Clocks and Gnome Tweak Tool

    sudo apt install gnome-clocks

    sudo apt-add-repository universe

    sudo apt install gnome-tweak-tool

  2. Install panel-world-clock-lite

  3. Open Gnome Clocks and add timezones to be shown

  4. Open Gnome Tweak and enable "Panel World Clock" extension

  5. Reboot your computer

surfingonthenet
  • 211
  • 2
  • 4