4

For a long time, I've wanted to make Ubuntu 12.04's clock show the current year; I like it to show up in my screen-shots.

However, there is no gui configuration for doing this: https://bugs.launchpad.net/ubuntu/+source/gnome-panel/+bug/465689

Does anyone know how I might change this in some configuration file or something?

1 Answer 1

9

With due respect to the answer helping me figure out, let's customize the indicator-datetime.

gsettings set com.canonical.indicator.datetime time-format "'custom'"
gsettings set com.canonical.indicator.datetime custom-time-format "'%a, %d. %h  %H:%M %Y'"

That would give an output of "Mon, 02, Jul 21:00 2012".

You can customize the format as long as they are understood by strftime. For other formats, you can consult the manpage for the strftime command Manpage icon and customize accordingly.

1
  • 2
    gsettings set com.canonical.indicator.datetime time-format "'custom'" ; gsettings set com.canonical.indicator.datetime custom-time-format "'%A | %m-%d-%Y | %l:%M%p'"
    – LonnieBest
    Nov 4, 2012 at 11:11

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.