Using the rute guide
http://wireless.ictp.trieste.it/school_ ... /rute.html
was able to create the enclosed shell by hacking an existing wizard.
I store it in /usr/sbin with the name welcome.sh
drag it onto the desktop
seems to work OK on 1.0.2
Does it work on 1.0.1 of Puppy?
Gosh it was pretty easy to do - considering my first script was ech0 "hello world"
Hope it works OK
from the shell (rxvt)
chmod +x welcome.sh
Then you can start your script by typing: ./welcome.sh
Code: Select all
#!/bin/sh
# Lobster May 2005 version 0.0.4
export WelcomePuppy="
<vbox>
<hbox>
<text>
<label>OFF LINE SERVICES</label>
</text>
</hbox>
<hbox>
<text>
<label>Wizards...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/wizard16.xpm</input>
<action>/usr/sbin/wizardwizard &</action>
</button>
</hbox>
<hbox>
<text>
<label>Net Connect...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini.netscape.xpm</input>
<action>dillo /usr/share/doc/HOWTO_Internet.htm &</action>
</button>
</hbox>
<hbox>
<text>
<label>Sound test...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini.audiovol.xpm</input>
<action>play /usr/share/audio/ivy.mp3 &</action>
</button>
</hbox>
<hbox>
<text>
<label>ON LINE SERVICES</label>
</text>
</hbox>
<hbox>
<text>
<label>More Programs...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-diskette.xpm</input>
<action>dillo http://www.goosee.com/puppy/wikka/DotPups &</action>
<action> /usr/sbin/pupget &</action>
</button>
</hbox>
<hbox>
<text>
<label>Tell a Friend...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-happy.xpm</input>
<action>mozilla http://www.goosee.com/puppy/wikka/FriendEmail &</action>
</button>
</hbox>
<hbox>
<text>
<label>Puppy Forum...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-dog.xpm</input>
<action>mozilla http://www.murga.org/~puppy/ &</action>
</button>
</hbox>
<hbox>
<text>
<label>Puppy IRC Chat...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/chat16.xpm</input>
<action>mozilla http://www.goosee.com/puppy/wikka/PuppyLinuxIRC &</action>
</button>
</hbox>
<hbox>
<text>
<label>Latest News...</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-news.xpm</input>
<action>mozilla http://www.goosee.com/puppy/wikka/LatestNews &</action>
</button>
</hbox>
<hbox>
<button cancel></button>
</hbox>
</vbox>
"
gtkdialog --program WelcomePuppy
unset WelcomePuppy