0

I'm on ubuntu 16.04 and I was wondering if there was a way I could get the default clock in the upper right to display the month as a number instead of as a word. For example, instead of "Tue Apr 25 2017", it would display "Tue 17/4/25" or "Tue 4/25/17".

0

1 Answer 1

0

You can achieve that using gsettings in the following way. Open your terminal and type in the following commands as displayed below:

gsettings set com.canonical.indicator.datetime show-clock true
gsettings set com.canonical.indicator.datetime time-format custom
gsettings set com.canonical.indicator.datetime custom-time-format "%a %m/%d/%y"

Result: Tue 4/25/17

Source:

Here you will can get other format strings that can also be used.

https://chrisjean.com/customize-ubuntu-unity-time-date-indicator/

2
  • Please note the update for the day name its %a not %b as earlier written... Apr 26, 2017 at 3:48
  • 1
    Yeah, I'm working off the man page anyways. Thank you!
    – Cyncopate
    Apr 26, 2017 at 3:49

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