Lately, I've been starting all my SFS programs on the fly from a hidden top tray in JWM utilizing SFS-exec.

SFStray provides a Gui to pick any of your sfs files from a screen on the left, click "Add" which places your pick over to the right screen.The right screen contains the items for the hidden top of the screen tray menu, click Apply and SFStray will automatically find the icon and exec, make a new config file and restart JWM. Now, the hidden top tray will contain icons and names of the programs. When clicked, the SFS file will be unioned and the program immediately started. When the program is closed, the SFS file will be automatically unmounted.

As usual, the SFS file must have a single /usr/share/applications/*.desktop file and contain an icon somewhere under the /usr directory. If SFStray can't find an icon, a blue X will appear in the tray, the program name will be there, and the program can still be started.

The SFStray icon on the left is to edit the /root/.jwmrc-tray-sfs config file, in case any changes are necessary by hand.

When SFStray is started, it looks for .sfs files on all mounted partitions, resulting in a time lag and many sfs files already in use.
EDIT[: Changed to only look in /root and /mnt
directories if no specific SFS directory is given
Best to start the program with where your .sfs files are located - SFStray /my/sfs-files/dir or you can change the /usr/share/applications/SFStray.desktop file by editing the "Exec=SFStray" entry to "Exec=SFStray /my/sfs-files/dir"

Here's a pic and pet.
(You don't need SFS-exec, as a modified version is included - should work on most puppys with JWM)

I really don't want to sound ungrateful - especially in this field of program experimentation, because I think that perfecting the On-The-Fly loading/unloading of SFS files is what Puppy needs to break trough as the best Linux distro (regardless of what anyone says about root privileges).

What I would like to have is actually a combo of the speed of mounting/unmounting that your SFSExec has, and a simple-that-couldnt-be-simpler interface one click or one command-line away that SFS-Load-on-the-fly has.

What would be my ideal SFSLoading app is actually a program that has to be started from the command line with an obligatory user specified directory (no searching whatsoever), just displaying a dialog that's got unmounted SFSs listed on the left and mounted SFSs listed on the right. It can reside in tray, but has to respond to commands from the terminal, and at the moment of "loading" an SFS - a separate option has to be included to do a menu refresh or any type of further execution, by default it would just mount/unmount the SFS.

What would be my ideal SFSLoading app is actually a program that has to be started from the command line with an obligatory user specified directory (no searching whatsoever), just displaying a dialog that's got unmounted SFSs listed on the left and mounted SFSs listed on the right. It can reside in tray, but has to respond to commands from the terminal, and at the moment of "loading" an SFS - a separate option has to be included to do a menu refresh or any type of further execution, by default it would just mount/unmount the SFS.

Does this make any sense?

maxerro,

SFStray /your/sfs/dir from the command-line shows you the SFS files available for placing in a top JWM tray and then executing the programs "on the fly" in the tray.

I'm not sure what other commands from the terminal you might be interested in performing then, and what other action to be taken.

My SFS folder is available on my desktop (which includes SFS absolute links from another partition) and has as an icon as does SFS-Unloader.

I only use JWM and loading/unloading SFS files is really fast so I never bother to update my JWM menu for SFS items.

I can even upgrade Firefox and Thunderbird "SFS files" (and rename them with current version numbers) though that does seem to use a lot of save-file space (and perhaps the updates would not be conducive to absolute links since it seems extra non-SFS files are made).

SFS files are also a superb addition to MultiPup (from puppyluvr and CatDude).

I am delighted with SFS-Exec even without this latest addition of SFStray which I don't personally need.

I am delighted with SFS-Exec even without this latest addition of SFStray which I don't personally need.

My regards

Thanks jasper,

Actually, I'm using both. For SFS files that I use regularly, I put them in SFStray and for those others not used as often, SFS-Exec. The advantage of SFStray is that the SFS file is automatically unmounted when the program is closed.

OK, I'm gonna list several options and program responses, because if I put it on paper maybe I'll find out that it makes no sense...
This would be my theoretical "sfsexe" program:

Code:

#sfsexe
sfsexe v0.0 NOT loaded
Usage: sfsexe [OPTIONS] [DIR] [SFS]

Options:
-a, --add=DIR Add a new directory to the list of available SFSs
-r, --remove=DIR Remove directory from the list of available SFSs
-l, --load=SFS Load a specified SFS
-u, --unload=SFS Unload a specified SFS
-w, --window Opens a loading/unloading dialog window
-m, --menu-refresh This is self-explanatory
-e, --execute=FILE Executes a specified .desktop file from the SFS, or if started without parameters - checks if there's only one .desktop file in the SFS and executes it

I do love SFS-Exec very much and even talk about it when I have the chance to spread the good news that there is something faster and easier to use than the other SFS loaders .

But this tray thing was a core to understand on my very low level of doing computer.

I have finally make it works now so edited this super long file and see the final result below this entry_________________I use Google Search on Puppy Forum
not an ideal solution thoughLast edited by nooby on Fri 24 Jun 2011, 11:33; edited 1 time in total

I am finally there. Phew that was difficult and I have no idea how I managed to do it but I did a lot of trial and error experiments and suddenly it almost works. All of these programs that I wanted to have loads and unloads and works too and I have the icons now so looks good.

Opera had them here
/opt/opera/share/icons/hicolor/48x48/apps/opera-browser.png

But that is gone when you reboot so I took that one and moved it to
/usr/share/pixmaps/opera-browser.png So I did get get opera going and find it in opera and then borrow that one.

the sfstray_list looks like this

Quote:

Opera
Chromium
Google_Earth
LMMS
VirtualBox

I dearly hope that it helps others that fail to follow the first instructions.

I am on Lupu513 but in reality it is Snow puppy 5 but I trust it works on Lupu 525 too. If it does not do tell me and I try to figure out that one too._________________I use Google Search on Puppy Forum
not an ideal solution thoughLast edited by nooby on Sat 25 Jun 2011, 02:58; edited 3 times in total

... and now I have to apologize for triggering all sorts of unwanted behavior ...

I have to apolgize for not getting what seaside described in the first posts but what I did above at least show a possible way for us who are computer challenged.

My workaround do work with imported icons from internet for 4 of the 5 progs. I placed them here

/usr/share/pixmaps/

so in the it looks like this

<TrayButton popup="Chromium" icon="/usr/share/pixmaps/chromium.png">exec:sfs-launchTray /initrd/mnt/dev_save/sfsfiles/chromium12.0.703.0-77939w5.sfs</TrayButton>
<TrayButton popup="LMMS" icon="/usr/share/pixmaps/lmms.png">exec:sfs-launchTray /initrd/mnt/dev_save/sfsfiles/lmms_0.4.8-1.sfs</TrayButton>
<TrayButton popup="VirtualBox" icon="VBox.png">exec:sfs-launchTray /initrd/mnt/dev_save/sfsfiles/VirtualBox-4.0.2-L1.sfs</TrayButton>
VBox already existed on the computer so I linked to that one where it already existed.

To each their own way. I did it my way _________________I use Google Search on Puppy Forum
not an ideal solution though

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum