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 19 Dec 2014, 20:11
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Rox Clock
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [6 Posts]  
Author Message
jamesbond

Joined: 26 Feb 2007
Posts: 2232
Location: The Blue Marble

PostPosted: Wed 05 Dec 2012, 21:12    Post subject:  Rox Clock
Subject description: A clock that runs in your Rox-Filer window !
 

There are already tons of other clocks here, and we already have pwidgets etc ... so why the new clock?

Just for the fun of it Smile

This pet expands into /root/rox-clock, a Rox application. Click (or double-click depending on your settings, or right-click then choose "Start") to start the clock. It will update by the minute.

You can move/copy it over to different folders if you wish, and you can also drag it to the Rox desktop (you need to mouse over your cursor over the clock for it to update).

You can have multiple copies of the clock, each one is controlled (=start/stop) independently. If you have a little flair in scripting, you can easily adjust the clock to run in a different timezone than yours, giving you a series of world clocks Smile

You can change the clock face by editing the clock.svg file within the application. The original clock face is from wikimedia: https://commons.wikimedia.org/wiki/File:Swiss_railway_clock.svg, and I commented out the seconds hand. You can add the seconds hand back if you wish; the reason I disabled it is because it will create unnecessary load on the system; also the display will start to flicker if your update the display every second.

The shell scripts use /bin/sh, but if you have a smaller shell, use /bin/ash or /bin/dash so that the clock doesn't eat a lot of your memory just to run the clock. I personally use dash.

Enjoy!

Note: Since this is a Rox application, you definitely need ROX-Filer. It won't work on puplets that don't have Rox.

Note: Thanks to technosaurus for this dynamic SVG idea.

EDIT: If you put the clock on Rox desktop, you need to mouse over it for it to update. Otherwise it will update itself sometimes, but very slowly and irregularly.
rox-clock-1.pet
Description 
pet

 Download 
Filename  rox-clock-1.pet 
Filesize  1.95 KB 
Downloaded  484 Time(s) 
rox-clock2.png
 Description   Rox Clock on desktop
 Filesize   54.71 KB
 Viewed   875 Time(s)

rox-clock2.png

rox-clock1.png
 Description   Rox Clock inside Rox folder.
 Filesize   18.84 KB
 Viewed   1040 Time(s)

rox-clock1.png


_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
SFR


Joined: 26 Oct 2011
Posts: 1111

PostPosted: Tue 11 Dec 2012, 11:02    Post subject:  

I just saw this little app and couldn't resist - very nice piece of code. Smile
Quote:
If you put the clock on Rox desktop, you need to mouse over it for it to update. Otherwise it will update itself sometimes, but very slowly and irregularly.

Dunno why, but all clocks are being updated regularly, when placed on the pinboard here on Slacko-5.4; no problems at all...

BTW, the pet is xz compressed? Petget in Slacko wasn't able to install it, I had to re-pack it.

Thanks & Greetings!
screenshot.png
 Description   
 Filesize   22.56 KB
 Viewed   912 Time(s)

screenshot.png


_________________
[O]bdurate [R]ules [D]estroy [E]nthusiastic [R]ebels => [C]reative [H]umans [A]lways [O]pen [S]ource
Omnia mea mecum porto.
Back to top
View user's profile Send private message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 11 Dec 2012, 11:11    Post subject:  

Hi.

LazY Puppy also could not install this using the petget. I have made a new package that installs in LazY Puppy (and hopefully all no XZ compression using) Puppies.

RSH
ROX-Clock-No-XZ.pet
Description 
pet

 Download 
Filename  ROX-Clock-No-XZ.pet 
Filesize  2.06 KB 
Downloaded  416 Time(s) 

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send private message 
jamesbond

Joined: 26 Feb 2007
Posts: 2232
Location: The Blue Marble

PostPosted: Tue 01 Jan 2013, 07:50    Post subject:  

Yes, sorry about the xz compression. I forgot that Fatdog's dir2pet created xz-compressed pets Embarassed
_________________
Fatdog64, Slacko and Puppeee user. Puppy user since 2.13.
Contributed Fatdog64 packages thread
Back to top
View user's profile Send private message 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Tue 01 Jan 2013, 09:15    Post subject:  

Sorry Billtoo told me of one by zigbert that most likely would work for me

old text
Rox Clock work in FatDog 64?

_________________
I use Google Search on Puppy Forum
not an ideal solution though

Last edited by nooby on Tue 01 Jan 2013, 11:36; edited 1 time in total
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1287
Location: Ukraine

PostPosted: Tue 01 Jan 2013, 09:17    Post subject:  

Dear jamesbond,

Happy New Year. What a nice little app. Thanks!

With kind regards,
vovchik
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [6 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
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.0569s ][ Queries: 13 (0.0050s) ][ GZIP on ]