I like to have the date and time in ISO format (2017-10-30 19:57) on the top right of the screen. I also like to be able to configure things from the command line (an issue not addressed in the suggested "duplicate"), so that when I reinstall the OS I can just run a script and get my preferred configuration back.
After some painful digging around (and, I'm sure, some helpful askubuntu posts) way back then, I managed to get what I wanted. The following worked for several releases, up to and including 16.04 LTS:
gsettings set com.canonical.indicator.datetime time-format "'custom'"
gsettings set com.canonical.indicator.datetime custom-time-format "'%a %F %R'"
But it no longer works in Ubuntu 17.10 (I haven't tried Ubuntu 17.04). Can anyone figure out the equivalent settings for Ubuntu 17.10?
I launched dconf-editor
and a search for "time-format" did not yield any results.
Here on askubuntu there seem to be several posts on changing date/time format but I could not find one relevant to Ubuntu 17.10.
%Y-%m-%d %H:%M
". – pomsky Oct 30 '17 at 20:24~/.local/share/gnome-shell/extensions/
and then you can activate/deactivate or customise them using GNOME Tweaks or from https://extensions.gnome.org/local/ (with the browser add-on). Also you may try togit clone
if you know the source. 2. Once installed you may launchdconf-editor
and navigate to/org/gnome/shell/extensions/
. You'll see the extensions and their configurations and be able to change them. Sogsettings
should work accordingly.dconf-editor
/gsettings
as suggested above. – pomsky Oct 30 '17 at 22:35