Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 27 Nov 2014, 01:44
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
SARA B.
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Author Message
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 07 May 2014, 22:01    Post_subject: SARA-ScriptBox for LASSIE and other Precise Derivatives  

Pimp up your Precise Puppies and Derivatives by cool Applications in cool SFS Modules!

SARA-ScriptBox for LASSIE and other Precise Derivatives

Have Fun with this...

RSH

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
8-bit


Joined: 03 Apr 2007
Posts: 3393
Location: Oregon

PostPosted: Wed 07 May 2014, 23:29    Post_subject:  

Correct me if I am wrong.
In essence. is Sara B. just a menu that loads an selected SFS file, runs the application in the SFS, and unloads the SFS on exiting the application?
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Wed 07 May 2014, 23:45    Post_subject:  

Yes and No

SARA-B is a Stand Alone RoxApp Builder and SARA-ScriptBox is a RoxApp Directory offering the SARA-RSD Applications by right-click action onto the RoxApp Directory.

The SARA-RSD Applications are Stand Alone RoxApps, created by SARA-B.

To unload the SFS after exiting the Application one needs to set DoAutoUnloadSFS="false" manually to DoAutoUnloadSFS="true" in the config file for the SARA-RSD Application, which is in its sub-directory 'data', named: my_sfs_runscript.cfg.

The RunScript itself is pretty much equal to the RunScript when we met at the Multi-session live-CD/DVD thread.

But this comes as a preconfigured RoxApp Directory Right-Click-Menu, offering 68 Applications from Audio, Graphics, Multimedia and Video.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Fri 06 Jun 2014, 19:28    Post_subject:  

Just for your interest.
_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
slackfan

Joined: 29 Mar 2009
Posts: 133

PostPosted: Sat 12 Jul 2014, 08:10    Post_subject:  

Hi RSH

I am searching for a companion (or 2 companions) for SARA B as I am not using some save file and I am sad, of course, to have to load my SFS each new start.

In the original LazY you have a very useful remastering environment. So I would try to remaster so that

- the regulary used SFS (LO, etc.) can be immediately preloaded if I start without save file
- some needing hidden contents of my /root can be preinstalled

(I will eventually use ratpoison in case no mouse is available and also try to re-introduce a login and password in my lovely puplet.

why password? Ubuntu is not happy if I change or add files as "root" as there is no root with user root in my ubuntu but an user with the root rights...)

Have you it as SFS to install it first, and remaster later in the actualized main.sfs or main.iso file of the considered puplet?

The second companion would be you super Vario-Menu also as SFS to add it to other puplet!

Kind regards

PS: but I would prefer to have 2 own SFS's and not a big one as probably that Vario-Menu is not compatible with all Windows managers that we can find in Puppy?
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sat 12 Jul 2014, 19:02    Post_subject:  

slackfan wrote:
Hi RSH

I am searching for a companion (or 2 companions) for SARA B as I am not using some save file and I am sad, of course, to have to load my SFS each new start.

In the original LazY you have a very useful remastering environment. So I would try to remaster so that

- the regulary used SFS (LO, etc.) can be immediately preloaded if I start without save file
- some needing hidden contents of my /root can be preinstalled

(I will eventually use ratpoison in case no mouse is available and also try to re-introduce a login and password in my lovely puplet.

why password? Ubuntu is not happy if I change or add files as "root" as there is no root with user root in my ubuntu but an user with the root rights...)

Have you it as SFS to install it first, and remaster later in the actualized main.sfs or main.iso file of the considered puplet?

The second companion would be you super Vario-Menu also as SFS to add it to other puplet!

Kind regards

PS: but I would prefer to have 2 own SFS's and not a big one as probably that Vario-Menu is not compatible with all Windows managers that we can find in Puppy?

Hi.

First of all: the basic VarioMenu Script is originally created by der-schutzhund and SFR.

And: yes, I have already the VarioMenu as SFS Module and tested it successfully.

Though, since we both are Germans, I would like to see you asking/posting in the German forum. I think, I will understand much better then.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Sat 12 Jul 2014, 19:21    Post_subject:  

Hi.

I have found two very small issues in using SARA-B.

First one is dependent on the compression of the OS used as well on the compression of the SFS Module used for SARA-B.

If you are running a GZ compressed OS like Lucid e.g. make sure, the SFS Module used for SARA-B is compressed in GZ compression also.

The second issue is dependent on the Exec= entry of the .desktop file.

Since all needed information are grabbed out of this file some special entries in Exec= can result in a not loading SFS Module when executing the created SARA-RSD Application.

This code is taken from the .desktop file of my LP3_LMMS-1.0.2-carolina.sfs
Code:
Exec=env QT_X11_NO_NATIVE_MENUBAR=1 lmms

Usually this line looks like
Code:
Exec=audacity

The Script inside of the SARA-RSD Application first checks if the application listed in Exec= is available in the OS. If not, it tries to load the SFS Module and after this tries to execute the Application. While creating the SARS-RSD Application, SARA-B grabs the information from Exec= in this form:

1st entry = the App
anything else = Parameters

In the 1st example above the App is env which is already available in Puppy, so the Script doesn't try to load the SFS Module, because it seems to be loaded since the App is already there.

Solution is to write a small wrapper/starter script (e.g. lmms-starter) like this one
Code:
#!/bin/bash -a
env QT_X11_NO_NATIVE_MENUBAR=1 lmms

and to replace the Exec= entry inside of the .desktop file with
Code:
Exec=/usr/bin/lmms-starter

Of course, you need to edit the SFS Module for this.

Btw.: this should be equal when using the SFS P.L.U.S.

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
RSH


Joined: 05 Sep 2011
Posts: 2420
Location: Germany

PostPosted: Tue 15 Jul 2014, 18:34    Post_subject:  

Hi.

Found another small issue in SARA-B dependent on what is found in the Exec= entry of a .desktop file.

If the Exec= entry contains things like
Code:
Exec=xombrero %u

the my_sfs_runscript.cfg will be send to the default text editor instead of loading the SFS Module and executing the Application. Note, the %u could be also something like %f or several of those.

The my_sfs_runscript.cfg then will contain an empty entry like
Code:
NameOfProg=""

which can be solved in two different ways.

1. Just add the name of the application manually to this entry and save the my_sfs_runscript.cfg
2. Edit the .desktop file, remove this stuff (I am doing this generally when editing the SFS Module to get German menu entries, this seems not to be needed in Puppy generally at all) and create again a SARA-RSD Application from the edited SFS Module

_________________
LazY Puppy
RSH's DNA
SARA B.
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 2 of 2 Posts_count   Goto page: Previous 1, 2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Utilities
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0707s ][ Queries: 13 (0.0058s) ][ GZIP on ]