Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Tue 25 Nov 2014, 16:54
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
Setting time in Puppy changes Windows clock
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
Karl Godt


Joined: 20 Jun 2010
Posts: 3972
Location: Kiel,Germany

PostPosted: Thu 21 Mar 2013, 13:41    Post_subject:  

The Puppy gui-application /usr/sbin/timezone-set ( a sh script ) has some unmaintained code like
Code:
if [ -e /etc/localtime ];then
 CZONE=`readlink /etc/localtime`
 DEFTAG=`readlink /etc/localtime | sed -e 's%/usr/share/zoneinfo/%%'`
else
 CZONE='/usr/share/zoneinfo/Etc/GMT-8' #these have opposite sign.
 DEFTAG='Etc/GMT-8'
fi
#if [ "`echo -n "$DEFTAG" | grep 'GMT' | grep '\+'`" = "" ];then
# DEFTAG=`echo -n "$DEFTAG" | sed -e 's%Etc/%%' | tr "\-" "\+"`
#else
# DEFTAG=`echo -n "$DEFTAG" | sed -e 's%Etc/%%' | tr "\+" "\-"`
#fi

I have disabled that part that changes the GMT+ to GMT- since the #these have opposite sign. comment is not true anymore. Also further down the script it has to be controlled.

Since you use UTC values I am uncertain, if that is also reformatted in newer Puppies.

Timezone setting binaries are part of the glibc package, and every Puppy has a different glibc from different sources or distros with their patches.
Back to top
View user's profile Send_private_message Visit_website 
beekster

Joined: 20 Feb 2013
Posts: 39
Location: North Carolina, USA

PostPosted: Fri 22 Mar 2013, 21:17    Post_subject:  

Rope wrote:
The problem is that Puppy changes the machine clock. I don´t know why or how. I need to fix this. Any other idea?
When I boot windows time is set 3 hs in advance. Local time is utc -3. Maybe a quick fix can be to set Puppy´s time localtime -6?


For me it's four hours. I just right click the time in windows and hit adjust time. Each time. But now I'm using Puppy on one machine and windows on the other...easier. Cool
Back to top
View user's profile Send_private_message 
Rope

Joined: 20 Feb 2013
Posts: 315

PostPosted: Sun 24 Mar 2013, 23:16    Post_subject:  

beekster wrote:

For me it's four hours. I just right click the time in windows and hit adjust time. Each time. But now I'm using Puppy on one machine and windows on the other...easier. Cool


But you have to boot Windows and lose time. Also, i use a CD in another person PC and I can leave the time changed in Windows, so I have to boot, edit time, close Windows.

I have to try what Karl Godt mentioned but I could not find the file, only a link.

Anyway, this should be easy.

_________________
Puppy Slacko 5.7 frugal (windows installer)
Broken Windows XP after switching from Intel to AMD
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0447s ][ Queries: 11 (0.0031s) ][ GZIP on ]