Author |
Message |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Fri 13 May 2011, 18:53 Post subject:
|
|
sc0ttman wrote: |
thanks for the info... But why not just use a file called 'pinstall.sh' instead?? It would greatly increase compatibility with other tools and packages.. |
scOttman,
If you mean a file called "pinstall.sh" inside the SFS file, this could be done, but you'd have to edit the SFS file. Outside of the SFS file, it has to have an identifying name for each SFS file, otherwise it would load the first "pinstall.sh" found which might not be the one belonging to the loading SFS file.
With some SFS files, I frequently have some specific configuration profile information only for that SFS to setup before executing the program.
Regards,
s
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Fri 13 May 2011, 19:18 Post subject:
|
|
seaside wrote: | With some SFS files, I frequently have some specific configuration profile information only for that SFS to setup before executing the program.
|
Oh please share such vital info. Could help many.
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Fri 13 May 2011, 20:45 Post subject:
|
|
nooby wrote: |
Oh please share such vital info. Could help many. |
Ok,
Here's one for my softmaker.sfs which copies my /root.softmaker profile (copied and not linked so that I can experiment with changes which will not be saved). And, similar types are made for Firefox and Thunderbird.
Code: | #!/bin/sh
# Softmaker SFS setup
cp -a /mnt/sdb6/.softmaker /root/.softmaker
ln -s /mnt/sdb6/SoftMaker /root/SoftMaker |
This one is used with a wine sfs for loading a specific program
Code: | #!/bin/sh
#general wine setup followed by specific program
ln -s /mnt/sdb6/.wine /root/.wine
ln -s /mnt/sdb6/Wine_radiosure.desktop /usr/share/applications/Wine_radiosure.desktop
ln -s "/mnt/sdb6/RadioSure Recordings" /root/"RadioSure Recordings" |
Here's one for any SFS that requires Java (also an SFS)
Code: | #!/bin/sh
SFS-Exec /mnt/sdb6/java-jre-6u21_sfs4.sfs
|
Of course, you could combine SFS files, but that is another step and if either SFS file is updated, all you need is a minor script change instead of remaking the combined SFS.
Cheers,
s
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Sat 14 May 2011, 02:04 Post subject:
|
|
Could this explain why Firefox fail to start on one of Barry's distros?
He uses Seamonkey and most likely there already being a .mozilla dir it maybe don't want to create a new with same name so one would have to delete the seam monkey one to make room for the Firefox?
and you script then allow it to or something. Sorry maybe you already told me to delete the .mozilla and I have forgotten. it only did happen on one distro and not on the others.
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
seaside
Joined: 11 Apr 2007 Posts: 917
|
Posted: Sat 14 May 2011, 09:38 Post subject:
|
|
nooby wrote: | Could this explain why Firefox fail to start on one of Barry's distros?
He uses Seamonkey and most likely there already being a .mozilla dir it maybe don't want to create a new with same name so one would have to delete the seam monkey one to make room for the Firefox?
and you script then allow it to or something. Sorry maybe you already told me to delete the .mozilla and I have forgotten. it only did happen on one distro and not on the others. |
Nooby,
Yes. For example my firefox setup file has this -
Code: | #!/bin/sh
[[ -d /root/.mozilla ]] && rm -r /root/.mozilla
cp -a /mnt/sdb6/mozilla4 /root/.mozilla |
which deletes the existing .mozilla directory and replaces it with mine. You can also link it instead of copying, if you wish all changes to be saved.
Regards,
s
|
Back to top
|
|
 |
