SFS-Exec

Miscellaneous tools
Message
Author
seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#136 Post by seaside »

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

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#137 Post by nooby »

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

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#138 Post by seaside »

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: Select all

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

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

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

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#139 Post by nooby »

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

seaside
Posts: 934
Joined: Thu 12 Apr 2007, 00:19

#140 Post by seaside »

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: Select all

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

Pelo

Sfs On the fly does not impact Puppy structure (?)

#141 Post by Pelo »

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, 12:15, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#142 Post by RSH »

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? :lol:
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#143 Post by sunburnt »

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, 04:18, edited 1 time in total.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#144 Post by nooby »

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

User avatar
vovchik
Posts: 1507
Joined: Tue 24 Oct 2006, 00:02
Location: Ukraine

#145 Post by vovchik »

Dear Terry,

You need to advertise that AppPkg scheme. Sounds great to me....

With kind regards,
vovchik

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#146 Post by nooby »

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

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#147 Post by sunburnt »

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, 05:11, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#148 Post by RSH »

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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

User avatar
sunburnt
Posts: 5090
Joined: Wed 08 Jun 2005, 23:11
Location: Arizona, U.S.A.

#149 Post by sunburnt »

RSH; Will do...

In the Cutting Edge Forum I think is the best spot.

http://murga-linux.com/puppy/viewtopic. ... 072#659072
.

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#150 Post by nooby »

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

Jasper

#151 Post by Jasper »

Hi Pelo et al,

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 ?

RSH replied
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.

Jasper adds
If, in a rare case, I am unable to convert a pet to a working sfs then I do as Pelo suggests, but his suggestion is never my first choice.
--------------------------------
Seaside has given us three innovative and brilliant sfs modules. As well as the SFS-Exec pet available here his other pets can be found at:
http://www.murga-linux.com/puppy/viewtopic.php?t=69227
and
http://www.murga-linux.com/puppy/viewtopic.php?t=74471

All three modules can be used in the same Puppy and any sfs loader that was pre-installed with the Puppy will also continue to work - so it seems to me there is nothing to lose, but huge prospective gains (all 3 work with my Slacko 5.3.1) in convenience and superfast loading and unloading of sfs files.
--------------------------------
However interesting, sunburnt's work is experimental, but seaside's apps work with their intended efficiency (at least for me).

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#152 Post by nooby »

"However interesting, sunburnt's work is experimental, but seaside's apps work with their intended efficiency (at least for me)."

Yes I use Seaside's approach when I load and unload the Opera Browser
and it is instant and works very well. I love that Seaside gave it to us.

But would be cool of what Sunburnt sugges can be as easily implemented too.
So good that he started a new thread about it.
I use Google Search on Puppy Forum
not an ideal solution though

Jasper

#153 Post by Jasper »

Hi nooby et al,

I use seaside's SFStray (see screenshot) to load Opera and/or, one-at-a-time, the other 15 or so apps shown.

I use SFS-Exec to load some 30 other sfs apps (totalling a few hundred MB) by right clicking the sfs and then right clicking SFS-Exec in the drop-down list.

My sfs files are stored in many locations which I did not need to specify.

Any apps loaded using SFStray automatically unload when I close them, else I can use seaside's SFSunloader (part of SFS-Exec) to close apps loaded by any of seaside's three sfs programs.

Those who want to see if they can load say, 10 or 20 sfs files at once - try seaside's SFSdirload to load all sfs files in any chosen directory at once with (from memory) a single click.

My regards

PS Opera takes about 3 seconds to load using my SFStray, but any loaded sfs which is minimised to my main tray will reload instantly.

Google-chrome's sfs will not (for some reason unknown to me) load using any of seaside's star apps - so I use Slacko's built-in sfs_load - which I think was kindly provided by shinobar.

Addendum, commenting on the three posts immediately below:

(1st) RSH gave a superfluous second link to sunburnt’s thread on an experimental alternative system and whilst the link’s lettering had to be in lower case is was unnecessarily large and strikes me as “shouting
Attachments
SFStray.jpg
(5.17 KiB) Downloaded 1509 times
Last edited by Jasper on Sat 27 Oct 2012, 13:20, edited 1 time in total.

User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#154 Post by RSH »

[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]

nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#155 Post by nooby »

Thanks Jasper much appreciated.

I have not tested Stray yet I am too lazy :)
Good that you share your experiences.

Hope others give it a try.

I remember that Seaside id warn us that
if one have a save file then that one can get
corrupted so Jasper if you are good at such
is that something you could look into?

Has his latest version found a way around
that corruption now? I have no link ATM though.

Seaside can explain when he jump in here.

RSH thanks for the link.
I use Google Search on Puppy Forum
not an ideal solution though

Post Reply