50

I'm using Gnome classic in Ubuntu 12.04 and I'm not able to find the settings that would allow me to display the date and day along with time in the clock of my indicator applet. Any idea how I can make the date and day appear along with the time?

When I click on the clock and then click on "Time and Date settings", I get the "System settings". From there when I click on "Date and time", I get a setting where I can just edit the date and time. I'm using 12.04 with Gnome classic. I removed unity.

Braiam
  • 67,791
  • 32
  • 179
  • 269
harisibrahimkv
  • 7,256
  • 11
  • 44
  • 71

1 Answers1

67

Using dconf-editor you can set various options to control the indicator-datetime applet

enter image description here

Navigate to com.canonical.indicator.datetime and tick the two checkboxes shown.

dconf-editor is part of the dconf-tools package which you can install from the Software Center or via a terminal command:

sudo apt-get install dconf-tools

If the date does not appear then check that you have the indicator-datetime package installed (logoff and logon after installing the package)

Install indicator-datetime

Later versions of Ubuntu sometimes do not show the path shown in the picture. You'll need to manually set one of the keys first before the path is shown in dconf-editor

For example:

gsettings set com.canonical.indicator.datetime show-clock true
gsettings set com.canonical.indicator.datetime show-day true
gsettings set com.canonical.indicator.datetime show-date true
fossfreedom
  • 172,746
  • 7
    Thank you so much. Very nicely written answer. I installed dconf-tools and have got the day and date along with the time using the gconf-editor. – harisibrahimkv May 02 '12 at 11:12
  • 3
    It's sort of dumb not to include the date by default. I am not trying to sound hash, but it is true. But thanks for the tips! – CppLearner Dec 28 '12 at 20:25
  • is there any way to add the year too? I don't see any options – Milad.N Oct 04 '13 at 12:37
  • It's especially dumb that you have to be root for just a simple setting like this since dconf-editor is not part of the default installation. – Thomas Mar 17 '14 at 10:11
  • And if you want to show the date, but not the time, you have to set time-format to custom and change custom-time-format to something like %F %A (full y-m-d date, and day-of-week). This gives complete flexibility over what to show. See man date for more on how that works. – Aaron McDaid Sep 25 '14 at 10:10