Pelo
Joined: 10 Sep 2011 Posts: 12591 Location: Mer méditerrannée (1 kms°)
|
Posted: Tue 16 Oct 2012, 20:55 Post subject:
Sfs On the fly does not impact Puppy structure (?) Subject description: Install the pet when needed, remove it when finished |
|
Install the pet when needed, remove it when finished, Why to keep it in the distro ?
I need Gimp, ok i have it stored somewhere. Work finished, i remove it.
Bad way of doing ?
2014 i got my answer Sfs changes Nothing in the Puppy structure.
Last edited by Pelo on Tue 01 Jul 2014, 08:15; edited 1 time in total
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Tue 16 Oct 2012, 22:03 Post subject:
|
|
Aarrgghhh...
I wish I would have seen this thread much earlier. Would possibly have been helpful during my work on the LazY Puppy SFS P.L.U.S.
Never mind. This job is already done...
Pelo wrote: | Install the pet when needed, remove it when finished, Why to keep it in the distro ?
I need Gimp, ok i have it stored somewhere. Work finished, i remove it.
Bad way of doing ? |
Installing a .pet can overwrite existing libs ---> .sfs don't
UnInstalling a .pet can remove needed libs ---> .sfs don't
Programs in .sfs sometimes will not run if incompatible libs are already in the running system. My Opinion: sfs is always the better way, though.
---
@seaside
I am sure you did notice from time to time a post of my work on SFS P.L.U.S., didn't you? Or maybe not - most work of this has been done in the German forum.
Why didn't you point me to this here thread?
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Wed 17 Oct 2012, 00:51 Post subject:
|
|
Poor RSH... It`d be nice if there was a index page for projects here.
Like the thread on GtkDialog, lots of great stuff, but no way to find it.
Hi seaside; It`s been quite awhile no talk to.
A union causes more problems than it solves, and uses resources.
So then SFS files are part of the problem. There`s better methods...
This looks almost exactly like what I was working on about a year ago.
By the time I had it filled out so it did everything needed it was complex.
I realized it was not simple nor was it portable, so I went to RoxApps.
Last edited by sunburnt on Wed 24 Oct 2012, 00:18; edited 1 time in total
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Wed 17 Oct 2012, 05:06 Post subject:
|
|
sunburnt thanks for that description.
Unfortunately I don't get the part of no union.
You mean it can not be used by frugal install at all?
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
vovchik

Joined: 23 Oct 2006 Posts: 1447 Location: Ukraine
|
Posted: Wed 17 Oct 2012, 06:41 Post subject:
|
|
Dear Terry,
You need to advertise that AppPkg scheme. Sounds great to me....
With kind regards,
vovchik
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Wed 17 Oct 2012, 08:10 Post subject:
|
|
Yes and put a link to that thread from here too so we find it
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Wed 17 Oct 2012, 23:23 Post subject:
|
|
Hi nooby and vovchik; Nooby, No... AppPkg and RoxApp work with any distro. and any installed setup. Full installs have trouble with SFS unions.
RoxApp and AppPkg are folders with most all that`s needed to run their apps. inside the folder. They use no union but can work in a union distro.
After years of saying so, Puppy is finally moving toward Ubuntu and Slack. Why bother making app. packages for a distro. and end up with very few?
Simplify and use other distro`s packages, no fuss and no muss! Then all you need is a GUI downloader for your distro., like the one I`m making...
http://roscidus.com/desktop/AppDirs
http://puppylinux.org/wikka/ROXApplicationDirectory
# Anymore Qs about AppPkg and I should really start my own thread. Sorry seaside... Terry B.
.
Last edited by sunburnt on Thu 18 Oct 2012, 01:11; edited 1 time in total
|
Back to top
|
|
 |
RSH

Joined: 05 Sep 2011 Posts: 2420 Location: Germany
|
Posted: Thu 18 Oct 2012, 00:44 Post subject:
|
|
sunburnt wrote: | ...and I should really start my own thread... |
Yes, please do this. I'm sure, it's not only me (us few) who wants to know everything about that.
Or better: to have some files for testings?
Sounds really interesting - like a big step forward from sfs.
Would these apps only run from the /usr/local/apps directory?
Please, start a AppPkg-Thread.
Thanks
_________________ LazY Puppy
RSH's DNA
SARA B.
|
Back to top
|
|
 |
sunburnt

Joined: 08 Jun 2005 Posts: 5087 Location: Arizona, U.S.A.
|
Posted: Thu 18 Oct 2012, 01:04 Post subject:
|
|
RSH; Will do...
In the Cutting Edge Forum I think is the best spot.
http://murga-linux.com/puppy/viewtopic.php?p=659072#659072
.
|
Back to top
|
|
 |
nooby
Joined: 29 Jun 2008 Posts: 10548 Location: SwedenEurope
|
Posted: Thu 18 Oct 2012, 03:58 Post subject:
|
|
Terry much appreciated.
Now being as noob as I am despite
having done computers since they
became affordable for a low income worker class guy
I am not brainy enough to get logica but love computers
So sure I will look at that thread.
Seaside I only use your SFS exec and not the other variants
so sorry for your thread but now Terry has his own too
_________________ I use Google Search on Puppy Forum
not an ideal solution though
|
Back to top
|
|
 |
|