How can I get DSL to save myDSL programs?


Forum: myDSL Extensions (deprecated)
Topic: How can I get DSL to save myDSL programs?
started by: 821

Posted by 821 on Aug. 07 2005,18:31
Sorry, i'm a bit new at this. I am running on a Dell CPi D266 laptop.

How do I get DSL to save myDSL programs? I know about the.filetool.lst, but It dosent seem to work.
What does a typical .filetool.lst file took like to save things such as background, firefox settings, boot options(can you save these?), etc.

Posted by cbagger01 on Aug. 08 2005,02:45
You need to specify a backup device when you run the backup/restore menu choice.

For example, a usb pendrive might be:

sda1

and a floppy disk might be:

fd0

and a hard drive partition might be:

hda1

etc

Posted by 821 on Aug. 08 2005,15:02
Will that restore the things only listed in the .filetool.lst file or will it keep myDSL programs as well?

If not, will putting in the downloaded myDSL file re-install it at startup, or do I need to find where it is installed and add that to filetool.lst?

Posted by hawki on Aug. 08 2005,15:45
Hi
I think you need to look into the boot option mydsl=  .  By storing your extension files on disk and then specifying where to find them at boot time the system will load them automagically.
good luck

Posted by Zubalove on Aug. 31 2005,01:01
I'm a little confused about this too.  Fruggle install here.  I've got mydsl=hda2 and all that.  In emelFM, the path is mapped as /mnt/hda2 with
home/
lost+found/
opt/
backup.tar.gz

available as choices.  Now from what I read, any dsl extension dropped in this directory will show up in my menu.

1) Is this true?

2) The folder will not let me move anything to this level of the directory or make a new folder there.  What can I do?

3) I've also read that there should be a folder called "optional" for my saved mydsl extensions to reside in.  I was led to believe this was different from /opt.  Is this correct?

4) Can I put .uci's anywhere so they automount?

5) I ran gtk2-0705.dsl from the mydsl part of the menu.  Is that all I need to do?  Should I move it someplace to reside?  Can I check somewhere to make sure that it has been properly updated?

Sorry forthe barrage of questions, but I'm having a tough time getting answers that seem specific to my questions.

Posted by ke4nt1 on Aug. 31 2005,02:26
Zubalove,
Quote
I'm a little confused about this too.  Fruggle install here.  I've got mydsl=hda2 and all that.  In emelFM, the path is mapped as /mnt/hda2 with
home/
lost+found/
opt/
backup.tar.gz


Looks like you have a persistant /home and /opt in hda2 as well..  nice..
..and your backup is also in hda2..

So , a good bootup command would be something like.
" dsl dma toram mydsl=hda2 restore=hda2 home=hda2 opt=hda2 host=yourhostname secure"

so far , so good..  
excellent use of a frugal install..

Quote
Now from what I read, any dsl extension dropped in this directory will show up in my menu.

1) Is this true?


Yes, if you use the bootoption mydsl=hda2 ,
any extensions found in the root of the hda2 partition will be
autoloaded into your filesystem at boottime.  .dsl's, .tar.gz's, .uci's

Quote
2) The folder will not let me move anything to this level of the directory or make a new folder there.  What can I do?


I don't see /KNOPPIX in hda2, so it's not your mounted frugal location.
( maybe hda1 is where your /KNOPPIX/KNOPPIX is ? )
You can open up emelfm as super-user, then you should have no issues
writing files to the mounted hda2, located at the /mnt/hda2 directory..

Quote
3) I've also read that there should be a folder called "optional" for my saved mydsl extensions to reside in.  I was led to believe this was different from /opt.  Is this correct?


Yes, /opt is different from an /optional directory you make.

Should you place extensions into a directory called /optional in your /mnt/hda2,
they will not autoload at boottime, but will be available in your "optional extensions" portion of your desktop right-click menu..

Quote
4) Can I put .uci's anywhere so they automount?


No, they work like any other extension.  They should be placed
wherever you point the "mydsl=hdXx" bootoption towards.

Quote
5) I ran gtk2-0705.dsl from the mydsl part of the menu.  Is that all I need to do?  Should I move it someplace to reside?  Can I check somewhere to make sure that it has been properly updated?


Not sure here of what you did.

A.) Did you download it with the mydsl icon?
If so, you would have found a new entry in your menu called
" Update to GTK2" , which activates the functions needed internally
for the gtk2 environment to work properly.

B.)  Did you use emelfm, or "mydsl-load" from a shell, to install
it from a previously downloaded location?
If so, then you still would need to run "Update to GTK2" from the menu,
to activate the features internally...

This can also be placed in either your /mnt/hda2 directory, or in the
/mnt/hda2/optional directory for later loading..
Either way, once loaded , the Update to GTK2 menu option still needs to run.

If you choose to autoload it from /mnt/hda2,
you could place the line " /usr/bin/start_gtk2 "
into your /opt/bootlocal.sh file..
That would automatically run the "Upgrade to GTK2" at boottime.

Do understand that this is a work in progress,
and an awfully fat environment to choose for permanent use in DSL.

