4

I want to show date in top bar using gnome-tweak-tool. I get the GUI solution How to show date in top bar of deskop in ubuntu 18.04 LTS?

enter image description here

I want to get the CLI solution so that I can add this in my post OS installation script.

This question may be helpful to answer this question. How can I script the settings made by gnome-tweak-tool?

4

Open Terminal and run

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

to enable the option to show date in top bar.

  • Thanks. I like your solution. would you tell me from where you get the key clock-show-date? That helps me get another key also. – alhelal May 25 '18 at 16:46
  • 1
    @alhelal You can install dconf-Editor (GUI application) and browse all the keys and schemas. – pomsky May 25 '18 at 17:00
  • Am I right that dconf-editor is a very promising answer to OP‘s other question? If so, please write an answer about it there! – dessert May 25 '18 at 21:11
  • @dessert Hmm... that question has couple of really good answers, but I believe OP (and others) would find this very helpful: askubuntu.com/questions/522833/… – pomsky May 25 '18 at 21:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.