Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: [SOLVED] TIme (Read 979 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

[SOLVED] TIme

HI. I have a dual boot with windows10. And everytime I go into windows 10 the time is messed up. This wasn't a problem in arch because it has sisyemd-timesyncd, so the time doesn't get messed up in arch. But since I use artix (with xfce), linux thinks the time is 3 hours ahead of my timezone. The problem isn't from xfce because when I type date in the terminal it says that it's 3 hours ahead. Do you know any program like systemd-timesynkd. Sorry for the bad english

Re: TIme

Reply #1
Install chrony (+chrony-<your_init_system>; I have chrony-s6 because I use s6). Also I use this for manual clock setting:
Code: [Select]
alias ntpsync='doas ntpdate -b pool.ntp.org; doas hwclock -w'
For that you need ntpdate (package ntp) and hwclock (package util-linux). You might use sudo instead of doas, but I still recommend doas (package opendoas) as it is the same thing, but safer and simpler.

 

Re: TIme

Reply #2
Thank you so much it worked.