37

Ubuntu 20.04 LTS by default has the date and time show on the top of the desktop.

How can I include the weekday (examples: Sunday, Monday, ect)?

I want the day of the week show with the date and time how do i do this?

date I am referencing is shown in top center of screen shot. enter image description here

CrandellWS
  • 637
  • 8
  • 21

4 Answers4

85

To show the weekday in addition to the date and time in Ubuntu 20.04, use the command line tool called "gsettings".

It's a good idea to view your current settings first. So open the terminal and run this command:

gsettings list-recursively org.gnome.desktop.interface

It will return various Gnome interface settings, and the one you are interested in is "clock-show-weekday" (with the value "false").

Set the "clock-show-weekday" to "true" by running this command:

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

Once you hit Enter, you will will see the weekday displayed with the weekdays shown.

graham
  • 9,753
  • 18
  • 37
  • 59
adilbek
  • 966
  • 6
  • 2
7

You can try this in the terminal.

gsettings set org.gnome.desktop.interface clock-show-date true
gsettings set org.gnome.desktop.interface clock-show-seconds true
gsettings set org.gnome.desktop.interface clock-show-weekday true
karel
  • 110,292
  • 102
  • 269
  • 299
Arvind Kumar
  • 171
  • 1
  • 2
4

Install GNOME Tweaks like this:

sudo apt install gnome-tweaks

After installing it open the app named "Tweaks", find menu item named "Top Bar" and then enable weekday:

Screenshot

GNOME Tweaks is a wonderful tool that should be installed after installing synaptic but before installing anything else.

Flimm
  • 40,306
  • 22
  • 94
  • 154
0

To add on to the other excellent answers, it's possible to get the following error/warning while changing org.gnome.desktop.interface settings:

GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.

the issue was discussed here and the general answer is that environment variable GIO_EXTRA_MODULES need to point to the location of gio modules like so:

export GIO_EXTRA_MODULES=/usr/lib/x86_64-linux-gnu/gio/modules/

To make the above permanent, this needs to be put in .bashrc

After doing so, org.gnome.desktop.interface will be saved.

Viet Than
  • 31
  • 1
  • 5