Run without a savefile

Booting, installing, newbie
Message
Author
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

Run without a savefile

#1 Post by Scooby »

Can you unpack lucid(or Slacko), fill in some basic stuff
like language and keyboard settings?

Maybe som configfiles for wvdial

I just want basic config, everything else i want to throw away after each session?


Can you do it whitout a full recompile?

What are the cons? Hard to upgrade?
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

remaster Live CD

#2 Post by Scooby »

I tried the Remaster puppy-live cd program

It remembered some things as video config and
I think it was keyboard layout.

But it did not save
1. Language
2. Taptime for touchpad

can this be put into the remastering of a live cd?

Can you tell slacko not to run the set up wizard that is being executed at first startup?

Can you tell slacko not to ask if you want to save to a savefile at the end of a session?



When I check more closely i see that taptime is indeed increased however the top left opion in flsynclient is set to left button = disable, saves some but not all

Also regarding lamguage there is some problem with swedish. one time it asked for a locale file on the cd the next time it worked
Strange?

please help

I am using a USB flash to run slacko
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#3 Post by Scooby »

I think i did not restart X after choosing main language so maybe thats why swedish was not saved to the remastered iso

I think the remaining questions are

1. Can you save the the top left option in flsynclient, tab "tapping" as set to "One finger =left button"

2. Can you tell slacko not to run "Personalize - Settings" wizard that is being executed at first startup?

3. Can you tell slacko not to ask if you want to save to a savefile at the end of a session?
User avatar
CatDude
Posts: 1563
Joined: Wed 03 Jan 2007, 17:49
Location: UK

#4 Post by CatDude »

Hello Scooby

Although it is aimed at Lucid Puppy 5.2.5 this link may shed some light on the language issue you are having. (amongst other things)

As to the touchpad settings (i don't use the silly buggers)
it appears that there is a hidden file: /root/.flSynclient
that stores the settings.

You need to include it in your remaster when you get the chance to edit files in /tmp/root

Hope this helps

CatDude
.
Image
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#5 Post by Flash »

Scooby, running Puppy from a multisession CD or DVD may be easier than remastering. (I've never remastered so I can't say for sure.) Your changes, settings and installed programs are saved on the multisession CD or DVD and are loaded when it boots. The end result is the same as if you'd remastered Puppy with those changes, settings and installed programs.
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#6 Post by Scooby »

I am using USB and I dont want to use cd/dvd

Catdude

My problem was not the xorgwizard running but "Personalize settings"
However your link pointed me to the right place so I am very grateful for your contribution

the root/.flsynclient was right what I wanted, Thanks
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#7 Post by nooby »

I have promised to not give poor quality answers
so the following is not much of an answer but
more like wild suggestions.

1. What Flash suggest maybe could be used for USB too?
The only bad side effect is that CD is safer because the
USB can be changed by others and the CD not so likely.

So correct me if I am wrong but can he not set up his USB
so it behave like a Multi session CD by using a puppy code
on the boot. Telling it to be a certain way to deal with it?

Several has discussed this in threads. How to set it so it does not save
a save file.

2. Another less flexible options is to do like member seaside did.

He makes a small savefile that includes all the needed personal settings
and installed programs and then he change that one into a z file that
boots and become part of the OS automatically.

That way it is always the same and does not save ever. If I remember correctly.

It worked for him using older versions of Puppy like 431 and maybe Wary?

But I don't remember if he tested it on Lucy or Slacko or Saluki.

So maybe this is something to get more developers interested in
to include in coming version of Puppy to have this feature built in?

Or I am too naive maybe? The Personal Evergreen Puppy with personal
changes built in and then locked until one do a special boot that allow
for new such build? Just a wild thought

Scooby, Flash or others can tell if I am right about you being able
to use a USB same way as Flash multi boot idea.

and seaside threads where he mention the using no save file at all
and still being able to save the personal setting and then they stay
and it is always a fresh OS which he use SFS to load many many
programs that way one get modularity only load what program one
need on fly and instant uninstall when one don't need it.
I like that it gives you total flexibility within the restraints of being ever green.
but I am a noob so I can not explain it on the needed level
I use Google Search on Puppy Forum
not an ideal solution though
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#8 Post by Scooby »

What seaside did sounds interesting

I think I did a hack that works

1. I will save root/.flsynclient in next remastering

2. I have hacked root/Startup/fullstart to not run "Personalize Settings"
(commented it out)

3. I have even more hacked usr/bin/shutdownconfig
So that it bypasses dialogs and saving of savefile
(bypassed two "case" loops)


I did some test but have not done the full remastering yet
Tomorrow I hope to know if it works
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#9 Post by nooby »

When seaside make use of a z file that works for him
but in general it is not the optimal solution because
some Devs wants to make use of z files for extras
that they want to add. And then these collide?

One can only have one z file.

So can one make personal settings into a .pet file
or into a sfs file that one load on boot using a script?
I use Google Search on Puppy Forum
not an ideal solution though
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#10 Post by Scooby »

Did a Remaster today, It works fine

Forgot to comment out the dog bark so has to do it again.

Does anyone know where the dialog that comes up on first boot
saying

"Move mousepointer over this to start configure"

from where is it called?

It is happening every time X is resarted so maybe
a startup file for X

Does anyone know?
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#11 Post by Scooby »

OKay found it

The "mousepointer over this dialog to start setup" dialog was called from

usr/sbin/delayedrun


Commented out the dialog? is that dangerous

I think it is there to check if I can move mouse which I can so
probably no problem for me?
nooby
Posts: 10369
Joined: Sun 29 Jun 2008, 19:05
Location: SwedenEurope

#12 Post by nooby »

Delayed run could be a very good thing to keep.

Others can explain why it is there. I am a noob.
But it is there for a very considered reason :)
I use Google Search on Puppy Forum
not an ideal solution though
Scooby
Posts: 599
Joined: Sat 03 Mar 2012, 09:04

