pClock 0.8.2 - Time tools

Miscellaneous tools
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#41 Post by zigbert »

don570
My intentions with pClock is to offer some basic time-tools.
... and when new ideas stokes my mind, I use them wherever I find it reasonable.

:)
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#42 Post by zigbert »

L18L has made a gettext version, and I have uploaded as version 0.4. I don't anything about gettext, but now it might be a perfect opportunity for me to have a look how it works....


Thanks to L18L
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#43 Post by zigbert »

Version 0.5
See main post

Changelog
- Reduce cpu-usage when not running stopwatch/countdown (thanks to jasper)
- some minor code cleanup

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#44 Post by zigbert »

Version 0.6
See main post

Bugfix: Analog clock in fullscreen (thanks to L18L)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#45 Post by zigbert »

Version 0.6-1
See main post

- Bugfix: More fullscreen issues

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#46 Post by zigbert »

Version 0.7
See main post

Changelog
- Rewritten Countdown gui
- Bugfix: Activate choosen file from filebrowser (Countdown/Alarm)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#47 Post by zigbert »

Version 0.7.1
See main post

Bugfix: Missing icons

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#48 Post by don570 »

In my clone of pclock calledpuppy clock
I made a change in how countdown is shown.

In the countdown feature I now have an application chosen
that should make the feature more understandable.


Image


_____________________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#49 Post by zigbert »

Version 0.7.2
see main post

Only change is the call for svg-icon in *.desktop file. For Woof-CE.

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

Icon line

#50 Post by don570 »

I installed pclock in slacko and I noticed wrong version number under About
menu . Also check your desktop file for the Icon line. I couldn't find
that icon??

____________________________________

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#51 Post by zigbert »

don570
I have reuploaded it with correct version.
The *.desktop file is changed to support Woof-CE.


Sigmund

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#52 Post by greengeek »

Is there any way to modify this so that you could run more than one instance at a time without them interfering with each other and both being separately resettable ? (eg one instance plays a voice prompt every minute and another instance plays a beep every second).

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#53 Post by don570 »

It uses pschedule. Launch pschedule after you have set an alarm.

I believe you can set multiple alarms.

_______________________________________

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#54 Post by greengeek »

Thanks. How does it use pschedule? - pschedule only seems to know about days hours and minutes rather than seconds as far as i can tell?

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#55 Post by don570 »

Thanks. How does it use pschedule?
After setting an alarm you could then open pschedule

System > pschedule

and press the edit button to make more alarms.

But it would be simpler to launch pclock multiple times to make multiple
alarms.

If you want a simple countdown alarm then try clicking the 'Countdown'
button in the opening page

enter the countdown

aplay /path/to/sound

I'm not sure if loops are allowed???
But maybe a script that you write will play, and the script can have looping in it.

Here's a site that explains how to write a script that loops endlessly
http://bash.cyberciti.biz/guide/Infinite_while_loop


I think this script should loop endlessly barking like a dog.
Make sure it is executable and place in executable path ie bin or sbin folder

Code: Select all

#!/bin/bash
while true
do
	aplay /usr/share/audio/2barks.wav
         sleep 15

done
___________________________________________________
This command just puts a message up to screen.


Image

.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#56 Post by greengeek »

don570 wrote:But it would be simpler to launch pclock multiple times to make multiple alarms.
This is the part I am having trouble with. If i launch pclock multiple times each instance behaves the same - they don't respect the different alarm times that I set.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#57 Post by zigbert »

I will open up for several alarms in the next release

User avatar
don570
Posts: 5528
Joined: Wed 10 Mar 2010, 19:58
Location: Ontario

#58 Post by don570 »

Running a script like below just causes problems
when I use the countdown feature because it repeats the script.

It might be useful to have an option box to shut off repeating.

Here's some scripts that cause trouble...
but they work fine if launched from terminal.

Code: Select all

#!/bin/bash
while true
do
   aplay /usr/share/audio/2barks.wav
         sleep 5

done

Code: Select all

#!/bin/bash
        for i in `seq 1 10`;
        do
                   aplay /usr/share/audio/2barks.wav
         sleep 5
        done
_______________________________________________


greengeek wrote:This is the part I am having trouble with. If i launch
' pclock multiple times each instance behaves the same - they don't
respect the different alarm times that I set.
My original suggestion was to set one alarm with pclock and then
open pschedule to make more of them.

I wonder if a countdown and an alarm can be made simultanuous?

User avatar
Sky Aisling
Posts: 1368
Joined: Sat 27 Jun 2009, 23:02
Location: Port Townsend, WA. USA

pClock 0.7.2 - Time tools

#59 Post by Sky Aisling »

Hello zigbert,
I'm unsure if this is the proper place to ask this question. There appears to be an issue with either PupClockset or JWMRC tray or ? I'm not even sure if Pupclockset is part of this thread. Please excuse my ignorance on this issue.

When the new year rolled over in Pacific Time on west coast of USA, the clock set in lower right hand corner did not turn to the correct date.
I repaired it using the standard procedure of Pupclockset. Somehow when it updated to correct date it also added the app to the launcher portion of the JWMRC tray.
The JWMRC desk launcher doesn't show it present but it is there.
How do I remove the pupclockset from the launcher bar?

See screenshot of what I could research so far.
Thank you for any assistance or redirection you can offer.
Attachments
JWMRC-tray-Pupclock1.jpg
(219.97 KiB) Downloaded 313 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#60 Post by zigbert »

You're right about that this has nothing to do with pClock :D
Remove it by deleting the first line in /root/.jwmrc-tray starting with
<Clock format ...

The tray manager is made for managing the jwm tray. You'll find it in /usr/local/jwm_config/tray
Attachments
Screenshot.png
(52.74 KiB) Downloaded 189 times

Post Reply