You are not logged in.

#1 2007-05-07 14:36:01

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Where to set the time?

Hello,

I am kinda still a newbie, but I don't think my troubles to get the time in the Gnome-panel and XFCE-panel right are caused by me being relatively new to Linux/Arch.

This is my rc.conf:

LOCALE="nl_BE.utf8"
HARDWARECLOCK="UTC"
TIMEZONE="Europe/Brussels"
KEYMAP=be-latin1

I set my bios to the utc-time I found on wikipedia, and now XFCE adds 3 hours in the panel and gnome adds 2 hours in the panel... I didn't think I had to edit something else but my rc.conf, no?

Zl.

Last edited by zenlord (2007-05-07 14:37:16)

Offline

#2 2007-05-07 18:16:22

Origynet
Member
From: France - Cannes
Registered: 2007-05-03
Posts: 101

Re: Where to set the time?

Isn't it possible to set the system date by simply using the "date" command ?
I do not recall the exact syntax but you should try it... at least google search might find the syntax for you...


Piou Piou

Offline

#3 2007-05-07 18:42:32

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Where to set the time?

Won't this be a temporary solution, as for this session only?

Before i go issuing those commands, I'd like to be sure that I don't have to alter the time/date-settings in some other file. It would go against the KISS-principle, of course - but I don't have any explanation why my timesettings have been wrong from day 1 (some 2-3 weeks ago, but I don't use that machine often...)

THX for your reply!

Zl.

Offline

#4 2007-05-07 18:48:38

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Where to set the time?

No, all settings are in rc.conf. Are you multi-booting perhaps? Other OS's could be setting your hardware clock wrong...
And I had a wrong time on arch too when I had set the time in my rc.conf, but I've corrected it once and it remained correct ever since smile

Offline

#5 2007-05-07 19:02:55

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Where to set the time?

Yes, I am dualbooting... But I don't know if I can do anything about that (other than removing the other OS)?

I'll make a change to my time settings and see what it does for my situation...

THX!
Zl.

Offline

#6 2007-05-07 19:22:06

toofishes
Developer
From: Chicago, IL
Registered: 2006-06-06
Posts: 602
Website

Re: Where to set the time?

If you are dual booting with Windows, you don't want your HARDWARECLOCK setting to be "UTC". You probably want the "localtime" setting instead, which tells Linux that the hwclock is set to the local time (which is the only behavior supported by Windows).

Offline

#7 2007-05-07 19:42:51

mouse256
Member
From: Antwerpen, Belgium
Registered: 2005-08-24
Posts: 247

Re: Where to set the time?

LOCALE=en_BE.UTF-8
HARDWARECLOCK="localtime"
TIMEZONE=Europe/Brussels
KEYMAP=be-latin1

This is what I'm using and is working perfectly, so I suppose you should use this too

btw: Nog belgen die archlinux gebruiken tongue

Offline

#8 2007-05-07 20:13:47

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: Where to set the time?

mouse256 wrote:

btw: Nog belgen die archlinux gebruiken tongue

Absoluut.

I use those same settings too wink

Offline

#9 2007-05-07 21:56:09

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,221
Website

Re: Where to set the time?

Well, using "localtime" certainly works. I didn't know that windows would be the culprit in this case. I'll be changing the boot order now and removing windows later - this is our home pc, so I have to convert my folks slowly wink

THX!

Zl.

Offline

Board footer

Powered by FluxBB