pTiming 1.0.3-1 - Event timer system
Version 0.4
See main post
Changelog
- Fullscreen numbers at top of screen. (thanks to davids45)
- Export lap info in columns if competitor is not defined. (thanks to davids45)
- Participant has become competitor. (thanks to davids45)
- Bugfix: Make main window scale smaller than default size. (thanks to davids45)
See main post
Changelog
- Fullscreen numbers at top of screen. (thanks to davids45)
- Export lap info in columns if competitor is not defined. (thanks to davids45)
- Participant has become competitor. (thanks to davids45)
- Bugfix: Make main window scale smaller than default size. (thanks to davids45)
Sigmund
As you have stated ptimer and pstopwatch are no longer supported.
Do you see this as a permanent replacement? (pTiming.. I can't see why not)
I am making the next spup soon and want to know your opinion.
Cheers, Mick
As you have stated ptimer and pstopwatch are no longer supported.
Do you see this as a permanent replacement? (pTiming.. I can't see why not)
I am making the next spup soon and want to know your opinion.
Cheers, Mick
Puppy Linux Blog - contact me for access
YES!!!01micko wrote:Do you see this as a permanent replacement?
That was the initial idea. As this idea evolved, things sorted out how to make a straightforward Stopwatch, and in the same time offer a complete timing system. I have tried to make the default window as simple as possible, so that the average user can use it as a ordinary stopwatch.
I see that this might be a niche-app, but at the same time, it will give one more reason to run Puppy. I guess there are comparable free apps out there, but I find it hard to believe that they are 14 kilobytes.
The CPU-usage compared to pStopwatch is heavily improved. When it comes to the alarm-clock in Ptimer, I really think that Pschedule would make a much better job. It might be an idea to build a alarm-clock-app that cooperated with pSchedule.
Sigmund
G'day zigbert,
Just trying v0.4. A short first report.
Strangely, I hear some hard-drive noise (a seeking rattle?) in between each second when pTiming is running. This starts immediately pTiming opens. I hadn't noticed this noise before and will check if I hear this on v0.3. I'll see if there's a difference between a Full & Frugal Puppy as well for v0.4 - I am hearing this drive noise with my first v0.4 try on a Full Pup (Kinda Lucid 006).
Edit: Other Pups did not have the hard-drive noise so it was just a anomaly in my klp006 install.
When I display both the Full Screen and Main box display together (big time on top half, details box on lower half), there is a slight lag in the big display. The beeps coincide with the details box time nicely.
The export data list for the '0' (unspecified) finishes looks OK for my wish to have a simple finish timer clock set-up of pTiming. As long as I know who finished in number order, names etc can be added to the exported times listing afterwards.
Thanks,
David S.
Just trying v0.4. A short first report.
Strangely, I hear some hard-drive noise (a seeking rattle?) in between each second when pTiming is running. This starts immediately pTiming opens. I hadn't noticed this noise before and will check if I hear this on v0.3. I'll see if there's a difference between a Full & Frugal Puppy as well for v0.4 - I am hearing this drive noise with my first v0.4 try on a Full Pup (Kinda Lucid 006).
Edit: Other Pups did not have the hard-drive noise so it was just a anomaly in my klp006 install.
When I display both the Full Screen and Main box display together (big time on top half, details box on lower half), there is a slight lag in the big display. The beeps coincide with the details box time nicely.
The export data list for the '0' (unspecified) finishes looks OK for my wish to have a simple finish timer clock set-up of pTiming. As long as I know who finished in number order, names etc can be added to the exported times listing afterwards.
Thanks,
David S.
Last edited by davids45 on Wed 19 Jan 2011, 23:36, edited 1 time in total.
full screen
Dividing by 5 worked nicely with my 1440 x 900 screenZigbert wrote: In line 135 of /usr/local/ptiming you'll find
Code:
Mono bold '$((HEIGHT/3))'"
________________________________________
Re: full screen
Please test the latest version. I think this should handle both 4:3 and 16:9 screens. - I haveonly tested on widescreen.don570 wrote:Dividing by 5 worked nicely with my 1440 x 900 screenZigbert wrote: In line 135 of /usr/local/ptiming you'll find
Code:
Mono bold '$((HEIGHT/3))'"
Sigmund
- john biles
- Posts: 1458
- Joined: Sun 17 Sep 2006, 14:05
- Location: Australia
- Contact:
Hello zigbert,
I'm testing your wonderful app in Legacy for inclusion in version 2 coming soon. It installs fine but when I add competitors they don't appear in the list and when i try to add them again ptiming claims they've already been entered? If I export to gnumeric they appear in the spreadsheet. I'm assuming its most likely got something to do with Legacy's version of gtkdialog?
attached image after I've added 2 competitors? I tried shuffling the list but made no difference.
I'm testing your wonderful app in Legacy for inclusion in version 2 coming soon. It installs fine but when I add competitors they don't appear in the list and when i try to add them again ptiming claims they've already been entered? If I export to gnumeric they appear in the spreadsheet. I'm assuming its most likely got something to do with Legacy's version of gtkdialog?
attached image after I've added 2 competitors? I tried shuffling the list but made no difference.
- Attachments
-
- ptiming.png
- (20.76 KiB) Downloaded 1136 times
Legacy OS 2017 has been released.
hello John
If pTiming is working perfect else of this specific bug, I need some terminal output, but the reason could be that you miss 'tac' in Legacy OS. I thought it was standard in Puppy....... it might have arrived later than your fork.
It is a tool to output content of file in reverse order. Could it be done another easy way?
Sigmund
If pTiming is working perfect else of this specific bug, I need some terminal output, but the reason could be that you miss 'tac' in Legacy OS. I thought it was standard in Puppy....... it might have arrived later than your fork.
It is a tool to output content of file in reverse order. Could it be done another easy way?
Sigmund
Hi Sigmund,
It needs some more calculations
If I boot Puppy with pfix=ram and install Ptiming it works fine.
If I then go to 'Menu-Desktop-Set Global Font Size', change the setting and restart X, when I run Ptiming the timer display is the wrong size. See the attached screenshots.
(N.B. pStopwatch had the same problem... IIRC this was one of the problems that I reported but I couldn't figure out what the cause was)
You can get the dpi setting with
Mine is 87. The default is 78, so it seems to work in the normal window if I multipy the numbers in this code by 78÷87
It is still wrong when I switch to fullscreen, but I haven't looked at the code for fullscreen enough to figure out how it works.
It needs some more calculations
If I boot Puppy with pfix=ram and install Ptiming it works fine.
If I then go to 'Menu-Desktop-Set Global Font Size', change the setting and restart X, when I run Ptiming the timer display is the wrong size. See the attached screenshots.
(N.B. pStopwatch had the same problem... IIRC this was one of the problems that I reported but I couldn't figure out what the cause was)
You can get the dpi setting with
Code: Select all
cat /root/.Xresources | grep "^Xft\\.dpi:" | tr '\t' ' ' | tr -s ' ' | cut -f 2 -d ' '
Code: Select all
style "monoBig" { font_name="Mono bold 52" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR2'" }
widget "*timer" style "monoBig"
style "dejaColor" { font_name="Dejavu 16" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR3'" }
widget "*edit" style "dejaColor"
style "dejaBig" { font_name="Dejavu 40" base[NORMAL]="'$COLOR1'" text[NORMAL]="'$COLOR3'"}
widget "*nr" style "dejaBig"
- Attachments
-
- screenie1.png
- (41.17 KiB) Downloaded 1180 times
-
- screenie.png
- (8.06 KiB) Downloaded 1196 times
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Actually, this is probably a more robust way to get it:disciple wrote:You can get the dpi setting withCode: Select all
cat /root/.Xresources | grep "^Xft\\.dpi:" | tr '\t' ' ' | tr -s ' ' | cut -f 2 -d ' '
Code: Select all
xrdb -query | grep dpi
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
- john biles
- Posts: 1458
- Joined: Sun 17 Sep 2006, 14:05
- Location: Australia
- Contact:
Tac is tiny. Pinch it from somewhere if you can't be bothered tracking down the source. I'm pretty sure I did that on my machines
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
I guess I shouldn't suggest that as it goes against the GPL. But even if the main site is hard to find, it shouldn't take long to get the source from somewhere like the Debian packages site.
Do you know a good gtkdialog program? Please post a link here
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
Classic Puppy quotes
ROOT FOREVER
GTK2 FOREVER
You could get tac from most pups and it's only around the same size as pTiming.
Another alternative is to emulate "tac" with "sed" and create a function in pTiming.
should work.
Regards,
s
Another alternative is to emulate "tac" with "sed" and create a function in pTiming.
Code: Select all
tac() {
sed '1!G;h;$!d' $1
}
export -f tac
Regards,
s
- john biles
- Posts: 1458
- Joined: Sun 17 Sep 2006, 14:05
- Location: Australia
- Contact:
Hello zigbert,
So "tac" is part of the coreutils package. Got "tac" out of a Mandriva 2007 rpm and now your app works as expected. Those using Legacy OS and want to use pTiming just copy the attached file to /usr/bin
So "tac" is part of the coreutils package. Got "tac" out of a Mandriva 2007 rpm and now your app works as expected. Those using Legacy OS and want to use pTiming just copy the attached file to /usr/bin
- Attachments
-
- tac.tar.gz
- (39.99 KiB) Downloaded 1111 times
Legacy OS 2017 has been released.