You are not logged in.

#1 2012-05-12 10:50:40

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

[SOLVED] hwclock and date time differs

hi people of archlinux

i have been using arch for quite some time, and i am satisfied with its performance on my eee 701sd.

lately, i've been checking on the clock in the xfce4-panel, and realized a difference with my house clock. i searched around the forums, but no avail. here's the output of both hwclock and date, and the rc.conf on my timezone.

> user - 12 May 18:59 - [~]
$ printf "%s\n%s\n" "$(sudo hwclock -r)" "$(date)"
Sat May 12 18:46:20 2012  -0.970314 seconds
Sat May 12 18:59:30 MYT 2012
# LOCALIZATION
# ------------
HARDWARECLOCK="UTC"
TIMEZONE="Asia/Kuala_Lumpur"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
LOCALE=
DAEMON_LOCALE="yes"
USECOLOR="yes"

the correct time is in hwclock, but xfce4-panel clock shows the date clock. is there anyway to fix this?

EDIT: i apologize. clearly i have not been looking hard enough. following the necessary steps from https://bbs.archlinux.org/viewtopic.php?id=110510. will report on status later on.

Last edited by altbdoor (2012-05-12 16:36:40)

Offline

#2 2012-05-12 11:00:31

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [SOLVED] hwclock and date time differs

Probably also worth checking out:

Time
NTP


Burninate!

Offline

#3 2012-05-12 16:36:23

altbdoor
Member
From: KL, Malaysia
Registered: 2012-04-25
Posts: 128

Re: [SOLVED] hwclock and date time differs

probably not the best solution, but i added the following line to my openbox autostart file

sudo hwclock --hctosys

this sets the hardware clock into the system clock every time i startx.

Offline

Board footer

Powered by FluxBB