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 Sun 21 Dec 2014, 02:58
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
Breath of Puppy
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [5 Posts]  
Author Message
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sat 16 Oct 2010, 00:20    Post subject:  Breath of Puppy  

I wonder if we can use time consuming Puppy events to lower blood pressure?
http://www.murga-linux.com/puppy/viewtopic.php?p=458735#458735
For example whilst downloading the latest must have puplet

Code:
#! /bin/bash
# breath test for lowering blood pressure whilst waiting by Lobster

NUM=33 # Change the number of breaths

yaf-splash -bg yellow -fontsize x-large -timeout 6  -text 'Hello, the requested operation will take time'
yaf-splash -bg yellow -fontsize x-large -timeout 6  -text 'Whilst waiting . . . Puppy will lower your blood pressure'
yaf-splash -bg yellow -fontsize x-large -timeout 3 -text 'Relax and breathe slowly'
yaf-splash -bg yellow -fontsize x-large -timeout 3 -text 'Feel calm'
yaf-splash -bg yellow -fontsize x-large -timeout 3 -text 'Lengthen breath'

repetitions=$NUM
 for g in $(eval echo {$repetitions..1})
  do
    yaf-splash -bg yellow -fontsize x-large -timeout 6 -text 'breath in 1 . . .  2 . . .'
    yaf-splash -bg yellow -fontsize x-large -timeout 12 -text 'breath out 1 . . .  2 . . .  3 . . .  4 . . .'
  done


this code should work in wary
and works in luci 231
(create a file called 'breath'
change permissions to executable - right click on file
run by typing ./breath on command line)

Puppy Linux
for calming dogs

_________________
Puppy WIKI

Last edited by Lobster on Sun 17 Oct 2010, 09:28; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
jrb


Joined: 11 Dec 2007
Posts: 1040
Location: Smithers, BC, Canada

PostPosted: Sat 16 Oct 2010, 00:44    Post subject:  

Wow! More relaxation. I can hardly sit up in my chair. Cool

Nicely done Lobster!

Here's a .pet with entry on the Fun menu.
puppy_breath.pet
Description  More relaxed breathing
pet

 Download 
Filename  puppy_breath.pet 
Filesize  883 Bytes 
Downloaded  247 Time(s) 
Back to top
View user's profile Send private message 
musher0


Joined: 04 Jan 2009
Posts: 4464
Location: Gatineau (Qc), Canada

PostPosted: Sat 16 Oct 2010, 21:38    Post subject:  

Hey, lobster!

At your code line #3, there's a typo, and typos are well known to elevate blood pressure in linguists... Laughing Which would cancel the desired effect amongst that category of puppy-ists. "breath" should actually be written "breathe" (the verb, rather than the noun, must be used here)...

Phew, my breathing is better already! Very Happy

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


Joined: 04 May 2005
Posts: 15122
Location: Paradox Realm

PostPosted: Sun 17 Oct 2010, 09:29    Post subject:  

Quote:
my breathing is better already!


Smile
Many thanks

_________________
Puppy WIKI
Back to top
View user's profile Send private message Visit poster's website 
musher0


Joined: 04 Jan 2009
Posts: 4464
Location: Gatineau (Qc), Canada

PostPosted: Sun 17 Oct 2010, 09:50    Post subject:  

It was nothing at all!

Another way to reduce blood pressure in puppy-ists would be NOT to publish any new puppy for, say, a full month after the last puppy is out. That way, puppy-ists could catch their breath! Laughing

It would be an elegant way to show respect to the producer of this "last" puppy and to give users the time to enjoy it more fully...

(My 0.02 $ worth.)

_________________
"Logical entities must not be multiplied needlessly." / "Il ne faut pas multiplier les êtres logiques inutilement." (Ockham)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [5 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0523s ][ Queries: 13 (0.0063s) ][ GZIP on ]