local time

Started by fauser17, 2014/04/21, 23:20:17

Previous topic - Next topic

fauser17

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

GoinEasy9

#1
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.
Linux Counter number 348347

fauser17

#2
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

Bequimão

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
Bequimão (gesprochen: Be-ki-mãu) ist Manuel Beckmann,
brasilianischer Revolutionär in Maranhão (1630 - 1685).

sunrat

It is also possible to set Windows to use UTC from the hardware clock.