Page 1 of 2

YAP Lobster Alter Program

Posted: Sat 19 Jan 2008, 11:31
by Lobster
Image

more info (wiki page)
http://puppylinux.org/wikka/BuddhistYAP

Latest version for Slacko Puppy 5.3 (not yet petted)
http://www.murga-linux.com/puppy/viewto ... 702#574702

===

Older pet available 11 March 2008 - tested on Puppy 4.3
http://tmxxine.com/yap/yap.pet

Changes
managed to turn it into a pet - should be in top directory
new HTML, menu layout and code simplified
- only two links need a web connection (both on meditation under help)
rest works offline without internet connection
new cyberspace blessing from Tibetan monks

older versions

DOWNLOAD Beta 2 created Feb 14 2008
18.5MB
http://www.tmxxine.com/shrine3/YAPfeb14.tar.gz

Changes
  • designed for Puppy 2.10 - 4 and Puplets
    simplified interface
    screen show dependents dropped in favour of videos (ready made screen shows)
    elemental meditation added
    FAQS updated
    Meditation link added
    English chant scroller added for major Sutra
13MB
http://www.tmxxine.com/shrine3/YAP.tar.gz


Details of this project
http://www.murga-linux.com/puppy/viewto ... 557#167557

This is designed to set up a Puppy PC as a central
Shrine for meditation

Here is the code part of the Beta 1

Code: Select all

#! /bin/bash
# YinYana Alter Program GPL v3 License
# YAP v 1.7 March 11 008
# created by Lobster for Tmxxine Vision and Sentient Beings Everywhere 
# With thanks to Barry Kauler, Team Puppy, Mark Ulrich, mcewanw, Warren
###################