As far as saving myDSL programs goes. ( the first question in this thread )
They are usually downloaded to /tmp , when the mydsl icon on the desktop is used.  
The backup function will not preserve these downloads by default.

If you download extensions manually, from browser,
then they usually download to /home/dsl.  
This directory is defaulted in your backup,
but do understand that the backup is designed for storing personal
files and save files, not extensions.  

It is always a good idea to have a partition or something..
pendrive, hard drive, something writable, for storing
your collection of extensions..

73
ke4nt

Posted by Carroarmato0 on Aug. 31 2005,09:01
Hi

I have a problem loading mydsl apps:

I use two flash_usb sticks  (my hard disk went to heaven....)

On flash1 there is dsl

On flash2 my files + restore + mydsl apps

On every boot, dsl recognize my flash1 as sdb1 and flash2 as sda1.

I can correctly download mydsl apps.

What I do is copy the mydsl apps from /tmp to flash2 and at every boot give the mydsl=sda1 parameter.

Now.... some apps like WMClock Dock load just right, but others like ymessg, grip and amsn don't.

They showup in the mydsl menu, but without icon on the desktop and don't load.

Is there something I have to modify in that .filetool.lst ?

Posted by zubalove on Aug. 31 2005,09:41
Ke4nt1,
Thanks for taking the time to answer my question!
Hda3 is where my knoppix resides.  Hda1 ismy swap.  Some brief follow up questions:

1) How do I start emelfm as a super-user?  I'm new to linux so I'm not good with commands yet.

2) With gtk2-0705.dsl, I downloaded it specifically to be able to run Gaim.  I downloaded it using mydsl and ran it from the right-click menu.  My question now is, I need to rerun gtk2-0705.dsl before I start Gaim everytime, correct?  It isn't meant to be a one-time update, but instead an environment tweak at run-time.  Yes?

3) Your suggestion of boot-time run options of " dsl dma toram mydsl=hda2 restore=hda2 home=hda2 opt=hda2 host=yourhostname secure"
includes "toram".  I'm running an 80meg Pent 166mhtz laptop.  I thought "toram" is out of the question.  Can I use all the other commands there?

I think this about does it.  I'm considering writing a "Newbie's Adventures in DSL" that goes through my problems and experiences with DSL and Linux in general in order to provide some documentation and links for the uninitiated.  Where should I post it?  I notice there isn't a newbie's forum here.

Posted by ke4nt1 on Aug. 31 2005,15:14
1. From right click menu - Apps >> Tools >> Emelfm >> Emelfm as super user.
Or, from a shell - "sudo emelfm"

2. Correct.
With frugal, you are creating your dynamic environment with every boot.  
( hence, the pun "MyDSL" , your building it your way.. )

With only 80 MB's ram, I'd be lean in deciding when to use this extension.
Perhaps look into some other options for supporting
AIM ?

3. The "toram" option is not an option with only 80MB's ram.
It would be WELL WORTH your time to attempt to add more
ram to your P166. The difference in performance is amazing.

Beg, borrow, steal, to get an opportunity to test this feature.
If your machine supports 128MB ( or higher!) , you'll never go back!

To Test DMA :  From a root shell , run the command
" hdparm -d0 /dev/hda " to de-activate dma ( if it can )
and then run " hdparm -Tt /dev/hda " to test the performance of  your hard drive without dma.

Then switch dma on with " hdparm -d1 /dev/hda " , and
run the performance test again. " hdparm -Tt /dev/hda "

If you see performance gains, and your system continues to run
with stability, then the dma command at boottime is most helpful.

All the other boottime options should be available to you.
Press F2 and F3 at boottime from a live CD to review all the
bootcodes..

73
ke4nt

Posted by zubalove on Sep. 01 2005,15:18
Solved!  Thanks!

However, I found that I couldn't enter all the boot options you listed.  For some reason when I typed across a line break (and the cursor moved down to the next line) all commands I entered were not recognized.  So I dropped the dsl off the command, moved dma to the end (where it hasn't been recognized).  The restore command made it half on the first line and half on the second line.  I'm not too sure how that got affected.  I did get the opt, home, and mydsl commands in first though and they worked great.  Thanks!

Posted by mikshaw on Sep. 01 2005,21:43
the boot options should be all on one line.
Posted by zubalove on Sep. 02 2005,00:59
it seems that's the only way it will work, but I run out of room!
Posted by mikshaw on Sep. 02 2005,02:44
LOL!  I think not.  If your line goes to the edge of the window, it should simply wrap or scroll beyond the edge.  There is no running out of room in a text file.
Posted by zubalove on Sep. 02 2005,14:36
sorry.  in this case, it appears that when the curser reaches the end of the line ond goes to the next line, the commands don't work.  I know this because I see DMA turn on when I lead with it, but when I finish with it (on the second line) it doesn't turn on.
Posted by Saving my DSL Apps ...? on Sep. 10 2005,16:27
I saved mydsl apps tp /hda2, but they are not laoded at sratup. I have to go to /mnt/hda and click on them in Emelfm to get them loaded.

What am I doing wrong?

cxexa

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.