Show date and time in Ubuntu top panel

By default settings of Ubuntu GNOME editions, you only see the day and time in the mid of the top panel. It would be helpful to display the weekday, date, and time as well which can come in handy while writing emails, preparing schedules, or making a presentation.

The default Ubuntu GNOME settings only include options set the Time Format including 24-hour and 12-hour format.

GNOME Time and Date Settings
GNOME Time and Date Settings

Display Day, Date, and complete Time in Ubuntu

This guide works in Ubuntu 17.10, 18.04, and basically all GNOME editions. We shall discuss command-line way as well as the GUI way. You can use any of the methods, but basically, both are doing exactly the same. In both the methods, the GNOME GSettings are getting edited. Method 2 uses the dconf editor which is nothing but a user interface for accessing the GNOME Gsettings.

Method 1: Command-line Way

Step 1) Launch ‘Terminal’.

Step 2) Copy and paste the following commands one at a time followed by pressing enter.

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

That’s it! You should immediately see the Day, Date, and Time including Seconds in the Top panel.

Method 2: GUI Way

The same setting adjustment can be made by graphical user interface method by using dconf-editor.

Step 1) Launch ‘Terminal’.

Step 2) Enter the following command and press enter to install dconf-editor.

sudo apt install dconf-editor

Step 3) Go to “Activities” and launch “dconf-editor”.

Launching dconf-editor
Launching dconf-editor

Step 4) Carefully navigate to org/gnome/desktop/interface. Turn on the “clock-show-date” and “clock-show-seconds”.

ALSO READ  Ubuntu 19.04 "Disco Dingo" Release Date and New Features
Dconf Editor - Show Date and Complete Time
Dconf Editor – Show Date and Complete Time

You should instantly see the day, date, and time including seconds in the top bar.

Previous articleHow to automount hard disks on boot in Ubuntu
Next articleHow to update Manjaro using command line in the Terminal
Hi there! I'm Kiran Kumar, founder of I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

Leave a Reply

2 Comment threads
0 Thread replies
Most reacted comment
Hottest comment thread
2 Comment authors
Guest2Raj Recent comment authors
newest oldest most voted
Notify of

nice post! thanks, it worked for me.


I was puzzled for much longer than I care to admit at step 4 of “Method 2” (using dconf-editor) since the screen I saw when I first started that program didn’t at all match the screenshot depicted in that step. The instructions here do say to “carefully navigate to org/gnome/desktop/interface” but they don’t explain *how*. I eventually found you have to click on the tiny icon (a check within a circle) that’s displayed at the far left of the title bar for the window the program runs in. I was especially confused because the screen I landed at upon starting… Read more »