Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I use Debian. I live in the United States Eastern time zone, my clock on the taskbar does not add the 4 hours it needs to. But when I right click the clock it and select "Date & Time Format..." the clock in there has the correct time. What is going on. I thought the time that is shown in the Dialog box would be the time KDE would show on the taskbar.
Not quite sure, I have Debian testing with KDE on 3 computers and none of them can keep time properly. If you have an "always-on" internet connection, you can try installing ntpdate, I'm on dial-up so I have to go with hardware clock.
It keeps the time fine, it's just that it's not showing the correct time on the taskbar according to my region. Like I said, in the dialog box it's always correct though.
the clock in KDE's kicker actually can show different time zones.
try scrolling your scroll wheel on top of it.
btw, you distro might also have an option about setting the system or BIOS time to Greenwhich mean time, so check your distro's control panels (not kde's)
Something else I just noticed...when I create a file, that time is also correct!
Why won't my KDE clock show the right time? It's obvious that the system has the right time.
Selecting different time zones and scrolling through them does not fix it. I should be the same as New York, and New York time zone show the same as I have. Why is this happening. Is it a bug?
KDE: 5:23
Date & Time Format...: 9:23
hwclock shows:
Sun 01 Jul 2007 09:23:17 AM UTC -0.386231 seconds
I see UTC there so...I changed UTC to yes in hopes that will fix it. I doubt it though.
KDE: 5:23
Date & Time Format...: 9:23
hwclock shows:
Sun 01 Jul 2007 09:23:17 AM UTC -0.386231 seconds
So, there's a 4 hour difference. In summertime ("Daylight savings") NYC is 4 hours behind UTC.
So your hardware clock is set to localtime.
Did you read that link I gave you in post #10?
From man hwclock
Code:
The following options apply to most functions.
--utc
--localtime
Indicates that the Hardware Clock is kept in Coordinated Univer‐
sal Time or local time, respectively. It is your choice whether
to keep your clock in UTC or local time, but nothing in the
clock tells which you’ve chosen. So this option is how you give
that information to hwclock.
If you specify the wrong one of these options (or specify nei‐
ther and take a wrong default), both setting and querying of the
Hardware Clock will be messed up.
If you specify neither --utc nor --localtime , the default is
whichever was specified the last time hwclock was used to set
the clock (i.e. hwclock was successfully run with the --set ,
--systohc , or --adjust options), as recorded in the adjtime
file. If the adjtime file doesn’t exist, the default is local
time.
pc:/etc/X11# hwclock --localtime
Sun 01 Jul 2007 11:15:45 AM UTC -0.048504 seconds
pc:/etc/X11# hwclock --utc
Sun 01 Jul 2007 11:15:56 AM UTC -0.982689 seconds
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.