SFS P.L.U.S. 2.0.5
-
- Posts: 452
- Joined: Thu 20 Mar 2008, 01:48
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:
just like this here is shown:
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.)
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
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
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.)
- Attachments
-
- filemnt.gz
- Modified filemnt for the use of SFS P.L.U.S. in MacPup 5.2.9
- (9.28 KiB) Downloaded 398 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]
The new LazY Puppy Information Centre[/url][/b]
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
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
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"
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
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]
The new LazY Puppy Information Centre[/url][/b]
Re: SFS P.L.U.S. 2.0.5
+1RSH wrote:I like to run my Puppy without the use of a save file
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?
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
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
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
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
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
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:
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?
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
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?
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
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 !!!
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 !!!
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
- LazY Puppy
- Posts: 1934
- Joined: Fri 21 Nov 2014, 18:14
- Location: Germany
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.
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.
RSH
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink:
"you only wanted to work your Puppies in German", "you are a separatist in that you want Germany to secede from Europe" (musher0) :lol:
No, but I gave my old drum kit away for free to a music store collecting instruments for refugees! :wink: