SFS RunScript Builder

Miscellaneous tools
Post Reply
Message
Author
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

SFS RunScript Builder

#1 Post by RSH »

Hello,

some of you might have noticed of the LazY Puppy SFS P.L.U.S., which gives comfortable option to run applications from sfs without the need to load the sfs manually first - the sfs is loaded automatically!!!


I do not have the time to make the full LazY Puppy SFS P.L.U.S. available for other puppies - also: i am just to lazy...

Here i have build a simplified version of the RunScript builder used in LazY Puppy. Just install the attached .pet and do a right-click on an sfs file. Then choose SFS-RunScript. In a upcoming gui you can select .desktop files of the sfs to make RunScripts for its programs. You can also enter a dependent sfs file that will be loaded also - for example: entering the devx will load the devx after the main sfs (the one of the RunScript) is loaded.

The RunScript goes to /root/.my-sfs-scripts and there will be also a link /root/SFS-RunScripts.

This application copies the .desktop file into the running system and replaces its "Exec="-Entry with the RunScript - so, you can run the application from the menu and the sfs is loaded automatically.

LazY Puppy SFS P.L.U.S. has much more options like: having a list of dependent sfs files, setting a link for automatically download functions and many more.

But this (simplified) application is the main thing - executing and running applications from sfs, just like as installed - and it should work in every puppy!

I hope this will be useful for any other puppies...


NOTE: SFS_LOAD-1.9.x is needed for this!

RSH

Version 1.1

Line 25: FILEDATE="`date +%F`$FILE" changed to FILEDATE="`date +%F`"

In Version 1.0 if installing a .pet after creating a Run-Script mysterious files arrive in /root. These files are named as the "Exec="-entries of the .desktop file/s (hmm: mysterious mysterious). Removing the $FILE parameter in line 25 "fixes" this. Didn't had any effect on the functionality in general.
Attachments
SFS-RunScripts-1.1.pet
(8.73 KiB) Downloaded 556 times
[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
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

SFS RunScript Builder

#2 Post by RSH »

Version 1.1 at the first post.
[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]

Post Reply