Fedora Linux Support Community & Resources Center
  #1  
Old 16th August 2012, 12:06 AM
Areal Person Offline
Registered User
 
Join Date: Nov 2009
Posts: 38
linuxfirefox
System Clock controll using Xfce on F17

The clock/date control is very poor on my F17 Xfce desktop and there is NO calendar
I cant set the clock without opening an Xterm and looking up the time then entering
a cryptc date/time command every day.

Is there any way to have a nice clock/calendar that works on it's own ??

Thanks,
-Areal
Reply With Quote
  #2  
Old 16th August 2012, 11:31 AM
george_toolan Offline
Registered User
 
Join Date: Dec 2006
Posts: 2,078
linuxfirefox
Re: System Clock controll using Xfce on F17

Try to replace your cmos battery ;-)

And your internet connection is broken too? Most people use NTP to set the correct date/time these days.
Reply With Quote
  #3  
Old 16th August 2012, 02:02 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,994
linuxfirefox
Re: System Clock controll using Xfce on F17

The package for network time is 'chrony'
sudo yum install chrony
sudo systemctl enable chronyd.service
sudo systemctl start chronyd.service



But there are at least 3 possible causes of your difficulty.

1/ Random time badness. You've got a bad CMOS clock or bad CMOS clock battery. Note that Linux read the CMOS clock once at boot, and then keeps it's own 'kernel clock' time using timers. UNLESS you or a tool like chrony resets it. Linux *may* set the CMOS clock on shutdown IF you have it configured.
2/ If the time starts out OK after boot then gets worse and worse - your system may have some HW/interrupt problems. It rare but some PCs have this problem.
3/ If your time is off by exactly N hours, then check if your CMOS clock is set to local time instead of UMT and it's Windoze messing w/ your clock. Windoze systems can only handle the HWclock set to localTime (terrible design decision), and they are too inflexible to use UMT then calculate local time. So if you dual-boot the system you need to set the CMOS clock to localtime and then configure your Linux accordingly. This is a workaround for Windoze stupidity.

---------- Post added at 08:02 AM ---------- Previous post was at 06:03 AM ----------

Try adding the 'orage' panel clock to a panel.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 16th August 2012 at 08:15 PM. Reason: corected wrong unit name
Reply With Quote
  #4  
Old 16th August 2012, 02:19 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: System Clock controll using Xfce on F17

The date-time plugin (available from the panel options) has a pop-up calendar too.

edit- and regarding chrony, the commands are

Code:
# systemctl enable chronyd.service
# systemctl enable chrony-wait.service

Last edited by secipolla; 16th August 2012 at 05:06 PM.
Reply With Quote
  #5  
Old 16th August 2012, 06:49 PM
Areal Person Offline
Registered User
 
Join Date: Nov 2009
Posts: 38
linuxfirefox
Re: System Clock controll using Xfce on F17

I'm using F17

NONE of these commands work !!

Last edited by Areal Person; 16th August 2012 at 06:57 PM.
Reply With Quote
  #6  
Old 16th August 2012, 07:18 PM
secipolla Offline
Registered User
 
Join Date: May 2011
Posts: 700
linuxfirefox
Re: System Clock controll using Xfce on F17

su
yum install chrony
systemctl enable chronyd.service
systemctl enable chrony-wait.service

That will install chrony and enable it to run at boot time.
So it won't run right away. If you want to use it to synchronize the clock right after installing it, run

chronyd -d

then wait it synchronize the clock and end it with ^C (ctrl+c)

Maybe running

systemctl start chronyd.service

will do too.
Reply With Quote
  #7  
Old 16th August 2012, 08:18 PM
Areal Person Offline
Registered User
 
Join Date: Nov 2009
Posts: 38
linuxfirefox
Re: System Clock controll using Xfce on F17

Yes,

That worked !!!

Thanks so much
Reply With Quote
  #8  
