Re: ubuntu breezy and local time

Ulrich Hertlein <[email protected]> Sat, 24 Sep 2005 12:27:36 +0200
Newsgroups gmane.compw.window-managers.windowmaker.user
Message-ID <[email protected]>
On Saturday 24 September 2005 06:15, sujit sinha wrote:
> I put export TZ=US/Eastern in .bashrc. That apparantly solved the problem,
> if I type date I get the right date and time. But the interesting thing is
> that wmclock still gives me the wrong time and date.
>
> As to how this happened, I upgraded from Hoary to Breezy using
> dist-upgrade. It probably deleted some link it shouldn't have.

WindowMaker is probably started from .xsession and therefore may not run 
the .bashrc file (whereas a terminal will of course do this). wmclock is 
started by WindowMaker and inherits it's environment and therefore is still 
in the old timezone.

You really should try to set the systems timezone appropriately to get this 
right. I don't know about ubuntu but this is usually done with /etc/localtime 
being a symbolic link to the timezone file. On Gentoo this is 
in /usr/share/zoneinfo.

/Ulrich

-- 
Ulrich Hertlein         [email protected]
If it's not burning, it's a software problem.
_______________________________________________
INFO: https://windowmaker.org/lists/listinfo/wm-user
ARCHIVE: https://windowmaker.org/lists/archive/wm-user/
FAQ: http://windowmaker.org/faq.html