#13 Post by Scooby »

Ohh i did a realy awful hack in dealyedrun but now I can run my slacko forever in firstrun mode(PUPMODE=5)

Whitout the nagging dialogs at start and end

Plus basic setup of internet and language and so on.
Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#14 Post by Wognath »

Ohh i did a realy awful hack in dealyedrun but now I can run my slacko forever in firstrun mode(PUPMODE=5)

Whitout the nagging dialogs at start and end
Hey Scooby,
This is exactly what I'm trying to do. I know it's been a while, but could you tell me what the awful hack was? Thanks.
User avatar
MochiMoppel
Posts: 2084
Joined: Wed 26 Jan 2011, 09:06
Location: Japan

#15 Post by MochiMoppel »

Wognath wrote:Hey Scooby,
This is exactly what I'm trying to do. I know it's been a while, but could you tell me what the awful hack was? Thanks.
I'm not Scooby, but I had the same problem. Here is what I recommend. If you really need to hack delayedrun you should find following lines and comment them out (by preceding them with #):

Code: Select all

#   [ ! -f /etc/personal_settings_popup_disabled ] && ${QUICKSETUP} #120823 
.
#   aplay /usr/share/audio/2barks.au &
.
#  welcome1stboot.sh & 
This disables quicksetup, soud check and welcome screen.
User avatar
Flash
Official Dog Handler
Posts: 13071
Joined: Wed 04 May 2005, 16:04
Location: Arizona USA

#16 Post by Flash »

What Scooby did is a perfect example of how not to use this forum. After some discussion he may have figured out a solution to his problem, but he never told us what that solution is. :(
partsman
Posts: 363
Joined: Wed 06 Jun 2012, 19:00
Location: OHIO,USA

#17 Post by partsman »

Hi guys
Pardon my ignorance but why would you want to run without a save file ?
Just wondering what the advantage is :?
[color=red]Anyone can build a fast processor. The trick is to build a fast system. (Seymour Cray)[/color] :wink:
User avatar
RSH
Posts: 2397
Joined: Mon 05 Sep 2011, 14:21
Location: Germany

#18 Post by RSH »

partsman wrote:Hi guys
Pardon my ignorance but why would you want to run without a save file ?
Just wondering what the advantage is :?
Ok, man.

Just go to here: http://murga-linux.com/puppy/viewtopic. ... 139#736139, read, download, install (setup, means: copy the files), run and...

... hopefully being somehow impressed.

Btw: don't use a save file when trying this out!

RSH
[b][url=http://lazy-puppy.weebly.com]LazY Puppy[/url][/b]
[b][url=http://rshs-dna.weebly.com]RSH's DNA[/url][/b]
[url=http://murga-linux.com/puppy/viewtopic.php?t=91422][b]SARA B.[/b][/url]
Wognath
Posts: 423
Joined: Sun 19 Apr 2009, 17:23

#19 Post by Wognath »

I'm not Scooby, but I had the same problem. Here is what I recommend. If you really need to hack delayedrun you should find following lines and comment them out ...
Thanks, MochiMoppel. Your info here: http://www.murga-linux.com/puppy/viewto ... 970#735040 is great--I don't really want to change a file I don't understand. I'm actually running Wheezy, which seems to be set up differently, but I'm working on it. I appreciate the help.
why would you want to run without a save file ?
Well, I'm trying to run a remastered pup in ram for online banking security. No chance of malware getting saved... Someone will say, just boot from CD...my netbook doesn't have one.
User avatar
puppyluvr
Posts: 3470
Joined: Sun 06 Jan 2008, 23:14
Location: Chickasha Oklahoma
Contact:

#20 Post by puppyluvr »

:D Hello,
Everything you need is in /initrd
Your sfs files and your save.
I have merged them into the base iso with success,
creating a puppy iso with my machine in mind, but down to the bookmarks.
Just remove .xloaded
Can get big tho...
Close the Windows, and open your eyes, to a whole new world
I am Lead Dog of the
Puppy Linux Users Group on Facebook
Join us!

Puppy since 2.15CE...
Post Reply