YAP Lobster Alter Program

Under development: PCMCIA, wireless, etc.
Message
Author
User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

YAP Lobster Alter Program

#1 Post 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
Last edited by Lobster on Sat 22 Oct 2011, 01:36, edited 18 times in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post 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

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#3 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

YAP

#4 Post 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:
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

mcewanw
Posts: 3169
Joined: Thu 16 Aug 2007, 10:48
Contact:

Re: YAP

#5 Post 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?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#6 Post 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 . . .
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

YAP Alter/Shrine builder available NOW

#7 Post 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!
Last edited by Lobster on Thu 24 Jan 2008, 11:20, edited 2 times in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Improvements

#8 Post by Lobster »

DOWNLOAD second Alpha
http://www.tmxxine.com/shrine3/YAP_Jan21.tar.gz

Changes
FAQS updated
English chant scroller added for major Sutra
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#9 Post by Lobster »

Software now included as an experimental Dingo powered puplet
http://www.murga-linux.com/puppy/viewto ... 557#167557
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#10 Post 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

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#11 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

easy to alter

#12 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#13 Post 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 . . .

:)
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

nic2109
Posts: 405
Joined: Mon 01 Jan 2007, 20:24
Location: Hayslope, near Middlemarch, Midlands, England

Re: YAP Alter/Shrine builder available NOW

#14 Post 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?

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

Re: YAP Alter/Shrine builder available NOW

#15 Post 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.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#16 Post by Lobster »

Image

New Beta - suitable for any Puppy 2.10 onward with a flash enabled browser - see first post
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#17 Post 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 :)
Last edited by Lobster on Fri 10 Oct 2008, 06:11, edited 1 time in total.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#18 Post 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
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#19 Post by vovchik »

Dear Lobster,

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



With kind regards,
vovchik
Attachments
buddha-but.png
(64.88 KiB) Downloaded 885 times

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post by Lobster »

Many thanks.

Is there much interest in Buddhism in the Ukraine?
I imagine it to be mostly Christian Orthodox.
Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

Post Reply