Page 3 of 3

Posted: Sat 08 Dec 2012, 13:08
by RSH
Poll added!

Posted: Sat 08 Dec 2012, 14:00
by nooby
oops I am a minority voice there. Wanting it to unload?
Why would one want to keep it?

Posted: Sat 08 Dec 2012, 14:50
by Master_wrong
i vote for a radio button !

Posted: Wed 26 Dec 2012, 14:26
by RSH
Version 2.0.4 uploaded. PET and Info at first post.

Posted: Sat 29 Dec 2012, 06:49
by RSH
Version 2.0.5 uploaded. PET and Info at first post.

Information at first post new restructured and updated!

Posted: Sun 28 Apr 2013, 23:28
by R-S-H
Hi.

I have successfully installed and tested the SFS P.L.U.S. into MacPup 5.2.5 (which seems to be a Lucid) and also in MacPup 5.2.9 (which is based on precise 5.2.60).

But in MacPup 5.2.9 I've had to solve a small issue because of the new Options-GUI in filemnt which gives option to choose either to look at the content of the SFS or to load the SFS with sfs_load before mounting the left-clicked SFS file.

This new Options-GUI of filemnt makes the RunScript-Creator functioning irregular.

To use the SFS P.L.U.S. in MacPup 5.2.9 do edit file /usr/sbin/filemnt. Make the following code as comments:

Code: Select all

   #120525 take into account shinobar's load-on-the-fly pet...
   if [ "`which sfs_load`" != "" ];then
    SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
    SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
    pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
    RETVAL=$?
    [ $RETVAL -eq 1 ] && exec sfs_load "$1"
    [ $RETVAL -ne 0 ] && exit #120527
   fi
just like this here is shown:

Code: Select all

   ##120525 take into account shinobar's load-on-the-fly pet...
   #if [ "`which sfs_load`" != "" ];then
   # SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
   # SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
   # pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
   # RETVAL=$?
   # [ $RETVAL -eq 1 ] && exec sfs_load "$1"
   # [ $RETVAL -ne 0 ] && exit #120527
   #fi
It starts in line 134!

Or, do install the attached script ---> which means: download, remove the fake .gz, make executable and copy to /usr/sbin. That's all.

The SFS P.L.U.S. RunScript-Creator should now create the RunScripts as usual.

RSH

Note: this could be necessary to do in some other newer Puppies as well!

Edit: for the use of SFS PLUS in MacPup 5.2.9 please do also have a look here - download and install at last! - (should be in /usr/sbin/ceelab/tools when using SFS P.L.U.S.)

Posted: Thu 23 May 2013, 09:45
by R-S-H
Hi.

Again me.

Again discovered a small issue when using SFS P.L.U.S. in newer Puppies.

Currently using LazY Precise Puppy based on Precise 5.6 and LazY Puppy 3. Sometimes it's not possible to create a RunScript from SFS. For some reasons script 'filemnt' seems to need more time to mount the SFS (which is needed to create the RunScript).

Solution comes here. Search for the code below in /root/my-roxapps/SFS-ASCRIPT/AppRun

Code: Select all

# get new mounted path
. /tmp/$SFSFILE.mnt_tmp
# just wait to be sure, sfs is full mounted
sleep 1
# close rox window
rox -D "/mnt/$MNTORIGFILE"
Change sleep 1 to sleep 2 (now works well here, but might needed to be increased on slower machines).

The ROX window has to stay open for a while. If it is closed to quickly, the SFS will not be mounted and the RunScript will not be created - error message says, the SFS is not yet converted to LazY Puppy, even though it is! It's just because of not finding the Convert-Control-File!

RSH

Re: SFS P.L.U.S. 2.0.5

Posted: Sun 30 Nov 2014, 01:07
by rufwoof
RSH wrote:I like to run my Puppy without the use of a save file
+1

A sustained usage of a save file is just a slow version of performing a full install.

SFS P.L.U.S 2.0.5 and tahr?

