Siduction Forum

Siduction Forum => Software - Support => Topic started by: fauser17 on 2014/04/21, 23:20:17

Title: local time
Post by: fauser17 on 2014/04/21, 23:20:17
i am in dual boot with Windows so i would like my system clock on LOCAL not UTC.
I cannot find the file /etc/adjtime, as i am use to in Debian, to set the correct variable on LOCAL.
How can i do it in Siduction Kde.
Thanks for help
Title: Re: local time
Post by: GoinEasy9 on 2014/04/22, 01:01:16
Did you try
dpkg-reconfigure tzdata ?

Edit: Actually, in KDE, I just go to System-Settings --> Date and Time, and I'm able to mark/unmark UTC, and, reset the time from there successfully.
Title: Re: local time
Post by: fauser17 on 2014/04/22, 11:05:47
What i want to do is change definitely the Bios clock (CMOS) to local time because "Windows" works like that and we can't change it easily. So, bad or not is out of me.
I don't think Kde can do that. I think it changes the desktop clock only, but i will verify when i'll be on a Kde desktop.
It depends of the scripts of services systemd.
I'm going to create /etc/adjtime file to write LOCAL in it and see what happens. I'm practically sure it's going to work, because this is the way Debian set the system (hardware) clock to UTC or LOCAL.
As for dpkg... it only fixes the timezone to adjust the desktop-clock on the local time.

A good link about it :http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter07/clock.html (http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter07/clock.html)
Title: Re: local time
Post by: Bequimão on 2014/04/22, 21:02:06
Yes, that will work

$ cat /etc/adjtime
0.049951 1398143873 0.000000
1398143873
LOCAL

Note: this is Debian testing, and systemd is not activated.

Best regards,
Bequimão
Title: Re: local time
Post by: sunrat on 2014/04/24, 15:33:51
It is also possible to set Windows to use UTC from the hardware clock.