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 21 Nov 2014, 15:32
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
pClock 0.7.2 - Time tools
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
don570


Joined: 10 Mar 2010
Posts: 3378
Location: Ontario

PostPosted: Tue 10 Apr 2012, 14:57    Post_subject: pmusic -s stop  

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:

pmusic -s stop


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


____________________________________________
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Tue 10 Apr 2012, 15:19    Post_subject:  

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3378
Location: Ontario

PostPosted: Tue 10 Apr 2012, 15:20    Post_subject:  

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:
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:
<hbox>
      <text><label>Fontsize</label></text>
      <entry><variable>FONTSIZE</variable><default>'$FONTSIZE'</default></entry>
     </hbox>


and changed it to

Code:
     <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.

_____________________________________________________
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3378
Location: Ontario

PostPosted: Tue 10 Apr 2012, 15:24    Post_subject:  

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.

______________________________________
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Sat 21 Jul 2012, 14:46    Post_subject:  

This is a funny experiment Very Happy


_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Mon 23 Jul 2012, 13:48    Post_subject:  

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
01micko


Joined: 11 Oct 2008
Posts: 7841
Location: qld

PostPosted: Mon 23 Jul 2012, 22:05    Post_subject:  

Cool

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

_________________
Woof Mailing List | keep the faith Cool |
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Tue 24 Jul 2012, 02:57    Post_subject:  

Thank you Mick.
Now fixed


Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3378
Location: Ontario

PostPosted: Tue 24 Jul 2012, 11:28    Post_subject: 480 pixel height screen  

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

__________________________________________
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3378
Location: Ontario

PostPosted: Tue 24 Jul 2012, 11:47    Post_subject:  

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.



__________________________
Back to top
View user's profile Send_private_message 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Tue 24 Jul 2012, 13:54    Post_subject:  

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.

Smile
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Tue 24 Jul 2012, 14:29    Post_subject:  

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Wed 25 Jul 2012, 17:09    Post_subject:  

Version 0.5
See main post

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

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Thu 26 Jul 2012, 07:47    Post_subject:  

Version 0.6
See main post

Bugfix: Analog clock in fullscreen (thanks to L18L)

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


Joined: 29 Mar 2006
Posts: 5782
Location: Valåmoen, Norway

PostPosted: Thu 26 Jul 2012, 08:59    Post_subject:  

Version 0.6-1
See main post

- Bugfix: More fullscreen issues

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 3 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

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
[ Time: 0.0739s ][ Queries: 13 (0.0051s) ][ GZIP on ]