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.

7 Answers 7

103

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

gsettings set org.gnome.desktop.interface clock-show-date true
13
  • 2
    In Ubuntu 12.04, this setting no longer seems to apply. Instead, you can click on the clock, go to Time & Date Settings, select the Clock tab, and check options there to show Weekday or Date and Month in the clock. It's a more obvious place to put these settings, but I had already learned the (now broken) gnome-tweak-tool or gsettings approach. Sep 22, 2012 at 12:51
  • 2
    For Ubuntu 12.04: gsettings set com.canonical.indicator.datetime show-date true May 23, 2014 at 14:12
  • 1
    The first one work on 17.10 for me. Change showed up instantly.
    – chrowe
    Oct 30, 2017 at 16:46
  • 3
    The first one works in 18.04. Why this is not part of the Settings leaves me puzzled. Mar 26, 2018 at 15:25
  • 1
    I agree - not only does this work perfectly in Ubuntu 18.04 LTS, but one does wonder why it's not a part of the settings. Pop!_OS 18.04 - which is based on Ubuntu 18.04 LTS - has the date shown by default... Why not Ubuntu? May 15, 2018 at 8:10
40

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
6
  • 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, 2012 at 18:57
  • 3
    In 14.04, it's now called "Top bar->Show date"
    – Cerin
    Oct 31, 2015 at 13:48
  • Worked on Ubuntu 16.04.3 LTS 64-bit and Gnome 3.18.5
    – Akhorus
    Oct 17, 2017 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, 2018 at 8:20
  • gnome-tweak-tool zsh: command not found: gnome-tweak-tool
    – Snowcrash
    Apr 27, 2020 at 12:48
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

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.

2
  • 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, 2017 at 8: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 1, 2017 at 10:02
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
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"

-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
  • 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, 2018 at 17:44

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .