PDA

View Full Version : Setting Time Zone



smsmith
Feb 10th 2010, 02:03 PM
I installed Lucid a couple of days ago, I believe it was the Alpha 2 release ISO. Things went well enough (not counting that nasty "can't find ethias theme" bug from an update) except for every time I tried to set my time zone in the installer, it would crash. So I left it at default, which was Andora, thinking I could just change it later.

So now it's later, and when I go into the Time and Date settings, I can select a different time zone, but the apply button does not become active. In short, I can't change it there.

So then I ran "sudo tzselect" and went through the steps to change it that way. At the end of the setup, tzselect tells me to add a line to ~/.profile and then logout and log back in. But, the clock still defaults to Andora as local time, even though "echo $TZ" reports the correct time zone. Going back into Time and Date settings shows Andora as the current time zone. I have modified the .profile in both my user and root.

Anyone have any suggestions besides just telling the clock to show a different time zone? Since the system is off, it reports my mail as having been sent at a different time.

Thanks!

Rog131
Feb 10th 2010, 02:52 PM
What do you have in the ~/.kde/share/config/ktimezonedrc ?

After turning the time zone to the Hermosillo:

[TimeZones]
LocalZone=America/Hermosillo
ZoneinfoDir=/usr/share/zoneinfo
Zonetab=/usr/share/zoneinfo/zone.tab
ZonetabCache=

Who is the owner of the ~/.kde/share/config/ktimezonedrc ?
Should be you.

smsmith
Feb 11th 2010, 01:00 AM
[TimeZones]
LocalZone=Europe/Andorra
ZoneinfoDir=/usr/share/zoneinfo
Zonetab=/usr/share/zoneinfo/zone.tab
ZonetabCache=

That's the original contents. I change it to my preferred time zone, log out and log back in, and the contents have been rewritten to the above. After changing the file, going into the Time and Date settings shows the corrected time zone. However, the clock is still defaulting to Andorra local time. After logging back in, the Time and Date settings once again show Andorra.

I am listed as the user and group in the Ownership section of the file properties. I have read and write access.

smsmith
Feb 11th 2010, 08:45 PM
I also noticed that in /usr/share/zoneinfo/zone.tab that Europe/Andorra is the first entry.

Rog131
Feb 12th 2010, 03:54 PM
Have you tried with a new user ?
Is there the same problem ?

smsmith
Feb 13th 2010, 04:37 PM
Have you tried with a new user ?
Is there the same problem ?

It doesn't appear that I can create a new user account, something keeps crashing and I haven't found a way around it.
http://img51.imageshack.us/img51/1223/201002131126041280x800s.th.png (http://img51.imageshack.us/i/201002131126041280x800s.png/)

[edit]
I played around with useradd and managed to make a new user. It defaulted to Europe/Andorra and could not be changed in the Time & Date settings.