150

Is it possible to show the seconds on the clock in GNOME 3?

5 Answers 5

189

Not sure when this path changed, but as of Ubuntu 13.04 the seconds display can be set in the terminal with:

gsettings set org.gnome.desktop.interface clock-show-seconds true

To turn seconds display off:

gsettings set org.gnome.desktop.interface clock-show-seconds false

and checked with:

gsettings get org.gnome.desktop.interface clock-show-seconds
9
  • 3
    For those who prefer the GUI way, @MichelSamia gives another answer based on gnome-tweak-tool
    – Didier L
    Jun 16, 2017 at 17:28
  • At first it did not work on my Debian 9. It gave: (process:23119): dconf-WARNING **: failed to commit changes to dconf: Cannot autolaunch D-Bus without X11 $DISPLAY. I checked the value of $DISPLAY and it was blank! So I started a new terminal, $DISPLAY was :0 and this time it worked. Nov 14, 2018 at 16:01
  • 3
    Works on ubuntu 20.04 Nov 27, 2020 at 2:58
  • 1
    Worked for me on the beta of Ubuntu 22.04.
    – mpontillo
    Apr 5, 2022 at 22:27
  • 1
    This still working on ubuntu 23.04 without reboot Sep 19, 2023 at 9:52
54

GUI way:

  1. launch gnome-tweak-tool, sometimes called Advanced Settings
  2. click the Top Bar menu
  3. enable Show seconds
3
  • 2
    I found this on my new RHEL 7 VM was called "Tweaks". It was a separate application from "Settings". May 18, 2020 at 19:51
  • 5
    gnome-tweak-tool is changed to now gnome-tweaks. Aug 24, 2022 at 10:03
  • Worked great for me on Ubuntu 22.02 (using gnome-tweaks instead of gnome-tweak).
    – KBurchfiel
    Jun 21, 2023 at 16:20
50

The GUI way to do this, (on 22.04 LTS) seems to be:

sudo apt install gnome-tweaks

Before 20.04 LTS the package name was different:

sudo apt install gnome-tweak-tool

and then launch "Tweaks" either by searching for it in Applications menu or launching gnome-tweaks from terminal.

From there you'll see something like this:

Gnome Tweak Tool - Top Bar seconds adjustment

2
  • 5
    ugh. having to install a separate tool isn't "user-friendly" in my mind.
    – Michael
    Dec 2, 2020 at 0:49
  • @Michael so you better want to put strange things on Terminal? Mar 3, 2022 at 14:27
17

Yes, run this command in a Terminal:

gsettings set org.gnome.shell.clock show-seconds true

And you can verify with:

gsettings get org.gnome.shell.clock show-seconds

Or you can install dconf-tools Install dconf-tools and use dconf-editor to browse to org.gnome.shell.clock

1
  • 8
    No such schema 'org.gnome.shell.clock' → gsettings set org.gnome.desktop.interface clock-show-seconds true
    – Dereckson
    Jun 4, 2016 at 23:14
3

For MATE Desktop (the continuation and fork of GNOME 2 with GTK+ 3 support), you can achieve this using the graphical user interface (GUI)!

  • Right-click on date and time:
    enter image description here
  • Go to Preferences
  • Now enable the Show seconds
    enter image description here

The end result:
enter image description here

Drink beer and Vote me up, cause it rocks!

You must log in to answer this question.

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