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 Sun 26 Oct 2014, 04:00
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Projects
PupsaveConfig-2.2.5
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 1 of 12 Posts_count   Goto page: 1, 2, 3, ..., 10, 11, 12 Next
Author Message
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 09 Oct 2010, 08:29    Post_subject:  PupsaveConfig-2.2.5
Sub_title: 2012-10-30
 

Same topic at Additional Software » System:
http://www.murga-linux.com/puppy/viewtopic.php?t=76707

The pupsaveconfig is now built in many puplets.
You can test the pupsaveconfig really working.

I know Barry made shutdownconfig and implemented it in Racy.
http://www.murga-linux.com/puppy/viewtopic.php?t=71911
The idea 'pupdialog' is nice, but i think the user interface must be different between keyboard base and the mouse in X.
I think my pausaveconfig is mature and it is time to release the stable.

Download pupsaveconfig-2.2.5.pet (2012-10-30)
(a bug is found in pupsaveconfig-2.2.4)
from http://shino.pos.to/linux/puppy/.
Install on any Puppy-4.x/5.x running with RAM only mode for precise test.
Think stable but still open for your feed back.

For pupplet developers:
If you want to, edit /usr/bin/pupsaveconfig for some ajustables at line 51-:
Code:
# adjustables
EXT4SUPPORT="yes"   # EXT4SUPPORT="" to disable ext4 support ("yes" to support if available)
HIDEADVANCED=""   # 'yes' to hide advanced file options, ''(null) to show all options
TIMELIMIT=120 # in second, time limit before shutdown
MINMB=64      # smallest savefile size in MB, to show smaller than 64
STDMB=512   # standard savefile size
MAXMB=2048   # largest savefile size in choice, to show larger than 2048

Warning on Puppy-43x and its derivatives:[/b]
The pupsaveconfig-2.0 makes ext4 internal file system of the savefile as the default if the kernel supports ext4.
The kernel of the Puppy-43x supports ext4 but the init script cannot read pupsave.4fs.
Solution:
Option 1 - Edit /usr/bin/pupsaveconfig and set EXT4SUPPORT=""
Option 2 - Update the init script in the initrd.gz to support pupsave.4fs.



INTRODUCTION
At the shutting down process after the first bootup of Puppy Linux, means without 'pup_save.2fs', it asks to create the personal storage file named 'pup_save.2fs' on its console. But it is not friendly to the users not familiar with Puppy.
PupSaveConfig is a GUI tool to setup the personal storage file, to customise the name of the file, where to save, password and etc. It can be done before going down to the console. One of the attractive idea is to launch the GUI at the BEGINNING of the first boot.
PupSaveConfig runs on X, and it is easy to internationalise like other Gtk programs. As for the multi-byte characters, most of asian languages, has the problem to display on the console (Think recent puppies cannot display non-ascii characters on console). But PupSaveConfig can.
A previous version of PupSaveConfig is embedded in the Japanese version of Puppy, Puppy Linux 4.20JP and 4.3.1JP. It is useful for Puplet (Puppy Linux derivatives) builders. It works on Puppy and puplets 4.x/5.x.

And as the new feature, the pupsaveconfig-1.9.x allows not to save session at shutdown for frugal install on flash.


WHATS THE NEXT
Next version of the pupsaveconfig should have more simple interface, all the settings at a glance.
Well documented help file, of course with translations.
I believe it shall be one of the key for the most user-friendly Puppy.
The test release is available above to see how the GUI works.

NEED YOUR HELP
Saving the session is the core feature of Puppy. Reliable work is expected.
The Puppy installation is very flexible, so the behaviour of the script is fairly complex.
Variety of the boot device, variety of the hardware, variety of the installation, some has multiple installation, etc. and etc.

PupsaveConfig home
Old topic

TRANSLATION:
The pot file is at '/usr/share/doc/nls/pupsaveconfig/pupsaveconfig.pot'.
The help document is at '/usr/share/doc/help/C/pupsaveconfig.txt'.
You can place the translated help document at '/usr/share/doc/help/??/pupsaveconfig.txt', where '??' is your language code.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Edited_times_total
Back to top
View user's profile Send_private_message Visit_website 
nancy reagan

Joined: 22 Jan 2009
Posts: 513

PostPosted: Sat 09 Oct 2010, 17:12    Post_subject: Request for option "DO NOT SAVE -now"  

Hi Shinobar,

As a tweaker I am of no help to this project. As a user I have a request for an option, that is to say

