| Author |
Message |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Tue 27 Sep 2011, 16:05 Post subject:
shutdownconfig_ru |
|
I have made po and mo files for Russian for BK.pet.
Translated console lines for rc.shutdown are disabled in poedit.
And I hope that Russian people will not go to console for first shutdown.
| Description |
Russian first shutdown in console |
| Filesize |
41.41 KB |
| Viewed |
267 Time(s) |

|
| Description |
Russian mo and po files
|

Download |
| Filename |
shutdownconfig_ru.tar.gz |
| Filesize |
25.57 KB |
| Downloaded |
160 Time(s) |
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Tue 27 Sep 2011, 20:54 Post subject:
Re: Saved without asking on 2nd shuwtdown |
|
| Sylvander wrote: | | BarryK wrote: | | If running from live-CD (with save-file on hard drive) or frugal installation (on hard drive), the work of your current session is immediately saved on the save-file. Thus, there is no choice possible for not saving it. |
Can't believe I'm about to contradict you Barry...
...But I have my Lupu-526 [booted from a "live" CD-RW disk, with lupusave in a sub-folder on a partition on an internal HDD] set up so the pupsave on the HDD is treated as though a pupsave on a Flash Drive.
And then I have it configured so it NEVER auto-saves during the session [I can choose the moment to do it manually].
And then at shut-down/reboot I'm offered the choice "to save or not to save".
Here's an explanation of how I do it. |
You are not contradicting me. If you configure things so that you have a save-file in internal HD, but instead of the normal PUPMODE=12 you have PUPMODE=13, then your work will be kept in RAM and flushed periodically. Then you can choose to not-save.
You should be able to achieve that by having "pmedia=ataflash" kernel boot parameter.
My earlier statement was based on the normal way that Puppy is used. The default is that a save-file on HD would be PUPMODE=12.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1722 Location: Burghaslach, Germany
|
Posted: Wed 28 Sep 2011, 07:01 Post subject:
Shutdownconfig: GUI shutdown Subject description: German translation |
|
Here is updated shutdownconfig-de.po
Thanks to rodin.s for pointing me to line 61
Catching bugs 4 eyes are better than 2 eyes.
Edited
Another bug (German only) was found so attachment deleted
use that of 2 posts down
Last edited by L18L on Thu 29 Sep 2011, 08:33; edited 2 times in total
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Wed 28 Sep 2011, 19:10 Post subject:
|
|
Racy 5.1.101 (5.2beta1), "Tiny", is uploaded. See my blog post:
http://bkhome.org/blog/?viewDetailed=02510
L18L and rodin.s,
Would you mind checking the translation in it? L18L, I have not applied your latest changes, could you check that in Racy?
Note that I have separated out the translation for the rc.shutdown and shutdownconfig scripts.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1722 Location: Burghaslach, Germany
|
Posted: Thu 29 Sep 2011, 08:24 Post subject:
Shutdownconfig: GUI shutdown Subject description: German translation |
|
translation checked and corrected 1 mistake (mine) in Racy 5.1.101
Attached file contains
shutdownconfig.mo , extract it into /usr/share/locale/de/LC_MESSAGES
and de.po for reference
| Description |
|

Download |
| Filename |
shutdownconfig-de-po_and_mo.tar.gz |
| Filesize |
16.68 KB |
| Downloaded |
163 Time(s) |
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1722 Location: Burghaslach, Germany
|
Posted: Fri 30 Sep 2011, 08:33 Post subject:
Shutdownconfig: GUI shutdown Subject description: Segmentation fault |
|
Copied from command line and coloured manually:
# LANGUAGE=en shutdownconfig
Password for 'root' changed
/usr/sbin/root2user: line 102: 27675 Done echo "root:${ROOTPASSWORD}"
27676 Segmentation fault | busybox chpasswd
Password for 'fido' changed
/usr/sbin/root2user: line 105: 27677 Done echo "fido:${ROOTPASSWORD}"
27678 Segmentation fault | busybox chpasswd
disktype: Can't open /dev/fd0: No such device or address
/usr/sbin/shutdownconfig: line 63: 27945 Terminated yaf-splash -bg orange -close never -fontsize large -text "$T_waitprobing"
end of copy
1 bugfix for fido see:
http://www.murga-linux.com/puppy/viewtopic.php?t=71767&start=60
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Sat 01 Oct 2011, 08:23 Post subject:
Russian shutdownconfig in Racy. |
|
Translation is OK. But Cyrillic characters in console are not displayed so one line from rc.shutdown about saving session had white squares instead of letters.
I have made a pet to turn on Unicode in console. This method is used in Russian Puppies. Also this pet has dialog with UTF-8. To turn on UTF-8 in console it's needed to run command 'unicode_start'. It's in two places: /etc/rc.d/rc.local and in /usr/bin/xwin. i18n-d xwin with Russian mo-file are also included. After installing the pet X should be restarted. And after that Cyrillic characters in console are displayed.
| Description |
unicode in console
|

