Author Topic: Something wrong with setting time?  (Read 476 times)

Offline dixonpete

  • Hero Member
  • *****
  • Posts: 897
Something wrong with setting time?
« on: November 04, 2012, 07:08:10 AM »
KDE has always seemed to me to be cranky about setting time.

I just tried to adjust my manually set time via right clicking the time, choosing adjust etc and using the arrow to decrement by an hour. It worked, kind of. The time changed, but now I'm looking at a dialogue box that I can't get rid of talking about system policies preventing me from saving. Well, it kinda did save my change ( the time changed) but I'm left with a dialogue box I can't move or press ok about. Buggy much?

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15279
  • ┌∩┐(◕_◕)┌∩┐
Re: Something wrong with setting time?
« Reply #1 on: November 04, 2012, 07:15:01 AM »
KDE has always seemed to me to be cranky about setting time.

I just tried to adjust my manually set time via right clicking the time, choosing adjust etc and using the arrow to decrement by an hour. It worked, kind of. The time changed, but now I'm looking at a dialogue box that I can't get rid of talking about system policies preventing me from saving. Well, it kinda did save my change ( the time changed) but I'm left with a dialogue box I can't move or press ok about. Buggy much?

Can't duplicate as it works fine here.  Have you tried restarting your desktop
PCLinuxOS 32bit KDE 4.10.1; kernel-3.4.11-pclos1.bfs & 64bit 3.2.18bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline Phil

  • Hero Member
  • *****
  • Posts: 738
Re: Something wrong with setting time?
« Reply #2 on: November 04, 2012, 07:38:49 AM »
I had an altercation with adjusting time yesterday. In kde desktop right clicked the clock to change time. When I clicked on apply and on ok it insisted on the root password. In times past I have had to revert to altering a config file to get London to stick as the timezone. Nothing like you are suggesting though.

For troublesome windows (and maybe pop ups) there is a utility called xkill in synatic. Run xkill as a command, cursor changes to a skull and crossbones, click on troublesome window, job done.

Offline CheeseQueen452

  • Hero Member
  • *****
  • Posts: 592
Re: Something wrong with setting time?
« Reply #3 on: November 04, 2012, 09:47:14 AM »
I had a similar experience this morning.... It asked for my password twice, but saved my change afterward. Why do we have to manually change the time for daylight savings, anyway? I thought that was supposed to be automatic? I don't recall doing that before....

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Something wrong with setting time?
« Reply #4 on: November 04, 2012, 11:40:10 AM »
I had a similar experience this morning.... It asked for my password twice, but saved my change afterward. Why do we have to manually change the time for daylight savings, anyway?

We don't, if we have set up ntp and if our time zone is set correctly in /etc/sysconfig/clock.

Quote
I thought that was supposed to be automatic?

It is, but for that the system clock should be syncronized to a time server on the net, and if the time zone is set incorrectly the system may adjust the time at the wrong date or not at all.

Quote
I don't recall doing that before....

You can set up ntp and specify your time zone in PCC or (as root) in System Settings (or by first right-clicking the panel clock). Or, to get greater control over your time settings, by simply editing three files under /etc.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline ternor

  • Hero Member
  • *****
  • Posts: 1791
Re: Something wrong with setting time?
« Reply #5 on: November 04, 2012, 02:58:07 PM »
I have given up trying to use the KDE clock to adjust time.  In Configure Computer (PCC) find system settings and set ntp to run on start up.  You need to make sure the correct time zone is set.  You also need to let your modem establish internet contact each time before loading your system.

You can also use PCC instead of the KDE clock to adjust time.  You may have more luck with that.

Offline dixonpete

  • Hero Member
  • *****
  • Posts: 897
Re: Something wrong with setting time?
« Reply #6 on: November 04, 2012, 04:50:53 PM »
So it's buggy, right? That seems to be the take home message. Just seems weird to me since it's a fundamental function of the desktop that everyone has to eventually use.

Offline kjpetrie

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3979
Re: Something wrong with setting time?
« Reply #7 on: November 05, 2012, 05:49:26 AM »
On a Linux system, only root can change the system time. Since the desktop runs as an ordinary user, it has no authority to change that. It can only change the time displayed on the desktop. The correct place to set the time is in PCC. Set the time zone first, then set the time. You can choose to set NTP as well, which will save you having to adjust the time again and also include support for local time changes and leap seconds With NTP your clock is very close to absolutely correct - I was once listening to an analogue radio while the clock screen saver was running, and the second hand moved exactly as each pip of the Greenwich Time Signal began - impressive. Otherwise, your PC's clock will gradually drift out of sync with real time.

I suspect if you have your time zone and location correctly set the twice yearly change will happen automatically even without NTP but I don't know as I've always used NTP.
-----------
KJP
-----------------------------------------------------------
PClos64 RC1 on Intel D945GCLF2 motherboard (Atom 330), 2GB DDR2 RAM, Maxtor STM325031, HL-DT-ST DVDRAM GSA-H42N, Amilo LSL 3220T monitor. Also Acer 5810TG (with custom kernel) and Asus eeePC 2G surf

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6372
  • I'm going South
Re: Something wrong with setting time?
« Reply #8 on: November 05, 2012, 06:48:36 AM »
On a Linux system, only root can change the system time. Since the desktop runs as an ordinary user, it has no authority to change that. It can only change the time displayed on the desktop. The correct place to set the time is in PCC.

That's where I would set it, but the "Date & Time" module in System Settings (which you can also open from the panel clock's right-click menu) will ask you to authenticate as root when you save your changes. At the moment I won't test whether it works as it used to, because I don't want to mess up my manually tweaked ntp settings....

Quote

Set the time zone first, then set the time. You can choose to set NTP as well, which will save you having to adjust the time again and also include support for local time changes and leap seconds With NTP your clock is very close to absolutely correct - I was once listening to an analogue radio while the clock screen saver was running, and the second hand moved exactly as each pip of the Greenwich Time Signal began - impressive. Otherwise, your PC's clock will gradually drift out of sync with real time.

I suspect if you have your time zone and location correctly set the twice yearly change will happen automatically even without NTP but I don't know as I've always used NTP.
Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D