Dear vovchik, fellow fun lovers,
Editor is a great idea
Had to play about a bit to understand how to get that link . . .
One of my duties as official crustacean to Puppy Linux
is to provide cyber elephants.
It is a hard job but someone has to be crazy enough to do it . . .
I have done that with the enclosed file which is designed
for Lucid 5.1 (it will not work in Lucid 5.0) as mplayer is used.
If you want to use another version of Puppy
you will need to change
to something like
Download the file
unzip in a directory
and run the xpupsay-1 pet
then run 'xcowsay'
It is a vedic invocation
to the Hindu deity Ganesh - partially elephant
(featuring Shivas male cow)
Ganapatayei is one of Ganeshas many names
Below is the code
I mean it as a serious contribution to
a 40 day practice/puja I am doing
Much to my surprise Ganesha is venerated by some Christians,
as well as Hindus, Jains, Buddhists, the spiritually demented
I did try using flite for repeating mantras
but found it hard to get an acceptable effect
- if you have flite installed there is still a remnant
in the code . . .
The best I could do with flite, is this mantra to Murugan (brother of Ganesh)
Code: Select all
flitet "OM, SHA-RA-VA-NA-BHA-VA-YA, NAHMA-HAH."
So what I have done is use an actual mp3 file and repeated that
Not sure how it works out on slower computers . . .
and of course doing it this way, makes the size larger . . .
It also counts the number of mantras recited and displays that
Code: Select all
#! /bin/bash
# Sacred Vedic Chants
# Lobster, Vovchic, Joe Big Bass, Seaside, Potong
- Aug 6 010
# --------------------
function init_vars()
# --------------------
{
txt1="Ganesh\n
Will chant mantras for you\n
OM SHANTI OM"
txt2="Om Gam Ganapatayei Namaha"
sec=10
fnt="DejaVu Sans Bold 15"
repetitions=27 # Change the number of recitations
}
# # # # # # # # # # # # # # #
function display_message()
# # # # # # # # # # # # # # #
{
aplay tinsha.wav "$@" &
xpupsay --image=ganesha1.gif --time=4 "Om Gam Ganapatayei Namaha" "$@"
printf %b "$txt1" | xpupsay --image=nandi.png --time=$sec --font="$fnt" "$@" | aplay &
sleep 10
for g in $(eval echo {$repetitions..1})
do
mplayer Ganesh_Mantra.mp3 "$@" &
printf %b "$txt2 \n\n" " $g" | xpupsay --image=ganesh.gif --time=6 --font="$fnt" "$@"
done
sleep 2
xpupsay --image=ganesha1.gif --time=9 "Om Gam Ganapatayei Namaha" "$@" &
aplay tinsha.wav "$@" &
}
# # # # # # # #
# END FUNCTIONS
# # # # # # # #
# # # # # # # #
# MAIN
# # # # # # # #
init_vars
display_message
# # # # # # # #
# END MAIN
# # # # # # # #
For those of you not used to Hindu iconography
it can be a little disconcerting
So . . .
The mantra is a greeting to Ganesh
and is designed to overcome obstacles
You can chant along or just listen
Any merit is dedicated to Puppy Linux Lucid 5.1
and in particular Larry and Mick
who have worked on two Puppy editions now
I have set the mantra to repeat 27 times
which is enough to gain a little piece of peace
but not turn you completely Ganapatayei
Om Gam Ganapatayei Namaha
Holy Cow
it's Puppy Linux