System clock does not working [Solved]

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

System clock does not working [Solved]

Post by Sybelius »

Hi All,

I am experiencing a new problem: clicking on System / System clock, it is not working; just asking me password, nothing after that.
How can set the clock ?
( Just looking for help coming from peoples happy to help; I know that easily newbies making questions disturbing experienced peoples.
If somebody gets bored about that frequent questions of mine, just does not reply me. Thank you). Ciao
Last edited by Sybelius on 10. May 2010, 18:04, edited 1 time in total.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: System clock does not working

Post by gapan »

Try to launch

Code: Select all

gtkclocksetup
from a root terminal. Any errors?

In any case, you can use the cli tool:

Code: Select all

clocksetup
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: System clock does not working

Post by Sybelius »

Hi Gapan,

Thank You for your kind help; I have been launching the command "gtkclocksetup" and the first time I got error. So, I have been launching "clocksetup" and I have been able to set up the clock.
After that, I have been launching again "gtkclocksetup" and I get open the window "Date and time settings"; the terminal shows this output:

Code: Select all

root[dominum]# gtkclocksetup
Starting the ntpd service
The ntpd is already running with pid: 3417
root[dominum]# 
The issue looks solved, but if I want use "Salix / System / System clock" it does not working.

Ciao :)
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: System clock does not working [Solved]

Post by gapan »

This is weird. What error did you get the first time you tried to launch gtkclocksetup? And can you try to run clocksetup-launch from a root terminal?
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: System clock does not working [Solved]

Post by Sybelius »

gapan wrote:This is weird. What error did you get the first time you tried to launch gtkclocksetup?
Hi Gapan,

I am sorry, but I dont remember that error's message, I did not save, thinking to get it every time.
Running "clocksetup-launch" I get the window "Date and time settings" as running "gtkclocksetup". Ciao
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: System clock does not working [Solved]

Post by gapan »

So, nothing is wrong...
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: System clock does not working [Solved]

Post by Sybelius »

gapan wrote:So, nothing is wrong...
Before was wrong that wishing to use "Salix / System / System clock" it does not working.
Now, before to answer you, I have been clicking on the "line" again and, it works.... :o
Sorry, I dont understand :oops: Ciao
Last edited by Sybelius on 11. May 2010, 00:06, edited 1 time in total.
User avatar
ceeslans
Posts: 17
Joined: 10. Apr 2010, 11:54
Location: Rotterdam, NL

Re: System clock does not working [Solved]

Post by ceeslans »

here is the terminal messagewith the error:
root[cees]# gtkclocksetup
Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 272, in <module>
app = GTKClockSetup()
File "/usr/sbin/gtkclocksetup", line 240, in __init__
self.utccheckbutton.set_active(utcstate())
File "/usr/sbin/gtkclocksetup", line 81, in utcstate
f = file('/etc/hardwareclock')
IOError: [Errno 2] No such file or directory: '/etc/hardwareclock'
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: System clock does not working [Solved]

Post by gapan »

ceeslans wrote:here is the terminal messagewith the error:
root[cees]# gtkclocksetup
Traceback (most recent call last):
File "/usr/sbin/gtkclocksetup", line 272, in <module>
app = GTKClockSetup()
File "/usr/sbin/gtkclocksetup", line 240, in __init__
self.utccheckbutton.set_active(utcstate())
File "/usr/sbin/gtkclocksetup", line 81, in utcstate
f = file('/etc/hardwareclock')
IOError: [Errno 2] No such file or directory: '/etc/hardwareclock'
Thank you! It has been fixed in version 0.9.9.1 already in the repositories for 13.0. And in salixtools-gtk-1.0.5 in current too.
Image
Image
User avatar
Sybelius
Posts: 82
Joined: 9. Jan 2010, 01:51
Location: Gaborone - Botswana

Re: System clock does not working [Solved]

Post by Sybelius »

So, was a bug :mrgreen:

Well, I have been adding some repositories (those on default dont showing me version 0.9.9.1); now I got even the icon (which was absent) on Salix / System / System clock.

Cheers ! :D
Post Reply