Make blank Pupsave

Miscellaneous tools
Message
Author
User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Simple PupSave 0.5 20130420

#16 Post by ASRI éducation »

There are some days, I found this thread. Like you, I think the utility 'MakePupSave/SimpleSave' is a good idea.

Based on SimpleSave-0.4, I made ​​some modifications:
- added localisation, help , information
- test pupmode & Yad presence
- detect save folder directory (RSH method)
- added .4fs
- lang : en, fr, de
- and other...

Proposals/Questions:
1 - I can not add a third format in the main GUI, I wanted to offer three choices (ext2/ext3/ext4).
2 - I am looking for translators (to check the English translation and translated into other languages).

Cordialement,
Attachments
simplepupsave-0.5_20130420.pet
(9.72 KiB) Downloaded 682 times
simplepupsave20130420.jpg
(28.95 KiB) Downloaded 2543 times
Last edited by ASRI éducation on Thu 25 Apr 2013, 08:47, edited 2 times in total.

R-S-H
Posts: 487
Joined: Mon 18 Feb 2013, 12:47

#17 Post by R-S-H »

Hi ASRI éducation.

That's pretty cool!

Meanwhile I did made some work on this as well and have created also a GUI version of the SimpleSave Script. It shows all existing save files inside the gui and has option to remove them, if not longer needed/wanted.

But you are a little faster to publish, so, will keep it private.

I've had a look into your script and found some missing stuff

- the MSGMODEX definitions inside the script are missing the $ in front of it

- to have ext2, ext3, ext4 as a choice inside the yad gui do use

Code: Select all

--field="$FIELDFORMAT":CB "ext2!ext3!ext4" \
Works over here (yad 0.12).

Hope that helps

RSH

P.S.

The script getbootdir to detect the boot directory / save folder is made by myself, that's right so far as your script says.

