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 Fri 21 Sep 2018, 04:34
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
setting the time zone / time in the tray
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [12 Posts]  
Author Message
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Mon 26 Oct 2009, 15:07    Post subject:  setting the time zone / time in the tray  

hi friends,


I can't change time in the tray in BrowserLinux [full install]

PuppySetup / Configure Puppy for your country / Set the time zone for your region -------- doesn't work for me
Clicking on time icon in the tray doesn't help too.

Can I do it another way, manually?

thanks in advance
Back to top
View user's profile Send private message 
WB7ODYFred


Joined: 13 Dec 2008
Posts: 146
Location: Oregon & Washington

PostPosted: Mon 26 Oct 2009, 15:58    Post subject: Seting Date and Timezone
Subject description: check out the hardware clock setting command too.
 

In Puppy Linux 4.1.11

Menu --> Desktop --> Set Date and Time

Menu --> Desktop --> Set Timezone

Lisek, does these commands NOT work for you in Your Puppy Linux setup?

Below are some pages I googled to find out how to use the command line to set Date and Time and Timezone.

http://www.cyberciti.biz/faq/howto-set-date-time-from-linux-command-prompt/

job wakhungu 07.30.08 at 4:49 pm

i had to set the date by using {date -s “wed jul 30 19:41:00 BST 2008″} while at the root.

Set the timezone Webpage below
http://www.cyberciti.biz/faq/howto-linux-unix-change-setup-timezone-tz-variable/

Lisek I hope these links help you set the date and timezone manually from the command line.

What version of puppylinux are your using.
Puppy Linux setup should work well for you.


Do check and sync hardware clock with:
# hwclock –show
# hwclock –systohc

WB7ODYFred
Back to top
View user's profile Send private message 
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Mon 26 Oct 2009, 18:00    Post subject:  

thanks for your reply WB7ODYFred,

as I wrote before I'm using BrowserLinux - puplet based on Puppy Linux 4.1.2

I can't set the time via Menu/Setup...

Will try the tips from the links you gave, but now I don't have access to this PC.
Back to top
View user's profile Send private message 
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Wed 28 Oct 2009, 10:30    Post subject:  

Thanks again, I did it:)
the command is:

Code:
# date +%T -s "15:33:00"
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4382
Location: West Lothian, Scotland, UK

PostPosted: Wed 28 Oct 2009, 11:11    Post subject:  

How should I set my time to use the 24-hour clock?
Back to top
View user's profile Send private message 
lisek


Joined: 14 Feb 2008
Posts: 80
Location: PL

PostPosted: Wed 28 Oct 2009, 17:01    Post subject:  

Sorry, I dont know.
After the code: # date +%T -s "15:33:00" was executed - I can see the clock in the format: 3:33PM

Dont forget second command to save the change:
# hwclock --systohc

Last edited by lisek on Sun 01 Nov 2009, 18:47; edited 2 times in total
Back to top
View user's profile Send private message 
WB7ODYFred


Joined: 13 Dec 2008
Posts: 146
Location: Oregon & Washington

PostPosted: Wed 28 Oct 2009, 19:43    Post subject:  

In Linux, I think the time is the number of seconds past starting point time of January 1, 1970 12:00 AM. So are you talking about setting the time clock from a 24 hour format. Or just printing the current time in a 24 hour format?

So using the Date command you can print out date & time in any format you want, Sylvander.

Here are some examples

# date +"%R"
16:37
# date +"%r"
04:37:42 PM

Try `date --help' for more information.

# date -I
2009-10-28
# date --iso-8601
2009-10-28
# date --iso-8601=seconds
2009-10-28T16:38:30-0700
#
Here are some URLs to read that have more detail.
http://www.oreillynet.com/linux/cmd/cmd.csp?path=d/date
http://www.cyberciti.biz/faq/linux-unix-formatting-dates-for-display/
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4382
Location: West Lothian, Scotland, UK

PostPosted: Thu 29 Oct 2009, 10:01    Post subject:  

I want the time display down at bottom right in the system tray to be displayed in 24hr format including seconds.
Like 02:02:30...
As in %T, but don't know how to apply that.

Here's how it displays at present:
00.jpg
 Description   
 Filesize   3.44 KB
 Viewed   2593 Time(s)

00.jpg

Back to top
View user's profile Send private message 
wuwei


Joined: 15 Sep 2007
Posts: 795
Location: formerly de; now in tranquility

PostPosted: Thu 17 Dec 2009, 05:26    Post subject: 24h clock  

To set JWM tray time to 24h, open
/root/.jwmrc-tray

at the very end change the code to read


<Clock format="%H:%M">minixcal</Clock>
</Tray>
</JWM>


If you also want seconds then %H:%M:%S

Restart JWM
Back to top
View user's profile Send private message 
wuwei


Joined: 15 Sep 2007
Posts: 795
Location: formerly de; now in tranquility

PostPosted: Thu 17 Dec 2009, 05:27    Post subject: 24h clock  

deleted
double post due to submit error
Back to top
View user's profile Send private message 
Sylvander

Joined: 15 Dec 2008
Posts: 4382
Location: West Lothian, Scotland, UK

PostPosted: Thu 17 Dec 2009, 06:13    Post subject:  

Job done. Very Happy

Regarding the file name jwmrc-tray...
I know:
jwm = Joe's window manager.
tray = the system tray down at bottom right.

rc = what?
Back to top
View user's profile Send private message 
`f00


Joined: 06 Nov 2008
Posts: 808
Location: the Western Reserve

PostPosted: Thu 17 Dec 2009, 13:25    Post subject:
Subject description: at a guess ;
 

Maybe registered controlset - Laughing so many ways to descript functions .. trays, panels, input (is a press and release a 'doubleclick'?) uswetc&

hmmz .. UL time, methinks Wink
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [12 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0493s ][ Queries: 13 (0.0103s) ][ GZIP on ]