Download |
| Filename |
unicode-0.1.pet |
| Filesize |
186.12 KB |
| Downloaded |
164 Time(s) |
|
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 7019 Location: qld
|
Posted: Sat 01 Oct 2011, 17:35 Post subject:
|
|
I tested the latest (?) on my eee-701SD with tiny 800x480 resolution and most GUI are good except for the encryption choice.. it fills the screen with no buttons. This is in slacko-B5. Maybe it was overlooked?
Cheers
_________________ keep the faith .. 
|
|
Back to top
|
|
 |
BarryK
Puppy Master

Joined: 09 May 2005 Posts: 6866 Location: Perth, Western Australia
|
Posted: Sun 02 Oct 2011, 18:13 Post subject:
Re: Shutdownconfig: GUI shutdown Subject description: German translation |
|
| L18L wrote: | translation checked and corrected 1 mistake (mine) in Racy 5.1.101
Attached file contains
shutdownconfig.mo , extract it into /usr/share/locale/de/LC_MESSAGES
and de.po for reference |
Thanks, I have put that into Woof.
_________________ http://bkhome.org/blog2/
|
|
Back to top
|
|
 |
rodin.s
Joined: 22 Sep 2010 Posts: 326 Location: Ukraine
|
Posted: Sun 23 Oct 2011, 16:52 Post subject:
Bug from Slacko |
|
Bigpup has reported a bug in shutdownconfig in Slacko RC2 thread.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1722 Location: Burghaslach, Germany
|
Posted: Mon 24 Oct 2011, 07:05 Post subject:
Re: Bug from Slacko Subject description: bugfix of internationalisation |
|
Thank you
I don't know whether this will solve the problem but I have found a superfluous thus buggy $ in
usr/sbin/shutdownconfig line 578
| Quote: | | select \Zb\\\${$T_savetopart}\\\${PDEV1} \ZB (TAB then ENTER) to save direct to partition, or \Zb\\\${T_notsave}\ZB to shutdown without saving session...\"`" |
delete the $ please.
Edited some minutes later...
| 01micko wrote: | Thanks so much L18L.. fixed!
_________________
keep the faith |
|
|
Back to top
|
|
 |
bigpup

Joined: 11 Oct 2009 Posts: 3687 Location: Charleston S.C. USA
|
Posted: Mon 24 Oct 2011, 15:37 Post subject:
Re: Bug from Slacko Subject description: bugfix of internationalisation |
|
| L18L wrote: |
Thank you
I don't know whether this will solve the problem but I have found a superfluous thus buggy $ in
usr/sbin/shutdownconfig line 578
| Quote: | | select \Zb\\\${$T_savetopart}\\\${PDEV1} \ZB (TAB then ENTER) to save direct to partition, or \Zb\\\${T_notsave}\ZB to shutdown without saving session...\"`" |
delete the $ please.
Edited some minutes later...
| 01micko wrote: | Thanks so much L18L.. fixed!
_________________
keep the faith |
 |
Line 571 also has that error.
_________________ I have found, in trying to help people, that the things they do not tell you, are usually the clue to solving the problem.
Puppy Help 101 An interactive tutorial for Puppy 5.2.5
|
|
Back to top
|
|
 |
