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).
Asked
Active
Viewed 987 times
1 Answers
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
Open the
~/.local/share/gnome-shell/extensions/MultiClock@mibus.org/extension.jsfile with a text-editor, for example rungedit ~/.local/share/gnome-shell/extensions/MultiClock@mibus.org/extension.jsIn the
Timezonessection (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
tznamefor your preferred time-zone)Save the file.
Log out and log in again.
pomsky
- 70,557