On previous versions I had the date displayed. Now it just shows the current day but not the day's number or the month.

Is there a way to customize the clock or tray/taskbar more in GNOME shell on Ubuntu 17.10 and later?

  • I logged back into unity for now but wouldn't mind knowing if there's a way to tweak this in gnome. – neuromage Oct 20 '17 at 3:47
  • For a minute I misread your last "in" as "than", and I thought 17.10 was an oddly specific tag relating to the time the clock was currently displaying when you submitted it... – Muzer Oct 20 '17 at 14:56
  • Thanks for the advice everyone. sorry for the 17.10 tag wasn't sure what to use. – neuromage Oct 20 '17 at 19:47
  • I installed gnome-tweak-tool that did the trick with the clock. Might check out the shell extension at some point. The only other thing I'm missing is compiz cube rotation. I'm not sure how to get the workspace switcher button back. ctrl alt left or right doesn't switch the workspace. – neuromage Oct 20 '17 at 19:59
  • @neuromage If Videonauth's answer works for you, you may "accept" it by clicking on the tick mark (✓) next to it. – pomsky Oct 30 '17 at 0:48

You can get the date displayed in the top bar by using gnome-tweak-tool. First open up a terminal with ctrl+alt+t and install the tweak tool with

sudo apt install gnome-tweak-tool
gnome-tweaks  #  now launch it

After that you can start it from the application selector (there the name is just tweaks) and navigate inside the tweak tool to the tab for 'Top Bar' and activate Date and Seconds (see screen-shot).

enter image description here

Although this might be the easiest approach for the casual user there's another method which works. By issuing the following terminal command you can set the same:

# makes the date appear
gsettings set org.gnome.desktop.interface clock-show-date true
# switches the seconds display on
gsettings set org.gnome.desktop.interface clock-show-seconds true

By replacing set with get you can ask the system to give you the actual settings. Example:

gsettings get org.gnome.desktop.interface clock-show-seconds
  • 35
    gnome-tweak-tool is really an essential package for anyone who is actually using their computers for more than 5 minutes. – pipe Oct 20 '17 at 14:08
  • 10
    It's worth noting that once installed, the name of the application is Tweaks. – medley56 Apr 30 '18 at 14:56
  • 5
    The date should be shown by default beside the clock. (Who needs to know the day of the week without also knowing the date!!). The fact that you have to install an extra package to enable it is unfathomable! – EoghanM Jul 23 '18 at 9:16
  • 5
    @EoghanM Installing an extra package is actually not necessary, you can turn this on by just running gsettings set org.gnome.desktop.interface clock-show-date true. (Videonauth, please consider adding the gsettings/dconf method to the answer.) – pomsky Sep 11 '18 at 16:55
  • 2
    @pomsky done so. – Videonauth Sep 11 '18 at 17:03

You may try using a GNOME shell extension called Clock override. It lets you

Override the Gnome Shell clock with a new time format or text of your choice.

It supports Python's strftime format.

  • 5
    This Clock Override extension is AWESOME: it gives you complete freedom to customise the clock the way you want. Be prepared to read up the syntax for the format string though, unless you know it already from Python. – Deeday-UK Sep 10 '18 at 22:09
  • 2
    edit format to show just date and time %F %R – Scott Stensland Nov 25 '18 at 17:50

protected by Community Oct 29 '18 at 14:18

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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