I’ve installed manjaro xfce on this older desktop computer a few days ago, and I notice that when I turn the computer on in the morning (after it was switched off during night), the system clock in the right bottom area shows incorrect time. Today when it was 13:11 pm it was showing 13:27 or something like that.
The time zone is set correctly, from what I can see (Belgrade, Serbia, CET), although I have to mention that yesterday it seemed as if manjaro forgot this setting from what I said during setup and I had to adjust it again.
I use this command to adjust the clock automatically :
sudo ntpd -qg
and now, apparently, I will have to use it every time when I start the computer after it was switched off.
Could somebody help me with this issue? It didn’t happen on this computer with any other OS, and I used to have Mint and Win7.
But why is it even necessary? Once set up correctly, shouldn’t the system clock keep showing the correct time? After all, it relies on the hardware clock, which to my knowledge, always used to work flawlessly on this computer.
Manjaro is now the only OS on this computer that I use. There’s one old Mint installation but it is encrypted and I forgot the password, so I was unable to log in. The win7 installation doesn’t exist anymore here.
Not sure what real-time patches are. But this is what I see about my kernel:
The lithium cells usually used (CR2) can hold power a long time - but eventually they die too. If it is a desktop type then it is - usually - quite easy to replace the battery - it’s worse with laptops - the systemd-timesyncd is a real lifesaver
That’s not a real-time kernel. The most recent real-time kernel is 5.9.1_rt19-1, but you most likely don’t need that. Real-time kernels have special patches for time-sensitive stuff, e.g. for professional audio-/video-processing.
If the computer was not connected to the wall power all this time that it was down, then yes, chances are that the battery’s dead. But this will also mean that any custom settings in the BIOS or UEFI have been reverted back to factory defaults.
Best is to replace the battery. They’re about the size of a coin and they’re not expensive.