set clock preferences

Asked by Chris Marsh

I've tried several times to save my clock, location and weather preferences. I've even tried "Set System Time." The location preferences work fine, but time and weather preferences reset themselves every time I turn off or restart by laptop. How do I permanently save my time and weather preferences?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu yelp Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Greg Beam (ki7mt) said :
#1

Chris,

First I'd try setting you tzdata, then test it.

dpkg-reconfigure tzdata

Set what you need too, then reboot the box and see if it sticks.

Then to keep things in check run a daily cron:

sudo touch /etc/cron.daily/ntpdate

With your favorite editor, edit /etc/cron.daily/ntpdate

and add the following line:

ntpdate ntp.ubuntu.com

Save & Exit.

Make sure that you make this new file executable:

sudo chmod 755 /etc/cron.daily/ntpdate

That should set your TZ correctly and things daily.

The us know if this doesn't' Solve the problem.

KE1HA

General Ubuntu Resources:
Ubuntu Manual - http://ubuntu-manual.org/
Server Manual - https://help.ubuntu.com/10.04/serverguide/C/serverguide.pdf
Other Documentation - https://help.ubuntu.com/10.04/index.html
IRC Channel Support on irc.freenode.net : #ubuntu #kubuntu #xubuntu

Can you help with this problem?

Provide an answer of your own, or ask Chris Marsh for more information if necessary.

To post a message you must log in.