Ubuntu – How to adjust the Clock Indicator format

clockindicator

Recently I upgraded to Ubuntu 11.04. The clock indicator on the panel is not following my regional settings format.

I edited locales and in all applications I have the right format of date and time except clock indicator on the panel. Tried dconfig editor but keys for clock applet cannot be changed. Tried to purge indicator and reinstall it – still the same. Is there any way that

I could change formatting of datetime indicator?

  • Here is format I'm using system wide: %A, %d %B %Y, %I:%M:%S
  • Here is format of datetime-indicator that pops up: %a%B%d %H:%M:%S

Best Answer

Try the following:

gsettings set com.canonical.indicator.datetime time-format "'custom'"
gsettings set com.canonical.indicator.datetime custom-time-format "'%A, %d %B %Y, %I:%M:%S'"

That seems to do the trick for me. You should be able to do the same using dconf-editor.

In dconf editor, it'd be something like this:

enter image description here