Old 16th August 2012, 08:21 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,994
linuxfirefox
Re: System Clock controll using Xfce on F17

Quote:
Originally Posted by Areal Person View Post
I'm using F17

NONE of these commands work !!
Well you keep yelling "Help, Help" but you refuse to post any information about the problem.

If a command "doesn't work" you need to cut-n-paste the command and error response in your message.

Go re-read the 3 likely causes in post #3, and then tell us which one describes you problem.

Then read this before you reply.
http://forums.fedoraforum.org/showthread.php?t=282819
You're wasting time & effort of others. Do your part.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 17th August 2012 at 02:13 PM.
Reply With Quote
  #9  
Old 17th August 2012, 01:34 AM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,637
linuxfirefox
Re: System Clock controll using Xfce on F17

FYI, on modern Mobos, the CMOS is designed to make the clock run slow if the battery's weak, giving you a warning that it needs replacement. If the clock's gaining time, or the change is random, it's very unlikely that the battery is the issue.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
  #10  
Old 17th August 2012, 02:50 PM
stevea Offline
Registered User
 
Join Date: Apr 2006
Location: Ohio, USA
Posts: 8,994
linuxfirefox
Re: System Clock controll using Xfce on F17

Quote:
Originally Posted by sidebrnz View Post
FYI, on modern Mobos, the CMOS is designed to make the clock run slow if the battery's weak, giving you a warning that it needs replacement. If the clock's gaining time, or the change is random, it's very unlikely that the battery is the issue.
Not true. The CMOS clocks run off a crystal oscillator (similar to a watch) that either runs at the spec frequency or doesn't run at all. The gating of the counters is all deterministic. There is no "slow down" feature in the design.

When the voltage is low the oscillator may not operate or the CMOS gates will fail to clock and/or fail to keep it's settings. It can clock incorrectly on a gate-by-gate where this is more likely to impact the higher frequency but lower drive current gates (internal higher frequency counters). So in some cases a low voltage condition can result in missed clock counts, but this is not a design feature but an artifact of the CMOS design and is not a reliable symptom.

My experience is the dead-battery CMOS clock will most often lose the value of current time when powered off and resume from a 'garbage' or 'semi-random' time when power is reapplied. Of course when the system is powered up it operates normally, but from an unacceptable starting value.

So either random time values or random amounts of lost time, or time lost equal to time since last shutdown represent a possible CMOS clock battery failure.


OTOH if the OPs clock is always off by LOCALTIME-UMT hours - that's a different story. IF the OP sets the time, then as the system runs he loses time ... that's yet a different story. Without more info all suggestions represent a 'shotgun' approach and not a diagnostic cure to the problem.
__________________
None are more hopelessly enslaved than those who falsely believe they are free.
Johann Wolfgang von Goethe

Last edited by stevea; 17th August 2012 at 03:46 PM.
Reply With Quote
  #11  
Old 17th August 2012, 08:28 PM
sidebrnz Offline
Registered User
 
Join Date: Oct 2007
Location: Freedonia
Age: 65
Posts: 2,637
linuxfirefox
Re: System Clock controll using Xfce on F17

Interesting. I wonder why they removed a feature that's been standard for over twenty years that I know of.
__________________
Registered Linux user #470359 and permanently recovered BOFH.

Any advice in this post is worth exactly what you paid for it.
Reply With Quote
Reply

Tags
clock, controll, f17, xfce

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
XFCE - System Clock Mucking About KitchiRUs Using Fedora 2 27th May 2012 05:46 PM
hardware clock system clock vanderkerkoff Using Fedora 2 8th December 2007 01:50 PM
System clock slow; Hardware clock fine voxelbox Using Fedora 8 23rd September 2004 05:43 AM
system freezes after a period, something to do with system clock alexlambdax Using Fedora 5 18th July 2004 06:05 AM


Current GMT-time: 16:04 (Thursday, 27-11-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
Boulevard d'Avroy Travel Photos on Instagram