2

Is it possible to have one or more extra TZs in the status bar, as I'd asked here (that was for Unity, though, so it's not a dupe).

3
  • @jhpratt That part of the question (extra clock in top bar instead of the calendar tray) is addressed by one of the answers.
    – pomsky
    Dec 6, 2017 at 2:12
  • @pomsky That definitely looks right, but how do I start it?
    – jhpratt
    Dec 6, 2017 at 2:21
  • I have undeleted my detailed answer, check it. Ping me if you need more help.
    – pomsky
    Dec 6, 2017 at 2:25

1 Answer 1

1

A half-baked solution is to use a GNOME shell extension called MultiClock. Its limitations are:

  • Only one extra clock
  • Very limited number of time-zones to choose from (more can be added editing its source, see below)

This extension depends on the gir1.2-gnomedesktop-3.0 package, install it first (if not installed already) by running

sudo apt install gir1.2-gnomedesktop-3.0

How to install the extension

You can install the extension by clicking on the ON/OFF toggle in this webpage (you may have to install the chrome-gnome-shell package and a browser add-on/extension suggested by the webpage first).

How to add more time-zones for selection

  1. Open the ~/.local/share/gnome-shell/extensions/MultiClock@mibus.org/extension.js file with a text-editor, for example run

    gedit ~/.local/share/gnome-shell/extensions/MultiClock@mibus.org/extension.js
    
  2. In the Timezones section (line number 22) add your preferred time-zone following the format of the default ones, e.g.

    'UTC': { hr: 0, min: 0, tzname: 'UTC' },
    

    (Google the correct tzname for your preferred time-zone)

  3. Save the file.

  4. Log out and log in again.

1
  • 1
    Apparently I needed to install chrome-gnome-shell. After doing that, I toggled a switch and it's in the status bar. Now I can customize the styling so it looks like it fits in.
    – jhpratt
    Dec 6, 2017 at 2:44

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