68

enter image description here

I would like to show the date in the bar up the top there (next to the time). I can not see any obvious way to enable this.

muru
  • 197,895
  • 55
  • 485
  • 740
wim
  • 12,738

7 Answers7

103

As a regular user run this in a terminal when using GNOME Shell:

gsettings set org.gnome.desktop.interface clock-show-date true
David Foerster
  • 36,264
  • 56
  • 94
  • 147
itnet7
  • 3,489
41

Not an ubuntu user but, if you install gnome-tweak-tool, you'll have a nice gui to adjust things like this.

I'm guessing your install from repo might be something like:

apt-get install gnome-tweak-tool
Renato
  • 103
chadwellak
  • 411
  • 3
  • 2
  • Gnome Tweak is indeed a necessity for making 11.10 usable. Also, the date setting is under Shell->Show date in clock. – Cerin Mar 11 '12 at 18:57
  • 3
    In 14.04, it's now called "Top bar->Show date" – Cerin Oct 31 '15 at 13:48
  • Worked on Ubuntu 16.04.3 LTS 64-bit and Gnome 3.18.5 – Akhorus Oct 17 '17 at 15:54
  • 1
    Still works on recent Ubuntu 17.10. I believe this should be the right answer, since it gives you plenty of options to configure your Gnome Desktop distro, and all options is quite well organized. – xarlymg89 Jan 19 '18 at 08:20
  • gnome-tweak-tool
    zsh: command not found: gnome-tweak-tool
    – Snowcrash Apr 27 '20 at 12:48
  • @Snowcrash It is now called "gnome-tweaks". Installing gnome-tweak-tool still works, but it's an alias. Ultimately you now run gnome-tweaks instead. – GManNickG Jul 16 '20 at 08:08
11

For Ubuntu 17.10, I found using the gnome-tweak-tool to be the most convenient way.

  • Install gnome-tweak-tool if not already installed.

     sudo apt install gnome-tweak-tool
    
  • Start the tool, either from command line, $ gnome-tweak-tool or using Dash (tweak).

  • Select Top Bar from left and then make the necessary changes at right under Clock.

enter image description here

Pablo Bianchi
  • 15,657
Masroor
  • 3,143
5

For most people, the command line option supplied by itnet7 is probably the quickest.

However, if you like a GUI, you can use the tool dconf-editor. Simply run "dconf-editor". It is included by default with many distributions, but should be in the repositories if it isn't installed.

One you've started dconf-editor, follow the tree of settings to: org-gnome-shell-clock

and change the "Show date" checkbox (as shown below), and the seconds display for the clock too, if you like that sort of thing.

dconf-editor settng for panel clock

Edit: This has changed slightly for Ubuntu 12.10. Using dconf-editor, date & time settings are now located under com-canonical-indicator-appmenu-datetime.

For GNOME Shell 3.30.2 the key is org.gnome.desktop.interface clock-show-date.

Pablo Bianchi
  • 15,657
John T
  • 425
  • I have Ubuntu 17.04 and there is neither org-gnome-shell nor com-canonical-indicator-appmenu-datetime Why oh why do devs see a constant need to move things around? – dezzer10 Sep 27 '17 at 08:55
  • 1
    I found it in 17.10 under com-canonical-indicator-datetime, but changing the setting had no effect. Using gnome-tweak-tool worked though. – bmello Nov 01 '17 at 10:02
2

I installed the "Clock override" extension for gnome-shell, which let's you configure how the date and time is displayed. https://extensions.gnome.org/extension/1206/clock-override/

Screenshot: "2018-05-03 14:32"

2

In Ubuntu 12.04 you click on the time in the bar then:

  • Click on Time & Settings
  • Click the Clock tab
  • In the clock, show:
    • Check Weekday and/or Date and month
-1

REF: How do I show date next to time in the panel with gnome-shell? Ubuntu 18.04: The tool "dconf-editor" also works GREAT in 18.04, although the location (in the editor) has changed. dconf-editor is easily added with the included Ubuntu Software app. Simply search for "date" with deconf-editor's search feature and turn date "on".

  • 1
    You should note that the question already has an accepted answer and if you don't have an additional solution for other users for whom the accepted one doesn't work, you should not needlessly answer. If you do, please try to express yourself clearly and describe what to do step by step, so that everybody knows what to do and can try it. – ADDB Apr 27 '18 at 17:44