Most of the time I -do not want- to save session.

However, once you've saved a session every next time, it saves your session without asking if you "want to".

I've posted this before and sc0ttman came up with a tiny script which should fulfill my wish (however I do not know how to incorporate it).

http://www.murga-linux.com/puppy/viewtopic.php?p=383738&sid=4ea5d605239dabcefe856acdcdf83538

I think, but I am not sure, that he incorporated this feature in his "Puppy Arcade"

Looking forward.
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 09 Oct 2010, 19:41    Post_subject: Re: Request for option "DO NOT SAVE -now"  

nancy reagan wrote:
Most of the time I -do not want- to save session.

It was not the original scope of pupsaveconfig, but i know there is such a needs.
My proposal is to change the interpretation of the RAMSAVEINTERVAL written in /etc/eventmanager.

Current Puppy does: The saving is performed only by manual and automatically at shutdown if RAMSAVEINTERVAL=0.
My proposal: The saving is performed only by manual and never automatically even at shutdown if RAMSAVEINTERVAL=0.



Or, use '-1' instead of '0'?
How do you think?

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sun 10 Oct 2010, 07:41    Post_subject: Mockup sample  

Now attached the mock-up sample, pupsaveconfig2 v.1.9d.
Extract the gzip'ed file, place it at /root/my-applications/bin or anywhere with excutable permission.
From the virtual terminal, type:
Code:
pupsaveconfig2 --debug

Launches and brief usage will be shown.
Code:
# pupsaveconfig2 --debug
pupsaveconfig2 debug mode usage:
   pupsaveconfig2 --debug      # run as if pfix=ram
   pupsaveconfig2 --debug cd   # run as if cd boot
   pupsaveconfig2 PUPMODE=3   # run as if full install
   # You can set any valuables apear in /etc/rc.d/PUPSTATE
   pupsaveconfig2   <variable>=<value> {<variable2>=<value2> ...}
   
PUPMODE=5
PUPSFS=sda3,ext3,/luci/luci-230.sfs

This mock-up makes a file /etc/rc.d/pupsave.conf as the result but does nothing more.
Can run on any Puppy 4.x/5.x.
No help documents, no tranlation at this point.
pupsaveconfig2.gz
Description  v.1.9d
gz

 Download 
Filename  pupsaveconfig2.gz 
Filesize  14.94 KB 
Downloaded  1214 Time(s) 
Back to top
View user's profile Send_private_message Visit_website 
bigpup


Joined: 11 Oct 2009
Posts: 5237
Location: Charleston S.C. USA

PostPosted: Tue 19 Oct 2010, 18:09    Post_subject:  

Quote:
My proposal: The saving is performed only by manual and never automatically even at shutdown if RAMSAVEINTERVAL=0.

Looks good to me.
Back to top
View user's profile Send_private_message 
charnisingh

Joined: 06 Oct 2007
Posts: 138

PostPosted: Mon 01 Nov 2010, 22:02    Post_subject: PupsaveConfig the GUI
Sub_title: Shinobar's 1.8.3 Pet
 

Hi Shinobar,

I tested the above mentioned Pet in puppy-431 and found it is working OK.
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Tue 02 Nov 2010, 20:22    Post_subject: Re: PupsaveConfig the GUI
Sub_title: Shinobar's 1.8.3 Pet
 

charnisingh wrote:
I tested the above mentioned Pet in puppy-431 and found it is working OK.

Thanks, charnisingh.
We are moving to next version and i appreciate if you also test the mockup.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3347
Location: Ontario

PostPosted: Wed 03 Nov 2010, 16:40    Post_subject: opinion  

This sounds like a good idea. I've struggled with the
text based system that Barry has given us.

My first thought:

Is it possible that your PupSaveConfig window have some information
regarding empty space remaining in the partition where
the Puppy kernel is located and where I always store
my pupsave file. ...and maybe a warning message if
empty space is getting low.

____________________________________________
Back to top
View user's profile Send_private_message 
noryb009

Joined: 20 Mar 2010
Posts: 540

PostPosted: Wed 03 Nov 2010, 17:55    Post_subject:  

A few things:
- when you select ext3, the save file text area still says .2fs (lupusave- *text area* .2fs)
- The installer doesn't check if there is - in the save file name. (maybe not allow the user to type it?)
- When you select 32 mb, the "Please Confirm" page still says 512mb
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3347
Location: Ontario

PostPosted: Wed 03 Nov 2010, 18:21    Post_subject: backup the pupsave file  

