Removing clock and date from wingpanel

Asked by fos4

Hi. I want to completly remove clock and date from wingpanel. I can do this by dconf-editor /com/cannonical/indicator/datetime. When I check and uncheck show-clock, date and time disapear, but after restart system they appear again on wingpanel.
I really want to do this, please help :)

Question information

Language:
English Edit question
Status:
Solved
For:
Wingpanel Edit question
Assignee:
No assignee Edit question
Solved by:
fos4
Solved:
Last query:
Last reply:
Revision history for this message
fos4 (fos4) said :
#1

I solved my problem :) In /com/cannonical/indicator/datetime i type nothing or space in custon-time-format, and select custom in time-format.

Revision history for this message
Adrian Widerski (adrian-widerski) said :
#2

Hmmm....

System settings -> Date&Time -> Clock -> First option?

Revision history for this message
fos4 (fos4) said :
#3

Unfornutally It works as changing options in dconf (from my first post) so it come back when you resart the system.

Revision history for this message
Victor Martinez (victored) said :
#4

A better way to do this would be by blacklisting the date and time indicator.

To do so, you'd only need to add 'libdatetime.so' to the following GSettings key: /org/pantheon/desktop/wingpanel/blacklist.

Here's a quick command to achieve what I mention:
$ dconf write /org/pantheon/desktop/wingpanel/blacklist "['libappmenu.so','libdatetime.so']"

Run the following command to restart and see the changes, as long as Cerbere is running:
$ killall wingpanel

Thank you for your question!