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 Thu 24 Apr 2014, 01:56
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
YAP Lobster Alter Program
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
Author Message
Lobster
Official Crustacean


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

PostPosted: Sat 19 Jan 2008, 07:31    Post subject:  YAP Lobster Alter Program
Subject description: YAP Feb 14
 



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/viewtopic.php?p=574702#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/viewtopic.php?p=167557#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:
#! /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ālaya \n om Vajrasattva! Preserve the bond! \n\n Vajrasattvatvenopati ha \n As Vajrasattva stand before me. \n\n dridho me bhava \n Be firm for me. \n\n sutoshyo me bhava \n Be greatly pleased for me. \n\n suposhyo me bhava \n Deeply nourish me \n\n anurakto me bhava \n Love me passionately \n\n sarva siddhi ma me prayaccha \n Grant me siddhi in all things, \n\n sarvakarmasu ca me citta śreya kuru hūm \n And in all actions make my mind most excellent. hūm \n\n ha ha ha ha ho \n ha ha ha ha ho \n\n bhagavan sarvatathāgatavajra mā me muñka \n Blessed One! Vajra of all the tathāgatas! Do not abandon me. \n\n vajrī bhava mahāsamayasattva āh (hūm phat) \n Be the Vajra-bearer, Being of the Great Bond! āh (hūm phat)" 600x0`</action>
            <action>defaultbrowser file://`pwd`/videos/vajra.swf &</action>
               <action>exit</action>
         </menuitem>       
         <menuitem>
                <action>defaultbrowser file://`pwd`/html/chant.html &</action>
                <action>defaultbrowser file://`pwd`/sound/tarafast.swf &</action>
            <label>21 Tara Praise Scroller</label>
         </menuitem>
         <menuitem>
            <label>Tara Mantra of Joy</label>
               <action>defaultbrowser file://`pwd`/videos/taraom.swf &</action>         
         </menuitem>   
         <menuitem>
                 <label>Shingon Chant</label>
                      <action>flite "Welcome to Shingon"</action>
                     <action>`Xdialog --wrap --screencenter --left --title "Shingon Chant" --msgbox "Shingon. Keep your back straight and your mind attentive. \n\n OM YA HA HUM" 600x0`</action>
                      <action>defaultbrowser file://`pwd`/videos/shingon.swf &</action>
                      <action>exit</action>
              </menuitem> 
         <label>Programs</label>
    </menu>
    <menu>
        <menuitem>
           <label>Basic Buddhism</label>
              <action>defaultbrowser file://`pwd`/html/basics.html &</action>
        </menuitem>
        <menuitem>
           <label>Shrine Building</label>
               <action>defaultbrowser file://`pwd`/html/shrine1.html &</action>
        </menuitem>
            <menuitem>
            <label>Meditation</label>
              <action>`Xdialog --wrap --screencenter --left --title "Meditation" --msgbox "Info on Meditation practice. Requires internet connection to view. Keep your mind attentive. \n\n OM YA HA HUM" 600x0`</action>
              <action>defaultbrowser http://buddhism.kalachakranet.org/meditation_practice.html &</action>
        </menuitem> 
        <menuitem>
                    <action>`Xdialog --wrap --screencenter --left --title "Meditation" --msgbox "Info on Meditation practice. Requires internet connection to view. Keep your mind attentive. \n\n OM YA HA HUM" 600x0`</action>
            <label>On Meditation</label>
              <action>defaultbrowser http://www.youtube.com/watch?v=F3g4cNJgVwo &</action>
                 <action>exit</action>
        </menuitem>   
        <menuitem>
           <label>FAQS</label>
               <action>defaultbrowser file://`pwd`/html/faqs.html &</action>
         </menuitem>
                    <label>Help</label>
   </menu>   
  </menubar>
  <frame>
       <pixmap>
         <input file>videos/animrainbow.gif</input>
       </pixmap>
       <text><label>YinYana Alter Practice</label></text>
       <text><label>March 11 2008</label></text>
   </frame>
   <hbox>
        <button cancel></button>
  </hbox>
</vbox>
 </window>'

gtkdialog3 --program Vision
unset Vision


Thanks guys Smile

_________________
Puppy WIKI

Last edited by Lobster on Fri 21 Oct 2011, 21:36; edited 18 times in total
Back to top
View user's profile Send private message Visit poster's website 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Sat 19 Jan 2008, 22:54    Post subject:  

Code:
<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
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Sun 20 Jan 2008, 01:10    Post subject:  

Thanks Mark Smile

Quote:
how do I get local html files to play in the browser?
I tried all that file:/// stuff but always get confused . . .


Quote:
<action>defaultbrowser ./html/shrine1.html &</action>


update Sorted! See previous post

code in first post of thread updated

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


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

PostPosted: Sun 20 Jan 2008, 06:39    Post subject: YAP
Subject description: YinYana Alter Program nears manifestation in this realm
 

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 . . . Cool
Get your incense ready . . . Very Happy


This is the code I am stuck on Embarassed
- 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:
    <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 Rolling Eyes

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

Joined: 16 Aug 2007
Posts: 2019
Location: New Zealand

PostPosted: Sun 20 Jan 2008, 09:15    Post subject: Re: YAP
Subject description: YinYana Alter Program nears manifestation in this realm
 

Lobster wrote:

Code:
    <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?
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Sun 20 Jan 2008, 10:28    Post subject:  

Code:
   
<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:
 /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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Sun 20 Jan 2008, 14:01    Post subject: YAP Alter/Shrine builder available NOW
Subject description: Alpha download
 


Very Happy

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

Needs testing Cool

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) Cool

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!

_________________
Puppy WIKI

Last edited by Lobster on Thu 24 Jan 2008, 07:20; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Mon 21 Jan 2008, 21:10    Post subject: Improvements  

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

Changes
FAQS updated
English chant scroller added for major Sutra

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


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

PostPosted: Wed 23 Jan 2008, 14:22    Post subject:  

Software now included as an experimental Dingo powered puplet
http://www.murga-linux.com/puppy/viewtopic.php?p=167557#167557

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


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Wed 23 Jan 2008, 17:25    Post subject:  

Quote:
<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
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Thu 24 Jan 2008, 09:55    Post subject:  

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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Mon 28 Jan 2008, 02:50    Post subject: easy to alter  



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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Fri 01 Feb 2008, 12:41    Post subject:  

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

Smile

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

Joined: 01 Jan 2007
Posts: 406
Location: Hayslope, near Middlemarch, Midlands, England

PostPosted: Fri 01 Feb 2008, 19:04    Post subject: Re: YAP Alter/Shrine builder available NOW
Subject description: Alpha download
 

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) :- www.sacredspace.ie. I really enjoy this, so I hope your shrine increases karma widely. Smile

PS:
Quote:
YAP Alter/Shrine builder available NOW
Do you mean "altar"? Or are you aiming to alter our consciousness?
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Sat 02 Feb 2008, 00:13    Post subject: Re: YAP Alter/Shrine builder available NOW
Subject description: Alpha download
 

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
Smile
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 WIKI
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [25 Posts]   Goto page: 1, 2 Next
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.1122s ][ Queries: 12 (0.0095s) ][ GZIP on ]