Is it possible to show the seconds on the clock in GNOME 3?
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
-
3For 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 -
-
-
GUI way:
- launch gnome-tweak-tool, sometimes called Advanced Settings
- click the Top Bar menu
- enable Show seconds
-
1I 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
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 and use
dconf-editor
to browse to org.gnome.shell.clock
-
2No such schema 'org.gnome.shell.clock' →
gsettings set org.gnome.desktop.interface clock-show-seconds true
– Dereckson Jun 4 '16 at 23:14
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:
-
1ugh. having to install a separate tool isn't "user-friendly" in my mind. – Michael Dec 2 '20 at 0:49
For MATE Desktop (the continuation and fork of GNOME 2 with GTK+ 3 support), you can achieve this using the graphical user interface (GUI)!
Drink beer and Vote me up, cause it rocks!