10

As far as I can tell, there are no tweaks for showing the year on the top bar clock in Ubuntu 20.04 (Focal Fossa). I find it for < 20.04, but I can't find a suitable solution for Ubuntu 20.04.

Our service frequently needs to take screenshots identifying the year of a screenshot and the Ubuntu clock only believes in hour minute seconds date and day of week. That doesn't help people who need to record the year in a screenshot.

2
  • 1
    If you open a bug report with your (very valid) justification and share the link, I would be willing to mark myself as impacted by the bug. – PJ Singh Mar 7 at 0:04
  • Depending on what your service is, and why it is important to record the year, note that the existence of a method to do this demonstrates that the information could also be faked, so you may need to record a timestamp out-of-band. – jl6 Mar 7 at 7:58
16

I needed the same thing, and nerd-sniped my friend Stuart Langridge to develop this functionality. He made a great GNOME Extension called Clock Override which enables you to put whatever you want in the clock area in the centre of the screen.

You can configure it to say anything. The settings below will show a very verbose time such as "2021-03-06T23:23:00+00:00" but you can of course make it say something shorter.

Clock Override configuration

4
  • 2
    Surprised that gnome lost that setting, unity still has it. – crip659 Mar 6 at 23:55
  • 1
    ...and it's not like there is not enough space in that vast empty Gnome top bar! – PJ Singh Mar 7 at 0:03
  • 1
    I dimly remember that you have to be careful with displaying the year, as there is also a format string that displays the year that the current week belongs to. – Simon Richter Mar 7 at 13:30
  • 1
    @crip659: Well, it is GNOME. Enough said. ABG. – Peter Mortensen Mar 7 at 16:22

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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