pClock 0.8.2 - Time tools

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

pmusic -s stop

#31 Post by don570 »

With the Enlightenment window manager it is hard to stop pmusic
when it is playing in the background. For instance in pemasu's
exprimo pmusic plays in a loop as default

I must use the command

Code: Select all

pmusic -s stop
If pmusic can't be fixed then maybe pclock should have a
button to run this command.


____________________________________________

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

#32 Post by zigbert »

Which version are you using?

From changelog Version 2.5.2 (25.Mar 2012)
- Playmode is set to no-loop by default (thanks to FeodorF)



Sigmund

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

#33 Post by don570 »

Here is how I was able to make pclock compatible with Saluki



1) I checked if pmusic is installed and switched
to defaultaudioplayer if pmusic wasn't installed

2) I changed line 28 to

Code: Select all

let "FONTSIZE=4100/$TMP"
(Does saluki have a different version of bash??)

3) To get the preference window to open I did the
following change in code. I took the following

Code: Select all

<hbox>
	   <text><label>Fontsize</label></text>
	   <entry><variable>FONTSIZE</variable><default>'$FONTSIZE'</default></entry>
	  </hbox>
and changed it to

Code: Select all

	  <hbox>
	   <text><label>Fontsize</label></text>
	   <entry><variable>FONTSIZE</variable><default>40</default></entry>
	  </hbox>
FONTSIZE doesn't work but at least the app can be used.

_____________________________________________________

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

#34 Post by don570 »

I was using an older version of pmusic in exprimo which was just before
you changed it not to loop in version 251 I believe.

The new version will sole the problem I hope. I'll try.

______________________________________

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

#35 Post by zigbert »

This is a funny experiment :D

Image

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

#36 Post by zigbert »

Version 0.3
See main post

Changelog
- Analog clock (also fullscreen)
- Worldclock
- NLS support
- Scalable gui
- link to 'set timezone'
- Close button in fullscreen mode
- Use pmusic -B instead of pmusic -b
- Bugfix: Window header in fullscreen mode showed pTiming

User avatar
01micko
Posts: 8741
Joined: Sat 11 Oct 2008, 13:39
Location: qld
Contact:

#37 Post by 01micko »

8)

line 106 seemed to be trouble, I had no $WORKDIR/end_while_fullscreen and no pretty clock, so removed ! (not) and it worked! But of course that broke everything! So I put it back and it was all good, so something is not generated at first start :wink:
Puppy Linux Blog - contact me for access

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

#38 Post by zigbert »

Thank you Mick.
Now fixed


Sigmund

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

480 pixel height screen

#39 Post by don570 »

Have you checked that pclock fits in 480 pixel height screen?
It's over 500 dots when I checked.

__________________________________________

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

#40 Post by don570 »

If you're looking to develop pclock into a more useful app....

What about a database of the world cities. The user chooses a city
and clicks to find weather or news (according to button label)

Instead of doing it in realtime which could overload computer,
I would suggest having a database array . Each city could have a
maximum of 4 input values associated with it.

1) For News ----> English language website
2) For News ----> Foreign language website
3) For Weather ----> English language website
4) For Weather ----> Foreign language website

It wouldn't be too hard to maintain such a database.
For instance New York city has two big all news radio stations
http://www.wabcradio.com/
http://newyork.cbslocal.com/


I could supply you with North American websites (mainly local radio
stations specialising in news). The user could make his own changes
to the database and send the database back to you to look at.
Here's a mock-up.

Image

__________________________

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??

____________________________________

Post Reply