SFS PLUS 2 - tool to run programs from sfs module

Moderator: Forum moderators

Post Reply
User avatar
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

Post 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!
SFS-Plus-2.0.pet
(39.78 KiB) Downloaded 210 times

Use PaDS 1.1.7 to easily build your own .sfs Modules from different packages and archives.
Last edited by taersh on Sun Nov 01, 2020 11:08 pm, edited 6 times in total.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
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

Post by taersh »

Reserved.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
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

Post by taersh »

Reserved.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: SFS PLUS 2

Post 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.
User avatar
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

Post 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.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

step
Posts: 546
Joined: Thu Aug 13, 2020 9:55 am
Has thanked: 57 times
Been thanked: 198 times
Contact:

Re: SFS PLUS 2

Post by step »

Thank you. If it turns out to be too complicated, the currently available file edit option can suffice.
User avatar
rockedge
Site Admin
Posts: 6561
Joined: Mon Dec 02, 2019 1:38 am
Location: Connecticut,U.S.A.
Has thanked: 2767 times
Been thanked: 2646 times
Contact:

Re: SFS PLUS 2

Post by rockedge »

I am looking forward to using the tool. I'll keep an eye out for the release!
User avatar
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

Post 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! :thumbup:
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. 8-)
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! :thumbup2:

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
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

Post by taersh »

Hi.

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!

User avatar
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

Post 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.

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
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

Post 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/

My Music:
https://soundcloud.com/user-633698367
Using my own build of Bionic64
The far-left is as fascist as the far-right is!

User avatar
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

Post by taersh »

Hi.

I discovered another problem. :roll:

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!

User avatar
sc0ttman
Posts: 93
Joined: Sat Aug 22, 2020 3:55 pm
Has thanked: 4 times
Been thanked: 33 times

Re: SFS PLUS 2 - tool to run programs from sfs module

Post 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).

:thumbup2:

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"
Post Reply

Return to “Utilities”