SFS PLUS 2 - tool to run programs from sfs module
Moderator: Forum moderators
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
SFS PLUS 2 - tool to run programs from sfs module
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.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
-
- Posts: 546
- Joined: Thu Aug 13, 2020 9:55 am
- Has thanked: 57 times
- Been thanked: 198 times
- Contact:
Re: SFS PLUS 2
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
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.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
-
- Posts: 546
- Joined: Thu Aug 13, 2020 9:55 am
- Has thanked: 57 times
- Been thanked: 198 times
- Contact:
Re: SFS PLUS 2
- rockedge
- Site Admin
- Posts: 6551
- Joined: Mon Dec 02, 2019 1:38 am
- Location: Connecticut,U.S.A.
- Has thanked: 2757 times
- Been thanked: 2627 times
- Contact:
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
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.
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!
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
SFS PLUS 2 is now published.
Tutorial Video and Package is in opening post.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
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
Code: Select all
[ "$PROGNAMENEW" != "" ] && cp -af $TMPLT $RSCRIPTPATH/run-"`basename $PROGNAMENEW`"
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2
Sorry, though line 217 needs also to be changed.
Change
Code: Select all
cp -af $MENUTMPLT $RSCRIPTPATH/$PROGNAMENEW.desktop
Code: Select all
cp -af $MENUTMPLT $RSCRIPTPATH/"`basename $PROGNAMENEW`".desktop
Change
Code: Select all
cp -af $RSCRIPTPATH/$PROGNAMENEW.desktop /usr/share/applications/
Code: Select all
cp -af $RSCRIPTPATH/"`basename $PROGNAMENEW`".desktop /usr/share/applications/
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
- taersh
- Posts: 951
- Joined: Tue Jul 07, 2020 11:13 pm
- Location: Germany
- Has thanked: 53 times
- Been thanked: 119 times
Re: SFS PLUS 2 - tool to run programs from sfs module
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.
My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!
Re: SFS PLUS 2 - tool to run programs from sfs module
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"