export Vision='
<window title="YAP" window-position="1">
<vbox>
  <menubar>
    <menu>
       <menuitem>
             <label>Cyberspace Blessing 1</label>
               <action>wavplay sound/cyberspace_1.wav &</action>
         </menuitem>
          <menuitem>
             <label>Cyberspace Blessing 2</label>
               <action>wavplay sound/cyberspace_2.wav &</action>
         </menuitem>
         <menuitem>
             <label>Bell</label>
               <action>wavplay sound/tinsha.wav &</action>
         </menuitem>
         <menuitem>
              <label>Gong Burmese</label>
                 <action>wavplay sound/gong-burmese.wav &</action>
         </menuitem>
         <menuitem>
               <label>Gong Chinese</label>
                   <action>wavplay sound/gong-chinese.wav &</action>
         </menuitem>    
          <menuitem stock="gtk-quit">
                <action>echo You selected the quit menu item</action>
                <action type="exit">exit by menu</action>
          </menuitem>
              <label>Sounds</label>
          </menu>       
      <menu>
         <menuitem>
            <action>`Xdialog --wrap --screencenter --left --title "5 Element Meditation" --msgbox "This will start a simple twenty five minute elemental meditation suitable for universal usage. It is a simple technique. Only regular use will develop mind skills. Used for centuries as an esoteric warrior meditation, it is particulary suited to balance energies and focus and harmonise ones internal component elements. Keep your back straight and your mind attentive. \n\n OM YA HA HUM" 600x0`</action>
            <action>defaultbrowser file://`pwd`/videos/elements.swf &</action>
            <label>Elemental meditation</label>
            <action>exit</action>
         </menuitem>
         <menuitem>
               <label>Vajrasattva</label>
                <action>`Xdialog --wrap --screencenter --left --title "Vajra" --msgbox "Vajrasattva. vajrasattva samayam anup

Posted: Sun 20 Jan 2008, 02:54
by MU

Code: Select all

<action>defaultbrowser file://`pwd`/html/shrine1.html &</action>
`pwd` will set there the current folder.
So it looks for a html subfolder in the location, where for Gtkdialog-script runs.
It seem that for file:// you need an absolute path.

pwd returns the full, long pathname.
Mark

Posted: Sun 20 Jan 2008, 05:10
by Lobster
Thanks Mark :)
how do I get local html files to play in the browser?
I tried all that file:/// stuff but always get confused . . .
<action>defaultbrowser ./html/shrine1.html &</action>
update Sorted! See previous post

code in first post of thread updated

YAP

Posted: Sun 20 Jan 2008, 10:39
by Lobster
OK have renamed the Program YAP
and the code part is above
Removed the massive movie files for now
Hope to make an alpha test package available soon . . . 8)
Get your incense ready . . . :D


This is the code I am stuck on :oops:
- it theoretically sets up a new slideshow compiled by Muggins - with fades and stuff

what I am trying to do is unzip a .bz2 file
and a dotpup . . .

Code: Select all

    <label>Setup Advanced Alter Slideshow</label>
               <action>rxvt tar xvfj progs/slideshow-1.1.tar.bz2 -C /usr/local &</action>                             
               <action>rxvt tar -zxvf progs/LibSDL1.2-forDoom.pup $</action>
Any help may lead to good karma :roll:

Re: YAP

Posted: Sun 20 Jan 2008, 13:15
by mcewanw
Lobster wrote:

Code: Select all

    <label>Setup Advanced Alter Slideshow</label>
               <action>rxvt tar xvfj progs/slideshow-1.1.tar.bz2 -C /usr/local &</action>                             
               <action>rxvt tar -zxvf progs/LibSDL1.2-forDoom.pup $</action>
I think you need have: rxvt -e tar [etc]

but why do you need the rxvt console to pop up anyway?
Isn't tar on its own enough?

Posted: Sun 20 Jan 2008, 14:28
by Lobster

Code: Select all

    
<action>tar xvfj progs/slideshow-1.1.tar.bz2 -C /usr/local &</action>                             
<action>tar -zxvf progs/LibSDL1.2-forDoom.pup $</action>
rxvt not needed - OK
so like above?

this is the bit I am unsure of

Code: Select all

 /usr/local &
actually if I search for slideshow this might tell me where it goes

at the moment I am being driven (more insane) by the wavplay and gxine
commands which seem to interfere with slideshow . . .

YAP Alter/Shrine builder available NOW

Posted: Sun 20 Jan 2008, 18:01
by Lobster
Image
:D

Despite blowing up a pair of speakers (trying to use a Nokia Phone adapter to power them) :oops: I have managed to provide an Alpha . . .

Needs testing 8)

QIV powers the slideshow and should be in aprox Puppy 2.10 and above (and was recently dropped again)
but I have included a second (and better slideshow)
but I am not sure if this installs automatically (under program)?

A twenty minute meditation is included
a gong will sound and then again in twenty minutes
Don't know how to meditate?
Just sit quietly for 20 minutes (that's it really) 8)

There are also HTML (web pages) describing how to set up a Shrine/Alter

DOWNLOAD first Alpha - second alpha available - DO NOT USE THIS
http://www.tmxxine.com/shrine3/YAP_Jan20.tar.gz

What are the benefits of setting up a YinYana Shrine?
Well if you chant OM YA HA HUM
In front of your shrine
you could end up seriously serene . . .

It's a start!
If you set up a shrine, please send a pic!

Improvements

Posted: Tue 22 Jan 2008, 01:10
by Lobster
DOWNLOAD second Alpha
http://www.tmxxine.com/shrine3/YAP_Jan21.tar.gz

Changes
FAQS updated
English chant scroller added for major Sutra

Posted: Wed 23 Jan 2008, 18:22
by Lobster
Software now included as an experimental Dingo powered puplet
http://www.murga-linux.com/puppy/viewto ... 557#167557

Posted: Wed 23 Jan 2008, 21:25
by MU
<action>tar xvfj progs/slideshow-1.1.tar.bz2 -C /usr/local &</action>
<action>tar -zxvf progs/LibSDL1.2-forDoom.pup $</action>
For TAR the "f" must be last parameter.
tar -xjvf filename

PUPs must be installed not with tar.

dotpuprox.sh `pwd`/progs/LibSDL1.2-forDoom.pup

dotpuprox.sh needs an absolute path, so use `pwd` to tell it where you are.

I did not test with your program, these are just general hints.
Mark

Posted: Thu 24 Jan 2008, 13:55
by Lobster
Thanks Mark
have added that . . .

also created this flash based elemental meditation in Open Office
requires mouse click . . .
which I will add as an offline option

Quite a simple way to do presentations
create them in Open Office. Export them as swf
use any flash browser to display them . . .
http://www.tmxxine.com/shrine3/elements.swf

A third Alpha (Jan 24) is now available for download

easy to alter

Posted: Mon 28 Jan 2008, 06:50
by Lobster
Image

See first post in this thread for new version
now of Beta quality

Rather than being dependent on slideshow software
(Could not find any in Dingo) I decided to use ready made
Youtube videos, which I downloaded and converted into AVI
using this service:

http://vixy.net/

So it works in 2.17 and Dingo (at least) using the xine software.
In full screen in 2.17 there is a flicker every few seconds which is gone in Dingo
Your hardware may be different

How YAP benefits all Beings

It is designed to be easy to alter.
You can add videos and sound of your choice
(a little study of the code in the first post should help to understand
how easy that would be)

So you could use it to promote your favourite charity, cybercafe
or pet interest . . .
swf files can be created in open office or wink
videos can be created on your camera and added

A front end introducing your puplet is easy to provide
. . . or you can just meditate . . .

Just click on YAP and it runs
the script can be edited in Geany

more info
http://tmxxine.com/wik/wikka.php?wakka=YapInfo

Posted: Fri 01 Feb 2008, 16:41
by Lobster
I have created a version of YAP for Puppy 3.02 Alpha that was released today. It has only been tested to run with 3.02 Alpha

http://www.tmxxine.com/shrine3/YAP3.02.pet

It installs and runs from the Startup Directory
If you don't want YAP to run at startup
use ROX to drag the files and sub directories, videos, sound, html etc elsewhere . . .

:)

Re: YAP Alter/Shrine builder available NOW

Posted: Fri 01 Feb 2008, 23:04
by nic2109
Lobster wrote:If you set up a shrine, please send a pic!
Well it's not a shrine and I didn't set it up, but to encourage you; here's a link to a site that encourages and enables daily prayer in the Christan tradition (RC specifically but pretty broad-minded and inoffensive) :- http://www.sacredspace.ie. I really enjoy this, so I hope your shrine increases karma widely. :)

PS:
YAP Alter/Shrine builder available NOW
Do you mean "altar"? Or are you aiming to alter our consciousness?

Re: YAP Alter/Shrine builder available NOW

Posted: Sat 02 Feb 2008, 04:13
by Lobster
nic2109 wrote: Do you mean "altar"? Or are you aiming to alter our consciousness?
Yes
Always glad to hear of people with consciousness capable of an Alter
:)
Thank you for the encouragement. Just as I was testing an ISO of the software, a belated Christmas present arrived. A small seated Buddha.

Posted: Sat 16 Feb 2008, 06:37
by Lobster
Image

New Beta - suitable for any Puppy 2.10 onward with a flash enabled browser - see first post

Posted: Tue 11 Mar 2008, 11:37
by Lobster
Latest YAP available 11 March 2008
http://tmxxine.com/yap/yap.pet

Changes
  • Managed to turn YAP into a pet - should be in top directory
    New HTML, menu layout and code simplified
    - only two links need a web connection (both on meditation under help)
    Rest works offline without internet connection
    New cyberspace blessing from Tibetan monks
The cyberspace mantras will sanctify (spiritual disinfection)
hardware :roll:

see first post in this thread for details

and wiki
http://tmxxine.com/wik/wikka.php?wakka=YapInfo

If anyone gets it running on a Eeepc - let me know
portable shrine - have religion, will travel :)

The code is easy to use and modify 8)
I have made extensive use of flash (swf) for sound and graphics

It should be easy to understand and adapt for your own projects - let me know :)

Posted: Wed 26 Mar 2008, 17:10
by Lobster
Image

New YAP available 21 March 2008
http://tmxxine.com/wik/wikka.php?wakka=YapInfo

Info on modifying YAP for your own projects
http://www.murga-linux.com/puppy/viewto ... 153#185153

Posted: Thu 09 Oct 2008, 21:07
by vovchik
Dear Lobster,

I made an icon today that you might want to use.



With kind regards,
vovchik

Posted: Fri 10 Oct 2008, 10:34
by Lobster
Many thanks.

Is there much interest in Buddhism in the Ukraine?
I imagine it to be mostly Christian Orthodox.