Funny date/time behaviour

3 réponses [Dernière contribution]
rfb
rfb
Hors ligne
A rejoint: 01/29/2020

Hello there,

I’ve had weird date and time issues since I removed the (almost) dead battery from my laptop. The laptop is completely shut down and unplugged. When Trisquel starts, the time and date is completely inaccurate and after click on it in the task bar, it adjusts to the good one. It doesn’t happen if the laptop is shut down but plugged in.
Also, when I leave sleep mode, the time is set to the moment I entered the sleep mode and it takes several seconds to adjust and to let me type my password.

I heard about CMOS battery (I have a ThinkPad T400s with Libreboot) which I can change. If I change it, I know that I’ll need to reset the hardware clock with the system clock settings. Before doing this, I want to be sure that I don’t have any time issue within Trisquel itself. So, I went to Date & Time settings and I noticed that it was set to ‘Manual’. When I changed it so it can synchronize with the server, it asks me to install NTP support. If I accept, I get the error shown in the attached screenshot.

Also, running timedatectl gives:

Local time: lun. 2020-03-23 13:50:49 CET
Universal time: lun. 2020-03-23 12:50:49 UTC
RTC time: lun. 2020-03-23 12:50:49
Time zone: Europe/Paris (CET, +0100)
Network time on: yes
NTP synchronized: yes
RTC in local TZ: no

It looks synchronized so I’m a little bit lost with all this date/time issues. First, is there a way to activate the NTP support in the GUI?

Fichier attachéTaille
NTP.png22.77 Ko
Magic Banana

I am a member!

Hors ligne
A rejoint: 07/24/2010

I believe your CMOS battery is indeed dead and network time synchronization is active on your system, as 'timedatectl' reports. Your desktop environment just does not seem to know systemd takes care of it.

rfb
rfb
Hors ligne
A rejoint: 01/29/2020

Thanks. I believe it’s a bug in MATE (I use the default MATE from Trisquel installation). Is there any fix for the GUI? Or perhaps this will be fixed with Trisquel 9?

As for the CMOS battery, I guess it’s worth changing it anyway, it’s not expensive at all.

Magic Banana

I am a member!

Hors ligne
A rejoint: 07/24/2010

I personally use GNOME. Maybe a MATE user can answer you.