Would this be a good time to make a backup of the pupsave file?

Maybe make it a simple option that you tick. Just a thought...

____________________________________________________
Back to top
View user's profile Send_private_message 
don570


Joined: 10 Mar 2010
Posts: 3347
Location: Ontario

PostPosted: Thu 04 Nov 2010, 19:45    Post_subject: spelling errors  

I've had the time to look through the app now, and I noticed some
spelling errors. So I made some pictures to show the words.
http://www.datafilehost.com/download-7abe7205.html

Also the word 'English' is supposed to have a capital... (I don't know why.)

I also included a design of a window in the situation when
the user is running low of free disk space.

Also when the user wants a password, wouldn't it be wise
to completely restrict the character set that is allowable?

For example the German keyboard switches the position of
the y and z keys which I am told causes a great deal of confusion
during bootup.

So I think it would be wise to state clearly in the password window
the following:

Choose your password from the following characters:

abcdefghijklmnopqrstuvwx 0123456789 and capital letters.

___________________________________________________
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Thu 04 Nov 2010, 21:06    Post_subject: Re: spelling errors  

Thanks a lot for the kind correction, don.
don570 wrote:
For example the German keyboard switches the position of
the y and z keys which I am told causes a great deal of confusion
during bootup.

Ah. I already said somewhere that i am only used to japanese and 'us' keyboards. They are the same layout as for the alphanumeric letters.

I realized now you nicely pointed out. QWERZ keyboard swaps y and z,
AZERTY both q/a and w/z, moreover, numerics are upper case instead of lower...
Then we can use only 20 alphabets! Laughing

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html

Edited_time_total
Back to top
View user's profile Send_private_message Visit_website 
don570


Joined: 10 Mar 2010
Posts: 3347
Location: Ontario

PostPosted: Sat 06 Nov 2010, 13:58    Post_subject: restrict characters in password  

I found a couple more errors in the windows.
I also show a design of a warning message if
the user uses a character that is restricted.
http://www.datafilehost.com/download-9df9bd36.html

In my proposal I don't suggest that Puppy restrict the
keyboard that is being used or the keyboard layout.
Instead I propose that the characters that are inputed by the
user be examined and vetted i.e. evaluated.
I would suggest that once the user has inputed his
entire password and clicked 'OK' that the vetting or examination
process begin.

As well, aren't the French smart enough to deal with their bizarre keyboard
designs? French-Canadians (here in Canada) use a QWERTY design
keyboard which helps them avoid a lot of problems with software. During
the 1980's it allowed them to use text processors like WordPerfect
which was popular in North America..

A huge number of people in Central Europe (including non-Germans)
use the German design of keyboard which is why I suggest
restricting the use of y and z albeit many Germans I'm sure know the problem
exists and can deal with it.

But if their password didn't have a y or z then they could bootup in the
'Legacy' mode and be guaranteed no hassles.


______________________________________________________
Back to top
View user's profile Send_private_message 
shinobar


Joined: 28 May 2009
Posts: 2631
Location: Japan

PostPosted: Sat 06 Nov 2010, 23:28    Post_subject: Re: restrict characters in password  

Thanks don. Your proposal sounds nice!
don570 wrote:
As well, aren't the French smart enough to deal with their bizarre keyboard
designs? French-Canadians (here in Canada) use a QWERTY design
keyboard which helps them avoid a lot of problems with software. During
the 1980's it allowed them to use text processors like WordPerfect
which was popular in North America..

For North America yes, but most of the French speakers in Europe are still using AZERTY, seeing this forum i think.

_________________
Google Chrome portable
Downloads for Puppy Linux http://shino.pos.to/linux/downloads.html
Back to top
View user's profile Send_private_message Visit_website 
nooby

Joined: 29 Jun 2008
Posts: 10557
Location: SwedenEurope

PostPosted: Sun 07 Nov 2010, 03:38    Post_subject:  

I should have read all the entries but are in a hurry. Just wanted to second nancy reagan request that one have the option to not save too.

Sometimes one do things and realize it did not work and would be good to just delete it and start all over.

Now I try to achieve this by having a backup of pupsave in another directory.

But that is kind of much work to keep the backup updated. Smile

_________________
I use Google Search on Puppy Forum
not an ideal solution though
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 1 of 12 Posts_count   Goto page: 1, 2, 3, ..., 10, 11, 12 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Projects
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.1070s ][ Queries: 12 (0.0053s) ][ GZIP on ]