Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

up vote 9 down vote accepted

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.

share|improve this answer
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 '12 at 11:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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