Sylvander
Joined: 15 Dec 2008 Posts: 2855 Location: West Lothian, Scotland, UK
|
Posted: Tue 25 Oct 2011, 05:38 Post subject:
Re: Saved without asking on 2nd shuwtdown |
|
| BarryK wrote: | | You should be able to achieve that by having "pmedia=ataflash" kernel boot parameter. |
1. Yes, I'm using that right now here in Lupu-526.
And it works wonderfully well.
2. Problem is...
I did this with a couple of other Puppies [Slacko & Wary methinks], and it didn't work on those.
No idea why.
Means I'm very inclined to use only Lupu-526 in which it DOES work.
I REALLY LIKE being able to choose when/whether or NOT to save the session.
I really like the simple/clear shut-down dialog [something like Save? = Yes/No].
3. I'd use an alternative method...
Especially if it had a dialog as simple and clear.
It would naturally need to offer the option "to save or not to save".
During the session and at shut-down.
I tried Pupsaveconfig, and it worked, but not so simple/elegant as my primary method.
Is your Shutdownconfig not intended to do this kind of thing?
My old mind is having difficulty grasping the totality of your concept.
I gather both of them must be used prior to the existence of a pupsave file...
To set up the new pupsave file.
Pity they cannot be applied to an existing pupsave.
4. Seems the abilty "to save or not to save" all depends upon the pupsave on an internal HDD being treated as though a pupsave on a Flash Drive.
|
|
Back to top
|
|
 |
L18L
Joined: 19 Jun 2010 Posts: 1722 Location: Burghaslach, Germany
|
Posted: Tue 25 Oct 2011, 07:16 Post subject:
Re: Bug from Slacko Subject description: bugfix of internationalisation |
|
| bigpup wrote: |
Line 571 also has that error. |
Yes, thank you
${$foo}
delete $
|
|
Back to top
|
|
 |
Karl Godt

Joined: 20 Jun 2010 Posts: 2682 Location: Kiel,Germany
|
Posted: Sat 29 Oct 2011, 13:15 Post subject:
|
|
First Impressions to shutdownconfig : on normal save files it works as expected .
Second impression : on encrypted save files it does not [always?] work properly [ especially see slacko threads ] .
[ have only tested this feature from X at manual frugal installs and not from console ]
[ EDIT ]
Since racy-5.2.1.90 the save to encrypted save-files works again
[ / EDIT ]
rc.shutdown now runs shutdownconfig and most relevant part of the former code of rc,shutdown now is in shutdownconfig
Would take me some time to learn more precisely how it works now [ especially the gettext parts ] .
BESIDES THAT :
What I would like to have is NOT a rm -rf [/tmp/]files @shutdown BUT @boot [rc.sysinit] !
1 : these files would be still viewable if something happens .
2 : it would eliminate the security risk of having files leftover having had a hard reset .
[ EDIT ]
| Code: | --- /initrd/pup_ro2/sbin/init 2010-10-20 00:33:25.000000000 +0100
+++ /sbin/init 2011-11-16 18:25:15.000000000 +0100
@@ -27,6 +27,9 @@ case $DEV1FS in
busybox mount -t proc none /proc
busybox mount -o remount,rw /
rm -f /fsckme.flg
+ rm -r -f /tmp/*
+ rm -r -f /tmp/.[a-zA-Z0-9]*
+ chmod 1777 /tmp
#creat a ramdisk...
#note, Puppy kernels are compiled with 13MB ramdisk, so need to be careful not to fill it up...
echo 'Creating a ramdisk and populating with a Linux environment...' >/dev/console |
| Code: | --- /initrd/pup_ro2/etc/rc.d/rc.sysinit 2011-08-22 23:48:01.000000000 +0100
+++ /etc/rc.d/rc.sysinit 2011-11-16 18:36:33.000000000 +0100
@@ -134,6 +134,9 @@ fi
#v409 mount/umount scripts no longer write to /etc/mtab, as gparted failed to create a
#ext3 partition -- dunno why. Instead, now have /etc/mtab a symlink to /proc/mounts...
+rm -r -f /tmp/*
+rm -r -f /tmp/.[a-zA-Z0-9]*
+chmod 1777 /tmp
rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab
|
[ / EDIT ]
END of BESIDES THAT
Last edited by Karl Godt on Wed 16 Nov 2011, 13:47; edited 1 time in total
|
|
Back to top
|
|
 |
|