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 20 Sep 2014, 04:20
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
LIT 3 - help!
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [10 Posts]  
Author Message
Lobster
Official Crustacean


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

PostPosted: Wed 19 Nov 2008, 09:02    Post subject:  LIT 3 - help!
Subject description: more programming inaptitude from Lobster
 

hi Guys getting myself in a pickle as per usual Embarassed

Trying to upgrade LIT a simple installer for 4 series Puppy and puplets
The major thing is including a front end for 'Petch' created by Tom (temporarily holidaying with Debian)

Also included as a zip attachment with petch - just unzip to any directory and run LIT
This is the code I have cobbled together:

Code:
#! /bin/bash
# Light Installer Tmxxine GPL v3 License
# LIT v3 November 2008
# created by Lobster and someone with a clue
###################

export LIT='
<window title="Light Installer" window-position="1">
<vbox>
 <menubar>
   <menu>
 <menuitem>
        <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=221933#221933 &</action>
           <label>Compiz Fusion</label>
           <action>exit</action>
         </menuitem> 
          <menuitem>
           <action>defaultbrowser http://puppylinux.org/wikka/Compiling &</action>
           <label>Developer Module</label>
           <action>exit</action>
         </menuitem>
         <menuitem>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=EZpup &</action>
           <label>Ezpup</label>
           <action>exit</action>
         </menuitem>   
         <menuitem>
           <action>defaultbrowser http://www.ttuuxxx.com/bigbass/FileZilla-3.0.10-version4.00.pet &</action>
           <label>Filezilla</label>
           <action>exit</action>
         </menuitem> 
         <menuitem>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=FireFox &</action>
           <label>Firefox</label>
           <action>exit</action>
         </menuitem>   
             <menuitem>
           <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=210306#210306 &</action>
           <label>Flash</label>
           <action>exit</action>
         </menuitem>       
         <menuitem>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=GimpShop &</action>
           <label>Gimpshop graphics editor</label>
         </menuitem>     
         <menuitem>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxineGizmo &</action>
           <label>Gizmo VOIP</label>
           <action>exit</action>
         </menuitem> 
         <menuitem>
           <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=205331#205331 &</action>
           <label>Java</label>
           <action>exit</action>
        </menuitem>           
          <menuitem>
           <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=203328#203328 &</action>
           <label>Koffice</label>
           <action>exit</action>
        </menuitem>       
         <menuitem>
          <label>Kompozer HTML composition</label>
          <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=Kompozer &</action>
          <action>exit</action>
        </menuitem>
        <menuitem>       
           <label>Midori Browser</label>
          <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=201498#201498 &</action>         
       </menuitem>
       <menuitem>
     <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=OpenOffice &</action>
     <label>OpenOffice Suite</label>
     <action>exit</action>
         </menuitem>
         <menuitem>       
             <label>Opera</label>
             <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=176326#176326 &</action>         
        </menuitem> 
       <menuitem>       
             <label>Python</label>
             <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=209578#209578 &</action>         
       </menuitem>   
       <menuitem>       
             <label>Skype</label>
             <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=Skype &</action>         
       </menuitem>       
       <menuitem>       
             <label>VYM</label>
             <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=217100#217100 &</action>         
       </menuitem>         
      <menuitem>       
             <label>WxLua</label>
             <action>defaultbrowser http://www.murga-linux.com/puppy/viewtopic.php?p=210428#210428 &</action>         
       </menuitem>         
         <menuitem>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=Wine &</action>
           <label>Wine</label>
           <action>exit</action>
         </menuitem>
      <label>Add Programs</label>
    </menu>
  <menu>
      <menuitem>
       <label>Petch Installer</label>
       <action>rxvt -e ./petch</action>
      </menuitem>
      <menuitem>
       <label>Setup Puppy</label>
       <action>wizardwizard &</action>
    </menuitem>
    <menuitem>
           <label>Online Programs</label>
           <action>defaultbrowser http://pupweb.org/desktop/ &</action>
    </menuitem>
    <menuitem>
       <label>Sofware</label>
       <action>/usr/local/petget/pkg_chooser.sh &</action>
    </menuitem>
    <menuitem>
       <label>Simplified Sofware</label>
       <action> /usr/sbin/pupget &</action>
    </menuitem>
    <menuitem>
       <label>Pet depository</label>
           <action>defaultbrowser http://www.puppylinux.org/node/9 &</action>
    </menuitem>
    <label>Extras</label>
   </menu>   
      <menu>
         <menuitem>
           <label>Tmxxine Upgrades</label>
           <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxineUpgrades &</action>
         </menuitem>
         <menuitem>
           <label>Puppy Forum</label>
           <action>defaultbrowser http://www.murga-linux.com/puppy/ &</action>
         </menuitem>
         <menuitem>
           <label>Puppy In-built help</label>
             <action>defaulthtmlviewer file:///usr/share/doc/index.html &</action>
         </menuitem>
         <menuitem>       
             <label>Latest 4.1.1 Addons</label>
             <action>defaultbrowser http://tmxxine.com/wik/wikka.php?wakka=DingoAddons &</action>         
         </menuitem>   
         <menuitem>       
             <label>About</label>
