Welcome .Pup - for newcomers
I think there might be a slight problem with a few of the actions. When I click on Mount it brings up Puppy XUL alpha 0.0.3 too.
Very nice tho. How would I change the default applications like launching mplayer instead of gxine?... Wait! It is in the readme. It is the make a wish thing. I suppose I should setup all the defaults before I hand this over to my client.
Have to read my choices list again now that I think I am through installing.
Ahhhhhhhhh, I am weally giong to miss this little pup.
Very nice tho. How would I change the default applications like launching mplayer instead of gxine?... Wait! It is in the readme. It is the make a wish thing. I suppose I should setup all the defaults before I hand this over to my client.
Have to read my choices list again now that I think I am through installing.
Ahhhhhhhhh, I am weally giong to miss this little pup.
Puppy Linux...
It just works!
It just works!
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
The double opening is to demonstrate what I am attempting with XUL
- the "progs" icon also brings up pupgets and dotpups (two programs) if this is confusing then I can restrict it to one . . .
I am now working on a right click option which would save desktop space . .
The readme should tell you how to "hack" the script - it is as easy as I could make it. It was designed by an idiot for idiots (that does not make it idiot proof)
Anyways it is a work in progress - hope some are finding it useful . . .
- the "progs" icon also brings up pupgets and dotpups (two programs) if this is confusing then I can restrict it to one . . .
I am now working on a right click option which would save desktop space . .
The readme should tell you how to "hack" the script - it is as easy as I could make it. It was designed by an idiot for idiots (that does not make it idiot proof)
Anyways it is a work in progress - hope some are finding it useful . . .
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
Further to the Foundation meeting
this program has been updated
See first posting in this thread for latest downloadable .pup
The important update is the Links button
which now brings up an HTML file of most useful web pages
the bookmarks.html that comes with the program can also be imported into mozilla browser
and found at:
Code: Select all
/usr/local/welcome/
- Attachments
-
- welcome.jpg
- (69.26 KiB) Downloaded 1868 times
I've been reading agian :)
Lobster thanks for this welcome pup as I am new
to this stuff it has been most educational for me
but I have hit a snag and was wondering if
someone could help
and the files I would like to include
choose.sh
any help would be great as I am clueless
to this stuff it has been most educational for me
but I have hit a snag and was wondering if
someone could help
Code: Select all
#!/bin/sh
# adapted from
# Lobster August Dec 2005 Puppy Welcome version 0.1.1
# License GPL
export ChewToy="
<hbox>
<frame Tools>
<hbox>
<text>
<label>Docs</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mut.xpm</input>
<action>dillo /usr/share/doc/index.html &</action>
<action>sleep 3</action>
##
###### can this be encapsulated so I only have 1 file
##
<action>./choose.sh &</action>
</button>
</hbox>
<hbox>
<text>
<label>Wizards</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-dog.xpm</input>
<action>./wiz.sh &</action>
</button>
</hbox>
<hbox>
<text>
<label>Bkgrnd</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons//mini.window3d.xpm</input>
<action>set-bkgrnd &</action>
</button>
</hbox>
<hbox>
<text>
<label>Edit</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini.text.xpm</input>
<action>./edit.sh &</action>
</button>
</hbox>
</frame>
<frame Xtras>
<hbox>
<text>
<label>Paint</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-palette.xpm</input>
<action>/usr/local/bin/mtpaint &</action>
</button>
</hbox>
<hbox>
<text>
<label>Media</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/gxine.xpm</input>
<action>/usr/local/bin/gxine &</action>
</button>
</hbox>
<hbox>
<text>
<label>Volume</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-speaker.xpm</input>
<action>/usr/local/bin/xtmix &</action>
</button>
</hbox>
</frame>
<frame Online>
<hbox>
<text>
<label>News</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-news.xpm</input>
<action>defaultbrowser http://www.puppylinux.org/wikka/LatestNews &</action>
</button>
</hbox>
<hbox>
<text>
<label>Forum</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-dog.xpm</input>
<action>defaultbrowser http://www.murga.org/~puppy/ &</action>
</button>
</hbox>
<hbox>
<text>
<label>Software</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/dotpup.xpm</input>
<action>dillo http://www.puppylinux.org/wikka/DotPups &</action>
<action> dotpup &</action>
</button>
</hbox>
<hbox>
<text>
<label>Chat</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/chat16.xpm</input>
<action>mozilla http://www.puppylinux.org/wikka/PuppyLinuxIRC &</action>
</button>
</hbox>
</frame>
<frame>
<vbox>
##
###### gotta be a way to put these at the bottom of the box
##
<button help>
<action>dillo /usr/share/doc/index.html &</action>
<action>defaultbrowser http://rhinoweb.us/ &</action>
</button>
</vbox>
<vbox>
<button cancel></button>
</vbox>
</frame>
</hbox>
"
gtkdialog --program ChewToy
unset ChewToy
choose.sh
Code: Select all
#!/bin/sh
FILE=`Xdialog --title "Please choose a file" --fselect /usr/share/doc/ 28 58 2>&1`
case $? in
0)
dillo "$FILE" ;;
1)
echo "Cancel pressed.";;
255)
echo "Box closed.";;
esac
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
I am no expert . . .
so I would keep this as a seperate file (which I have called "howto")
I then changed its permissions from rox
Code: Select all
#!/bin/sh
FILE=`Xdialog --title "Please choose a file" --fselect /usr/share/doc/ 28 58 2>&1`
case $? in
0)
dillo "$FILE" ;;
1)
echo "Cancel pressed.";;
255)
echo "Box closed.";;
esac
Code: Select all
#!/bin/sh
# Lobster Jul 2006 Puppy Welcome version 1.3
# License GPL
export WelcomePuppy="
<vbox>
<vbox><pixmap><input file>/usr/local/lib/X11/mini-icons/mini-dog.xpm</input></pixmap></vbox>
<frame Offline>
<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>Help</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-question.xpm</input>
<action>/usr/local/welcome/howto &</action>
<action>defaultbrowser http://rhinoweb.us/ &</action>
</button>
</hbox>
<hbox>
<text>
<label>Drives</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-fdisk.xpm</input>
<action>/usr/sbin/mut &</action>
</button>
</hbox>
<hbox>
<text>
<label>Paint</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-palette.xpm</input>
<action>/usr/local/bin/mtpaint &</action>
</button>
</hbox>
<hbox>
<text>
<label>Edit</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini.text.xpm</input>
<action>/usr/local/bin/leafpad &</action>
</button>
</hbox>
<hbox>
<text>
<label>Media</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-cdlabel.xpm</input>
<action>/usr/local/bin/gxine &</action>
</button>
</hbox>
<hbox>
<text>
<label>Volume</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-speaker.xpm</input>
<action>/usr/local/bin/xtmix &</action>
</button>
</hbox>
</frame>
<frame Online>
<hbox>
<text>
<label>Welcome</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-happy.xpm</input>
<action>dillo http://www.zen45800.zen.co.uk/puppy3/index.htm &</action>
</button>
</hbox>
<hbox>
<text>
<label>Software</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-diskette.xpm</input>
<action>dillo http://www.puppylinux.org/wikka/DotPups &</action>
<action> /usr/sbin/pupget &</action>
</button>
</hbox>
<hbox>
<text>
<label>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>Chat</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/chat16.xpm</input>
<action>mozilla http://www.puppylinux.org/wikka/PuppyLinuxIRC &</action>
</button>
</hbox>
<hbox>
<text>
<label>News</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/mini-news.xpm</input>
<action>mozilla http://www.puppylinux.org/wikka/LatestNews &</action>
</button>
</hbox>
<hbox>
<text>
<label>Links</label>
</text>
<button>
<input file>/usr/local/lib/X11/mini-icons/info16.xpm</input>
<action>mozilla /usr/local/welcome/bookmarks.html &</action>
</button>
</hbox>
</frame>
<hbox>
<button cancel></button>
</hbox>
<hbox>
<text>
<label>lobster@puppylinux.org</label>
</text>
</hbox>
</vbox>
"
gtkdialog --program WelcomePuppy
unset WelcomePuppy
this is the line that calls the howto file with your code
Code: Select all
<action>/usr/local/welcome/howto &</action>
so make sure the files are there
If you play about with the code or it suits you
make it into a dot pup
and call it welcome 1.4
Code: Select all
# Will Hunt Jul 2006 Puppy Welcome version 1.4
# License GPL
one other thing I changed this from "mozilla" to "defaultbrowser" (that was my error) - so now should work with any browser BUT it requires one to be online . . .
Code: Select all
<action>defaultbrowser http://rhinoweb.us/ &</action>
"pwd"
just put that in - not password - it means present working directory
Lobster, do you think the Welcome .pup would be the place to put G2's explanation of the Linux way to copy and paste? It needs to be somewhere that beginners will see.
- Lobster
- Official Crustacean
- Posts: 15522
- Joined: Wed 04 May 2005, 06:06
- Location: Paradox Realm
- Contact:
the third button
GuestToo urged me to get a 3 button mouse (a wheel mouse will do too) and the third mouse button can also be emulated - you can set this up in Puppy some how - anyone remember?
Maybe it should be in there - maybe Will will work it out . . .
Only the Linux Jedi know the force of the "third button"
"May the button be with you"
Maybe it should be in there - maybe Will will work it out . . .
Only the Linux Jedi know the force of the "third button"
"May the button be with you"
thanks lobster and flash
Thanks for the tip lobster. this is a great "puzzle" for me as I've never wrote a
script before but here is the dotpup of the one I have been working at I would
like to have one the used all the examples from xdialog And i like that cut and
paste and the logo
script before but here is the dotpup of the one I have been working at I would
like to have one the used all the examples from xdialog And i like that cut and
paste and the logo
- Attachments
-
- welcome.pup
- (22.23 KiB) Downloaded 473 times
Last edited by willhunt on Fri 21 Jul 2006, 13:10, edited 1 time in total.
in any case, there could be text displayed at the top of rxvt windows when they are openedthe place to put G2's explanation of the Linux way to copy and paste
here's a little demo, with an ascii art banner ... i think MTpaint can export pictures as ascii art
install the dotpup, then open an rxvt console window to see the banner
- Attachments
-
- bannerdemo.pup
- rxvt banner demo
- (1.52 KiB) Downloaded 484 times
gtkdialog guicompletion
This guicompletion looks like something real handy for a linux noob like me the src is only
182k maybe someone will compile it as I have broke my compiler again :oops maybe if GuestToo has time he could compile it and the do the bash patch
182k maybe someone will compile it as I have broke my compiler again :oops maybe if GuestToo has time he could compile it and the do the bash patch
your shell is probably set to /bin/sh
you can find out by typing env
if you type (or paste) this in an rxvt window
export SHELL=/bin/bash
rxvt
it should open a new rxvt window with the banner
or if your shell is /bin/sh, this should also work:
export ENV=/root/.bashrc
rxvt
if it works and you want an rxvt banner every time you open an rxvt window, you can put either
export SHELL=/bin/bash
or
export ENV=/root/.bashrc
in /etc/profile.local and reboot
you can find out by typing env
if you type (or paste) this in an rxvt window
export SHELL=/bin/bash
rxvt
it should open a new rxvt window with the banner
or if your shell is /bin/sh, this should also work:
export ENV=/root/.bashrc
rxvt
if it works and you want an rxvt banner every time you open an rxvt window, you can put either
export SHELL=/bin/bash
or
export ENV=/root/.bashrc
in /etc/profile.local and reboot
what do you use to work with ansi
the last time I used it thedraw was what there was for dos what do you use in linux? I'm digging out the old asni art packs now