1

I just want to display the hour, because It looks more clean, this option was removed and I can't find a way to just hide the day/date from the options, even elemetary-tweaks cant do that, do you guys know where is the file that contains the code of this ?, maybe I can change it by myself

1

You can download the indicator source with

apt source wingpanel-indicator-datetime

I would start at the source file src/Widgets/PanelLabel.vala: it seems that removing (all occurences of) the date_label variable does the trick.

After you can build and install the package

debuild -us -uc
sudo dpkg --install ../wingpanel-indicator-datetime*.deb
  • I commented inline 54/// this.add (date_label); I think will work but how I compile this? or add to the system? – Egon Stetmann. Jan 25 '17 at 1:02
  • I think that you should ask a new question: how to compile a (debian) package? :) – lemonslice Jan 25 '17 at 8:54

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.