The time now is Wed 19 Jun 2013, 03:14
All times are UTC - 4 |
| Author |
Message |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Wed 05 Dec 2012, 21:12 Post_subject:
Rox Clock Sub_title: 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
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
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.
 |
| Description |
|

Download |
| Filename |
rox-clock-1.pet |
| Filesize |
1.95 KB |
| Downloaded |
210 Time(s) |
| Description |
Rox Clock on desktop |
| Filesize |
54.71 KB |
| Viewed |
553 Time(s) |

|
| Description |
Rox Clock inside Rox folder. |
| Filesize |
18.84 KB |
| Viewed |
547 Time(s) |

|
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
SFR

Joined: 26 Oct 2011 Posts: 573
|
Posted: Tue 11 Dec 2012, 11:02 Post_subject:
|
|
I just saw this little app and couldn't resist - very nice piece of code.
| 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!
| Description |
|
| Filesize |
22.56 KB |
| Viewed |
489 Time(s) |

|
_________________ [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
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 1564 Location: Germany
|
Posted: 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
| Description |
|

Download |
| Filename |
ROX-Clock-No-XZ.pet |
| Filesize |
2.06 KB |
| Downloaded |
166 Time(s) |
_________________ Useful Software for Puppy!
LazY Puppy - a Paradise Puppy! - DE & EN ISO 2.0.2-0.0.5 available
|
|
Back to top
|
|
 |
jamesbond
Joined: 26 Feb 2007 Posts: 1573 Location: The Blue Marble
|
Posted: Tue 01 Jan 2013, 07:50 Post_subject:
|
|
Yes, sorry about the xz compression. I forgot that Fatdog's dir2pet created xz-compressed pets
_________________ Fatdog64, Slacko and Puppeee user. Puppy user since 2.13
|
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 9477 Location: SwedenEurope
|
Posted: 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'm a noob so I use Google Search of Puppy Forum
Edited_time_total
|
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1239 Location: Ukraine
|
Posted: 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
|
|
 |
|
|
|
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
|