88

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

108

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
5
  • 3
    For those who prefer the GUI way, @MichelSamia gives another answer based on gnome-tweak-tool – Didier L Jun 16 '17 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. – Gabriel Devillers Nov 14 '18 at 16:01
  • Works in Fedora 32 as well – Water May 1 '20 at 18:17
  • Works on ubuntu 20.04 – codename_47 Nov 27 '20 at 2:58
  • not working. Do I need to restart ? – Moon Jan 13 at 4:08
39

GUI way:

  1. launch gnome-tweak-tool, sometimes called Advanced Settings
  2. click the Top Bar menu
  3. enable Show seconds
1
  • 1
    I found this on my new RHEL 7 VM was called "Tweaks". It was a separate application from "Settings". – ArtOfWarfare May 18 '20 at 19:51
15

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
  • 2
    No such schema 'org.gnome.shell.clock' → gsettings set org.gnome.desktop.interface clock-show-seconds true – Dereckson Jun 4 '16 at 23:14
13

The most user-friendly way to do this, (on 20.04 LTS) seems to be:

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

1
  • 1
    ugh. having to install a separate tool isn't "user-friendly" in my mind. – Michael Dec 2 '20 at 0:49
1

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!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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