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 Sat 24 Feb 2018, 12:46
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
Welcome .Pup - for newcomers
Moderators: deshlab, Flash, GuestToo, Ian, JohnMurga, Lobster
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 3 [33 Posts]   Goto page: Previous 1, 2, 3 Next
Author Message
Lobster
Official Crustacean


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

PostPosted: Wed 10 Aug 2005, 02:09    Post subject:  

How about doing some program redesigning Peppyy?

Opening the welcome file as text
you see this near the top


Code:
# Lobster August 2005 Puppy Welcome version 0.0.8
# License Public Domain
 
export WelcomePuppy="

<vbox>


. . . and this near the bottom

Code:
</vbox>

"
gtkdialog --program WelcomePuppy

unset WelcomePuppy


Change the two instances of </vbox> to </hbox>
Save and run and now the program is a long horizontal selector

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
peppyy


Joined: 27 Jun 2005
Posts: 439
Location: VT USA

PostPosted: Tue 16 Aug 2005, 00:23    Post subject:  

I saw that in the screenshot, nice touch. Well it did catch my eye. No, I am afraid that changing colors in torsmo was enough of a challange for me. I played with gkrelem for almost a whole day on my big box . Got it looking really nice, and then I found out i could skin it. Kind of like the custom skin I made for xmms, another long story Laughing
_________________
Puppy Linux...
It just works!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
Lobster
Official Crustacean


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

PostPosted: Tue 16 Aug 2005, 04:18    Post subject:  

Embarassed Well the welcome Pup seems to have been gobbled (if you will pardon the expression). So have enclosed it again.

It has taken me nearly 6 months to get Torsmo working (people are still laughing at my stupidity) All I needed to do was turn up the contrast on my monitor - the shame of it Embarassed

Oh well!
I think I will download the welcome.pup and click on help and go through the help files, then the forum, then see if anyone is on the chat forum - maybe check out the news - hey what is going on with Krazy Puppy?

Last updated Jan 17 2006
welcome.pup
Description 
pup

 Download 
Filename  welcome.pup 
Filesize  5.75 KB 
Downloaded  570 Time(s) 

_________________
YinYana AI Buddhism

Last edited by Lobster on Tue 17 Jan 2006, 01:13; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website 
Guest
Guest


PostPosted: Tue 16 Aug 2005, 08:41    Post subject:  

I've just downloaded it

The launch bar is very convenient

Very Nice!!
Back to top
puppian


Joined: 18 Jul 2005
Posts: 538
Location: PuppyLand

PostPosted: Tue 16 Aug 2005, 08:53    Post subject:  

it's me... don't noticed that i'm logged out
_________________
Puppylinux.org - Community home page of Puppy Linux hosted by Barry (creator of Puppy), created and maintained by the Puppy Linux Foundation since 2005
Back to top
View user's profile Send private message Visit poster's website 
peppyy


Joined: 27 Jun 2005
Posts: 439
Location: VT USA

PostPosted: Tue 16 Aug 2005, 10:18    Post subject:  

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.

_________________
Puppy Linux...
It just works!
Back to top
View user's profile Send private message Visit poster's website Yahoo Messenger 
Lobster
Official Crustacean


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

PostPosted: Tue 16 Aug 2005, 10:54    Post subject:  

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)

Smile

Anyways it is a work in progress - hope some are finding it useful . . .

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Lobster
Official Crustacean


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

PostPosted: Tue 17 Jan 2006, 01:40    Post subject:  

Very Happy

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:
/usr/local/welcome/
welcome.jpg
 Description   
 Filesize   69.26 KB
 Viewed   1856 Time(s)

welcome.jpg


_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
willhunt


Joined: 05 Oct 2005
Posts: 495

PostPosted: Thu 20 Jul 2006, 02:39    Post subject: 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 Smile

Code:

#!/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



and the files I would like to include
choose.sh
Code:

#!/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


any help would be great as I am clueless Sad
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Fri 21 Jul 2006, 00:28    Post subject:  

Smile

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:
#!/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


Then I modified the existing welcome file like so

Code:
#!/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:
     <action>/usr/local/welcome/howto &</action>


you will notice that it calls the howto file (your code) from a specific location
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:

# Will Hunt Jul 2006 Puppy Welcome version 1.4
# License GPL


Smile

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:
  <action>defaultbrowser http://rhinoweb.us/ &</action>


Hope that is of some use - and here is a console command
"pwd"
just put that in - not password - it means present working directory
Smile

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12772
Location: Arizona USA

PostPosted: Fri 21 Jul 2006, 01:18    Post subject:  

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


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

PostPosted: Fri 21 Jul 2006, 02:57    Post subject: 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"

_________________
YinYana AI Buddhism
Back to top
View user's profile Send private message Visit poster's website 
willhunt


Joined: 05 Oct 2005
Posts: 495

PostPosted: Fri 21 Jul 2006, 03:16    Post subject: 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 Smile And i like that cut and
paste and the logo
Embarassed
welcome.pup
Description 
pup

 Download 
Filename  welcome.pup 
Filesize  22.23 KB 
Downloaded  441 Time(s) 

Last edited by willhunt on Fri 21 Jul 2006, 09:10; edited 1 time in total
Back to top
View user's profile Send private message 
GuestToo
Puppy Master

Joined: 04 May 2005
Posts: 4078

PostPosted: Fri 21 Jul 2006, 06:16    Post subject:  

Quote:
the place to put G2's explanation of the Linux way to copy and paste

in any case, there could be text displayed at the top of rxvt windows when they are opened

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
bannerdemo.pup
Description  rxvt banner demo
pup

 Download 
Filename  bannerdemo.pup 
Filesize  1.52 KB 
Downloaded  455 Time(s) 
Back to top
View user's profile Send private message 
willhunt


Joined: 05 Oct 2005
Posts: 495

PostPosted: Sat 22 Jul 2006, 02:17    Post subject: 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
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 3 [33 Posts]   Goto page: Previous 1, 2, 3 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Unsorted
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.0938s ][ Queries: 15 (0.0232s) ][ GZIP on ]