Page 1 of 1
SFS PLUS 2 - tool to run programs from sfs module
Posted: Thu Oct 01, 2020 1:13 am
by taersh
Hi.
This is the introduction of the new SFS PLUS.
It's a tool to create RunScripts and Menu entries to run Programs from .sfs Modules by a menu entry without to load the .sfs Module first. The .sfs Module will load automatically and will also unload after exiting the Program to free resources after the use of the Program!
Watch the Video to get an impression of its benefits when used.
This video is now uploaded to dailymotion.com
The new SFS PLUS is designed to run in Puppy Linux and FatDog!
FatDog users please return results, as I could not test it. In fact I don't have FatDog locally available.
Download SFS PLUS 2.0.0 now!
Use PaDS 1.1.7 to easily build your own .sfs Modules from different packages and archives.
Re: SFS PLUS 2
Posted: Thu Oct 01, 2020 1:13 am
by taersh
Reserved.
Re: SFS PLUS 2
Posted: Thu Oct 01, 2020 1:14 am
by taersh
Reserved.
Re: SFS PLUS 2
Posted: Thu Oct 01, 2020 9:16 am
by step
Thank you in advance for this tool. I can't tell from the screenshot if it's possible to load an existing script to auto-fill the form dialog. I'm just thinking that auto-filling could be helpful if one needs to update a script that was generated with this tool some time ago.
Re: SFS PLUS 2
Posted: Thu Oct 01, 2020 12:23 pm
by taersh
Hi.
This should be possible by how the program is developed.
When starting the program a template is copied over into a temp directory. All fields/parms are read out and stored into variables - even though, all fields/parms are empty within the template. Under the Tab Existing RunScripts one will find a list of all RunScripts already created. By now an existing RunScript can be selected and sent to the default text editor, if there's some need to edit after creation.
To edit such existing RunScript within the GUI by auto-fill the fields would need another function plus some tweeks, but should be possible to built in.
I'll try my best, though might delay first version a few days.
Re: SFS PLUS 2
Posted: Thu Oct 01, 2020 8:23 pm
by step
Thank you. If it turns out to be too complicated, the currently available file edit option can suffice.
Re: SFS PLUS 2
Posted: Fri Oct 02, 2020 12:50 am
by rockedge
I am looking forward to using the tool. I'll keep an eye out for the release!
Re: SFS PLUS 2
Posted: Fri Oct 02, 2020 2:07 am
by taersh
step wrote: ↑Thu Oct 01, 2020 8:23 pm
Thank you. If it turns out to be too complicated, the currently available file edit option can suffice.
It works pretty good!
Just double click a RunScript from the list at Tab No. 3, it loads the RunScript into the GUI and the Notebook TAB switches back to Tab No. 1.
rockedge wrote: ↑Fri Oct 02, 2020 12:50 am
I am looking forward to using the tool. I'll keep an eye out for the release!
I have finished the development and tested the final package in a plain FossaPup64 successfully.
Also I made a screen recorded video to be the manual on its use.
I'm now going to edit the video using KdenLive in my ArtStudio64 2.0.0 based on the FossaPup64:
- adding voice comments
- preparing a nice intro
- adding some background music
When the video is finished, I will upload the video to my YouTube channel and then trying to embed the video into the opening post.
Then I'm going to publish the package!
Re: SFS PLUS 2
Posted: Fri Oct 02, 2020 6:44 am
by taersh
Hi.
SFS PLUS 2 is now published.
Tutorial Video and Package is in opening post.
Re: SFS PLUS 2
Posted: Thu Oct 08, 2020 9:28 pm
by taersh
Hi.
I'm sorry, though I discovered a small issue in SFS PLUS 2.
When entering the name of the program with full path, the RunScript is not created.
E.g.: entering
/usr/bin/gimp won't create the RunScript.
So, enter only the name of the binary like e.g.:
gimp.
I'm working on a fix.
You can fix this by changing a line in
/usr/local/SFS-PLUS-2/include/functions.
In line 212 change
Code: Select all
[ "$PROGNAMENEW" != "" ] && cp -af $TMPLT $RSCRIPTPATH/run-$PROGNAMENEW
to
Code: Select all
[ "$PROGNAMENEW" != "" ] && cp -af $TMPLT $RSCRIPTPATH/run-"`basename $PROGNAMENEW`"
It should work then also with full path.
Re: SFS PLUS 2
Posted: Fri Oct 09, 2020 5:01 am
by taersh
Please see my last post above also.
Sorry, though line 217 needs also to be changed.
Change
Code: Select all
cp -af $MENUTMPLT $RSCRIPTPATH/$PROGNAMENEW.desktop
to
Code: Select all
cp -af $MENUTMPLT $RSCRIPTPATH/"`basename $PROGNAMENEW`".desktop
and also line 227.
Change
Code: Select all
cp -af $RSCRIPTPATH/$PROGNAMENEW.desktop /usr/share/applications/
to
Code: Select all
cp -af $RSCRIPTPATH/"`basename $PROGNAMENEW`".desktop /usr/share/applications/
Re: SFS PLUS 2 - tool to run programs from sfs module
Posted: Sat Oct 10, 2020 9:21 am
by taersh
Hi.
I discovered another problem.
When editing an existing RunScript all data appears under the first tab.
Though, changed data is not correctly saved.
I'm working on a fix, though this will take some time.
So, if editing an existing RunScript is necessary, edit the RunScript within a text editor.
Re: SFS PLUS 2 - tool to run programs from sfs module
Posted: Mon Nov 02, 2020 6:05 pm
by sc0ttman
Good stuff..
BTW ... If people want a way to basically do the same thing ("install", run, and "uninstall" SFS files easily), using a simple Pkg terminal command:
Code: Select all
pkg install path/to/something.sfs
# ...then use it...
pkg uninstall path/to/something.sfs
It should work with most SFS files, if you have Pkg installed.
You could create a .sh script that runs the above commands, and call it via a desktop icon, or menu entry (.desktop file).
A note - the above commands work best with SFS files you created using Pkg:
Code: Select all
pkg sfs-combine gimp # combine gimp and its deps into a single SFS "package"