But the method to get the $APPDIR and the $TMPLANG is the older so called zigbert method.
Attachments
image-2.jpg
(24.66 KiB) Downloaded 2259 times
[b][url=http://lazy-puppy.weebly.com]LazY Puppy Home
The new LazY Puppy Information Centre[/url][/b]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#18 Post by ASRI éducation »

R-S-H wrote:Meanwhile I did made some work on this as well and have created also a GUI version of the SimpleSave Script. It shows all existing save files inside the gui and has option to remove them, if not longer needed/wanted.
Very good news!
You are obviously much better than me to write a script.
Users will obviously gain.
If I can help, you know where contact me.
Cordialement,

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Simple PupSave 0.6

#19 Post by ASRI éducation »

With the help of RSH, Simple PupSave now version 0.6

Changes:
- Fixed default save directory.
- $DISTRO_FILE_PREFIX is now added to the given save file name.
- Added creation of save file put into a back end script.
- Updated the getbootdir script.
- Added German locales.

:wink:
Attachments
simplepupsave_de01.jpg
(28.42 KiB) Downloaded 2162 times
simplepupsave-0.6_20130424.pet
md5 7e81b112690b9aa444a3bcd02cda2ce7
(11.38 KiB) Downloaded 675 times

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

20130510 SimplePupSave v0.7

#20 Post by ASRI éducation »

20130510 SimplePupSave v0.7

Visually, it hardly change anything for the user, I basically tried to improve the background tasks.

Changes
- Variables: added values ​​pupsave size min/max & default format
- Help: added new tab
- Change the full name of the file pupsave
- Bug fix: now the utility warns if a pupsave file with the same name already exists
- Update translations fr-en-de
- Added information during creation of pupsave file
- Improving information pupmode

Improvements I have not succeeded
1 - The main window (written with yad) exit/restart when the user clicks on the buttons 'space free/help/information': it is not useful and it is inconvenient for the user who loses every time choices (directory, size, name, format). Does anyone know how to prevent exit/restart of the main window?
2 - Help GUI (gtk) offers a window whose height is too high. Does anyone know how to limit its height?

Improvements I have not tried
- View the list of existing pupsave files.
- Propose to remove existing pupsave files.
- Automatically check the free space on the home partition before creating the new pupsave file.

Sincerely,
Attachments
simplepupsave-0.7_en.jpg
(30.54 KiB) Downloaded 1978 times
simplepupsave-0.7_20130510.pet
md5 9dc981051e0dc4b1e2104a33633c4bdd
(13.17 KiB) Downloaded 775 times

User avatar
stu91
Posts: 145
Joined: Mon 06 Aug 2012, 15:11
Location: England. Dpup. Dell Inspiron 1501

Re: 20130510 SimplePupSave v0.7

#21 Post by stu91 »

ASRI éducation wrote:20130510 SimplePupSave v0.7

Improvements I have not succeeded
1 - The main window (written with yad) exit/restart when the user clicks on the buttons 'space free/help/information': it is not useful and it is inconvenient for the user who loses every time choices (directory, size, name, format). Does anyone know how to prevent exit/restart of the main window?
Hello ASRI éducation,
Try putting button actions into a function:

Code: Select all

function free_space () {
	partview &
}
export -f free_space
Then in yad gui:

Code: Select all

--button="$BUTTONFREESPACE:bash -c 'free_space'"

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

Re: 20130510 SimplePupSave v0.7

#22 Post by ASRI éducation »

stu91 wrote:
ASRI éducation wrote:20130510 SimplePupSave v0.7

Improvements I have not succeeded
1 - The main window (written with yad) exit/restart when the user clicks on the buttons 'space free/help/information': it is not useful and it is inconvenient for the user who loses every time choices (directory, size, name, format). Does anyone know how to prevent exit/restart of the main window?
Hello ASRI éducation,
Try putting button actions into a function:

Code: Select all

function free_space () {
	partview &
}
export -f free_space
Then in yad gui:

Code: Select all

--button="$BUTTONFREESPACE:bash -c 'free_space'"
Hello stu91.

Thank you!
It works for 'free space' button.
I'll try to do the same for the buttons 'help' and 'information'.

User avatar
dejan555
Posts: 2798
Joined: Sun 30 Nov 2008, 11:57
Location: Montenegro
Contact:

#23 Post by dejan555 »

Hey I see these new posts just now! I'm glad that someone updated this for newer puppies and added features, I'll update the main post to link to latest version post.
Sorry I'm not involved in development lately but glad to see that you guys still doing just fine! :) I log in occasionally though.
Keep making puppy the best OS!
puppy.b0x.me stuff mirrored [url=https://drive.google.com/open?id=0B_Mb589v0iCXNnhSZWRwd3R2UWs]HERE[/url] or [url=http://archive.org/details/Puppy_Linux_puppy.b0x.me_mirror]HERE[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

simplepupsave-0.8

#24 Post by ASRI éducation »

simplepupsave-0.8_20130616.pet

Changes
- Added spanish translation
Attachments
simplepupsave-0.8_20130616.pet
md5 1495abb6fb18e8a6084793a0012f9206
(14.37 KiB) Downloaded 795 times

Pelo

Blank pupsave ; small but efficient !

#25 Post by Pelo »

Nowadays, if you have only one save on your USB stick, you are not offered the choice zero to start a new job, the distro boots straight on the existing savefile. You must create a second one to get the choice between zero one and two.
The ASRI's pet makes it.

Try to avoid boot partition of el senor Windows 7 (sda1 or sda4)

Pub : Will be erased next visite !
Attachments
emtec.jpg
For the students... Surtout interdisez l'accès à votre réseau aux clés USB, Puppy sait réparer, mais il saurait aussi détruire entre de mauvaises mains !
(70.87 KiB) Downloaded 573 times
Last edited by Pelo on Tue 01 Jul 2014, 05:31, edited 1 time in total.

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#26 Post by ASRI éducation »

I am preparing version 0.9 of Simple Pupsave.
It will be ready in two days.

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#27 Post by ASRI éducation »

I just back development of simplepupsave utility.
I started to make some significant improvements, but I confess that Yad does not suit me (I think I prefer gtk).
The interface written by RSH is gtk, and I trust him for doing a good job.
So, I wonder if I have to continue development.
If I leave, it will encourage RSH to share its utility.
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#28 Post by ASRI éducation »

ASRI éducation wrote:I just back development of simplepupsave utility.
I started to make some significant improvements, but I confess that Yad does not suit me (I think I prefer gtk).
The interface written by RSH is gtk, and I trust him for doing a good job.
So, I wonder if I have to continue development.
If I leave, it will encourage RSH to share its utility.
Cordialement,
RSH just contact me.
He sent me his script (I thank him).
Within a day or two, I'll can give you more information.
Cordialement,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#29 Post by ASRI éducation »

simplepupsave-0.1.0_20141127 (for Puppy based on woof-ce 0.3)
- stop yad gui, now use gtk
- add choice for file/folder pupsave
- and other improvements

Regards,
Attachments
simplepupsave-0.1.0_20141127.pet
(11.56 KiB) Downloaded 395 times
simplepupsave-0.1.0_20141127_NLS.pet
currently, only the translation fr is integrated
(6.03 KiB) Downloaded 321 times
simplepupsave01-en.png
(13.8 KiB) Downloaded 454 times
simplepupsave02-en.png
(23.61 KiB) Downloaded 446 times
simplepupsave03-en.png
(31.93 KiB) Downloaded 447 times
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

ferretgrandpa

#30 Post by ferretgrandpa »

Thanks for this. Works like a charm.
I was able to answer my own questions about multiple save folders. without spending lots of hours reading and trying things. This does the trick.
Thanks again

BTW, I's using Tahrpup 6.0ce on a 16 GB USB Thumbdrive, plugged into a Toshiba Satellite c55t laptop

User avatar
ASRI éducation
Posts: 3197
Joined: Sat 09 May 2009, 12:10
Location: France
Contact:

#31 Post by ASRI éducation »

ferretgrandpa wrote:Thanks for this. Works like a charm.
Glad to know that it have been useful for you.
Regards,
Projet ASRI éducation => [url=http://asri-education.org/]Association[/url] | [url=http://forum.asri-education.org/]Forum[/url] | [url=http://dl01.asri-education.org/]Dépôt[/url] | [url=http://kids.asri-education.org/]Espace kids[/url]

Post Reply