Rox Clock
Posted: Thu 06 Dec 2012, 01:12
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 ... _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.
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 ... _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.