PuppyLinux : DotpupWizard

PuppyLinuxMainPage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register

Using the Dotpup Wizard


Using the working compiled program "myprogram" as an example, make the filesystem as shown on the left of figure 1:
                Use this code, if "myprogram" is in /usr/bin or /usr/local/bin
Code:
#!/bin/sh
myprogram
            This opens an orange terminal and runs myprogram
Code:
#!/bin/sh
rxvt -bg orange --geometry 60x20 -title "myprogram" -e myprogram
             Use this code, if "myprogram" is not in one of the Folders, that are in $PATH (such as /usr/local/bin)
Code:
#!/bin/sh
cd /usr/local/myprogram/
./myprogram
  FIGURE 1
Filesystem FIGURE 1 
Running the wizard:
NOTES:
You can add 3 scripts that will run during Dotpup-installation:
- prepreinstall.sh
This is run before anything else.
As the Dotpup is not extracted yet, you cannot access embedded pictures.
- preinstall.sh
Runs after the folder selection for relocatable Dotpups.
Same restrictions as above.
- postinstall.sh
runs after the Dotpup was installed from the final location.
---------------------------------
The first letter of Alien packages (one that replaces applications on the original Puppy CD)
must be UPPER case to avoid problems with pupget.
  Not:  openssh.pup  But: Openssh.pup
---------------------------------
 
Menu-entries:
/usr/local/myprogram/run-myprogram will appear in the dotpups-menu.
Since Puppy 2.14, this is depreciated, but the wizard also allows you to create a ".desktop" file.
Puppy since 2.14 will use this to add a menu-entry in the correct category.
----------------------------------
When this Pup is installed:
myprogram.tgz is extracted to /usr/local (so you have the file /usr/local/myprogram/myprogram).
FILESYSTEM.tgz is extracted to /
Overwrite: If the files in FILESYSTEM.tgz already exist, and a message will pop up.  
Desktop-Menus are updated, and a symbolic Link will be added to /usr/local/bin, so that your program seems to be in the PATH, this way you can start it in rxvt without typing the full patname.
All files and symlinks will be registered to PupGet.

---------------------------------
A dotpup can be created by hand easily as well, see here: http://puppylinux.org/wikka/dpup
For Puppy 2.14 and up users: http://www.puppyos.com/development/createpet.htm
---------------------------------
 
Download:
http://puppyfiles.org/dotpupsde/dotpups/System_Utilities/Dotpup-Wizard-mu06.pup (25 kb)


CategoryHowto

There are no comments on this page. [Add comment]

Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by Wikka Wakka Wiki 1.1.6.0
Page was generated in 0.1054 seconds