Posted: Mon 22 Dec 2014, 01:20
by Uten
Does anyone have SFS P.L.U.S working with/on tahr-6.0-ce.
I have just tried ad it seems to have some problems. But this is my first attempt at SFS P.L.U.S so it could be I do something wrong.

My problems so fare:
1: After converting an sfs file (why am I asked to rename the sfs before conversion?) it is not recognized as an converted file by the "LP2 SFS AutoScript create Run-Scripts tool".

2: The "mount sfs" dialog is displayed twice. I did increase the sleep mentioned above to 5.

Yesterday I gave LazYP a go. But it does not like my machine ( acer travelmate 4000 ), or maybee it is picky and doesn't like me :cry:

I have not checked the listed dependencies, so maybe there are something there.

Also R.S.H the link to the xdotool is dead, is it needed?

Best regards
Uten

Posted: Mon 22 Dec 2014, 03:47
by LazY Puppy
Hi.

In newer Puppies like Precise, Slacko, Tahr etc. you'll need to comment out a code section in file /usr/sbin/filemnt. This section was added for shinobar's sfs_load and it causes problems for the use of SFS P.L.U.S. since it uses /usr/sbin/filemnt to mount a SFS to create a RunScript from its .desktop File.

Here is the Code:

Code: Select all

   #120525 take into account shinobar's load-on-the-fly pet...
   if [ "`which sfs_load`" != "" ];then
    SFSMSG1a="$(eval_gettext "You can choose to mount the \${imgFileBASE} file to view it's contents (read-only), or you can install it.")" #'geany
    SFSMSG1b="${SFSMSG1a}\n\n$(gettext 'Regarding the latter, traditionally SFS files are selected by the \ZbBootManager\ZB for loading at bootup (see System menu), which you can do, or you can choose to install (load) it now (which will not require a reboot).\n\nNote1: If you want to edit the contents of an SFS file, you have to use the commandline utilities \Zbunsquashfs\ZB and \Zbmksquashfs\ZB.\nNote2: In the case of a full HD installation, without a layered filesystem, installation is irreversible. For all other installation modes, the BootManager can be used to unload an installed (loaded) SFS file.')"
    pupdialog --colors --background '#FFFF80' --backtitle "${imgFileBASE}" --extra-button --yes-label "$(gettext 'View contents')" --no-label "$(gettext 'Install SFS')" --extra-label "$(gettext 'Cancel')"  --yesno "${SFSMSG1b}" 0 0
    RETVAL=$?
    [ $RETVAL -eq 1 ] && exec sfs_load "$1"
    [ $RETVAL -ne 0 ] && exit #120527
   fi
You can either remove it or just commenting it out.

The renaming of any SFS for the use with SFS P.L.U.S. is absolutely necessary! Just add the Prefix LP2_ in front of any SFS's Name, that you want to use with the SFS P.L.U.S. After renaming it, just convert it first to the SFS P.L.U.S. Format, copy or save it and create a RunScript after its conversion.

Here is a .pet File for xdotool that still seems to work. It is only needed, if you want to create Desktop Icons automatically when creating a RunScript and want to have it placed centered at the Desktop.

Probably interesting?

Posted: Wed 14 Jan 2015, 15:30
by Uten
Hi LazY,
Thanks for your answer. As it was just before Christmas I had to put it away for a while. I'll give it another try the next couple of weeks..:o)

Posted: Wed 20 May 2015, 15:32
by LazY Puppy
Hi.

Here you can find my latest edition of SFS P.L.U.S./X-PaDS/PaDS.

It will stay for at least 90 days after its last download.

!!! Needs to uninstall the previous version of PaDS at first !!!

Posted: Wed 13 Apr 2016, 23:19
by LazY Puppy
Since I don't have access anymore to my old RSH account and therefor I'm unable to change the topics title to 'discontinued', I'm going to post here:

THIS IS NOW DISCONTINUED AND NOT SUPPORTED ANYMORE!

All my work done is by now combined and continued into T.O.P.L.E.S.S.