<action>`Xdialog --wrap --screencenter --left --title "LIT 3 - HELP" --msgbox "Light Installer Tmxxine GPL v3 License \n\n New for v3: Petch added, links updated, Designed for Puppy Linux Dingo 4.xx series \n\n Linux Tmxxine http://tmxxine.com/wik/wikka.php?wakka=LinuxTmxxine10 has always attempyed 100% compatibility with Puppy Linux, Add major software, Add official .pets (Puppys own package format - just click on them to install), Use 'Cloud' Online facilities, Setup Puppy, Two formats for adding software packages: .pets (Puppy Extra Treats) - download and click on to install .sfs (squash files) - download to /mnt/home/ and run Menu / System / Bootmanager configure bootup and reboot. \n\n created by Lobster Nov 2008" 600x0`</action>         
         </menuitem>
     <label>Help</label>
   </menu>   
 </menubar>
  <frame>
       <pixmap>
         <input file>lit.jpg</input>
       </pixmap>     
   </frame>
 <hbox>
  <text><label>Install</label></text>
  <entry accept="directory"><variable>SOURCE</variable><input>/tmp/pm_source_dir</input></entry>
 </hbox>
    <hbox>
     <button ok></button>
     <button cancel></button>
    </hbox>
</vbox>
 </window>'

I=$IFS; IFS=""
for STATEMENTS in  $(gtkdialog3 --program=LIT --center); do
   eval $STATEMENTS
done
IFS=$I
if [ $EXIT = OK ]; then
  exec rxvt -e ./petch -name Xpetch -bg "#F3F2DF" -e petch -c -P $SOURCE
fi

gtkdialog3 --program LIT
unset LIT   


This last bit is meant to take any program as a variable pass it to rxvt so it runs the command from rxvt

Petch softwareName

It seems to be doing something
but not sure what


Code:
I=$IFS; IFS=""
for STATEMENTS in  $(gtkdialog3 --program=LIT --center); do
   eval $STATEMENTS
done
IFS=$I
if [ $EXIT = OK ]; then
  exec rxvt -e ./petch -name Xpetch -bg "#F3F2DF" -e petch -c -P $SOURCE
fi


Help!
thanks . . .
lit3_alpha.tar.gz
Description 
gz

 Download 
Filename  lit3_alpha.tar.gz 
Filesize  5.9 KB 
Downloaded  289 Time(s) 

_________________
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 19 Nov 2008, 09:19    Post subject:  

Hi Lob,

Code:
  exec rxvt -title Xpetch -bg orange -e ./petch -c -P $SOURCE


I use "./petch" , not "petch", so that the petch in the same folder is used.
You also called twice " -e petch", so I removed that.

Mark

_________________
my recommended links
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 19 Nov 2008, 11:54    Post subject:  

Cool Thanks Mark

It now seems to work OK. Smile

Better finish it off and polish it up a bit Smile

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


Joined: 03 Jan 2008
Posts: 540
Location: Los Angeles

PostPosted: Wed 19 Nov 2008, 14:27    Post subject:  

Lobster,

This looks very promising. Really good thinking. Let us know when the polishing and finishing is complete.

_________________
Macpup - The beauty of linux | Pritlog - Simple blog app
Back to top
View user's profile Send private message 
Lobster
Official Crustacean


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

PostPosted: Thu 20 Nov 2008, 02:28    Post subject:  

Hi Prit

Enclosed is the Beta - if anyone would like to test and/or suggest further 4.xx series programs

Help improved
Links updated
lit3beta.tar.gz
Description 
gz

 Download 
Filename  lit3beta.tar.gz 
Filesize  6.22 KB 
Downloaded  287 Time(s) 

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


Joined: 05 May 2007
Posts: 10751
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 20 Nov 2008, 04:59    Post subject:  

Here's a pet package if you want to install it and have a menu item
menu/Setup Lit Software Packages
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile

Last edited by ttuuxxx on Thu 20 Nov 2008, 06:28; edited 1 time 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: Thu 20 Nov 2008, 06:13    Post subject:  

Thanks Ttuuxxx

have released it here as LIT 3
http://www.murga-linux.com/puppy/viewtopic.php?p=235185#235185

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


Joined: 05 May 2007
Posts: 10751
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 20 Nov 2008, 06:28    Post subject:  

Your Welcome Wink It had 1 error, filezilla has been removed, Bigbass moved to Erics site because my server wasn't downloading properly, but that filezilla is outdated anyways and I packaged the latest and it works on 4.0 and 4.1, I tested it, I also updated the code on this one at the bottom of this message. So maybe delete the first one I posted and replace it with this one.
ttuuxxx
LIT-3.0.pet
Description 
pet

 Download 
Filename  LIT-3.0.pet 
Filesize  6.58 KB 
Downloaded  307 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
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 20 Nov 2008, 06:56    Post subject:  

ttuuxxx, at the moment getting this with your filezilla link
Quote:
Concurrent download limit exceeded.

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


Joined: 05 May 2007
Posts: 10751
Location: Ontario Canada,Sydney Australia

PostPosted: Thu 20 Nov 2008, 07:02    Post subject:  

Lobster wrote:
ttuuxxx, at the moment getting this with your filezilla link
Quote:
Concurrent download limit exceeded.

Thats eric's site, it has reached its monthly download limit I'm Guessing.
Knowing him, he's probably already on it as we speak Smile
Ps the file is there, just can't download it until the server is fixed
ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [10 Posts]  
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.1060s ][ Queries: 12 (0.0086s) ][ GZIP on ]