Shutdownconfig: GUI shutdown
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Shutdownconfig: GUI shutdown
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/viewto ... 7&start=60
# 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/viewto ... 7&start=60
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.
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.
- Attachments
-
- unicode-0.1.pet
- unicode in console
- (186.12 KiB) Downloaded 614 times
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
Cheers
Puppy Linux Blog - contact me for access
- BarryK
- Puppy Master
- Posts: 9392
- Joined: Mon 09 May 2005, 09:23
- Location: Perth, Western Australia
- Contact:
Re: Shutdownconfig: GUI shutdown
Thanks, I have put that into Woof.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
[url]https://bkhome.org/news/[/url]
Bug from Slacko
Bigpup has reported a bug in shutdownconfig in Slacko RC2 thread.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Bug from Slacko
Thank yourodin.s wrote:Bigpup has reported a bug in shutdownconfig in Slacko RC2 thread.
I don't know whether this will solve the problem but I have found a superfluous thus buggy $ in
usr/sbin/shutdownconfig line 578
delete the $ please.select \Zb\\\${$T_savetopart}\\\${PDEV1} \ZB (TAB then ENTER) to save direct to partition, or \Zb\\\${T_notsave}\ZB to shutdown without saving session..."`"
Edited some minutes later...
01micko wrote:Thanks so much L18L.. fixed!
_________________
keep the faith
Re: Bug from Slacko
Line 571 also has that error.L18L wrote:Thank yourodin.s wrote:Bigpup has reported a bug in shutdownconfig in Slacko RC2 thread.
I don't know whether this will solve the problem but I have found a superfluous thus buggy $ in
usr/sbin/shutdownconfig line 578
delete the $ please.select \Zb\\\${$T_savetopart}\\\${PDEV1} \ZB (TAB then ENTER) to save direct to partition, or \Zb\\\${T_notsave}\ZB to shutdown without saving session..."`"
Edited some minutes later...01micko wrote:Thanks so much L18L.. fixed!
_________________
keep the faith
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Re: Saved without asking on 2nd shuwtdown
1. Yes, I'm using that right now here in Lupu-526.BarryK wrote:You should be able to achieve that by having "pmedia=ataflash" kernel boot parameter.
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.
- L18L
- Posts: 3479
- Joined: Sat 19 Jun 2010, 18:56
- Location: www.eussenheim.de/
Re: Bug from Slacko
Yes, thank youbigpup wrote: Line 571 also has that error.
${$foo}
delete $
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 ]
[ / EDIT ]
END of BESIDES THAT
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: Select all
--- /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: Select all
--- /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
END of BESIDES THAT
Last edited by Karl Godt on Wed 16 Nov 2011, 17:47, edited 1 time in total.
Possible solution to this bug here:Slacko 5.3 main
Still having this problem.
Frugal install to USB flash drive
Save option - save to partition sdb1(the flash drive)
menu->shutdown->reboot or poweroff
Goes to saving session to sdb1 message
Then back to desktop.
Does not poweroff computer or reboot.
If you make a save file to flash drive. no problems.
This only happens if you use save option save to sdb1 (the flash drive)
http://www.murga-linux.com/puppy/viewtopic.php?t=73225
The things they do not tell you, are usually the clue to solving the problem.
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
When I was a kid I wanted to be older.... This is not what I expected
YaPI(any iso installer)
Super app, but...
Does this only come in BRIGHT yellow?
It's a great idea, super, but I couldn't face seeing that bright yellow, late at night after a eye tiring session, for example.... maybe a more, um, gentle colour?
And I'm not complaining, as I don't do any dev work at the moment, so thanks, but why YELLOW?
It's a great idea, super, but I couldn't face seeing that bright yellow, late at night after a eye tiring session, for example.... maybe a more, um, gentle colour?
And I'm not complaining, as I don't do any dev work at the moment, so thanks, but why YELLOW?
Puppy 4 and Lupu don't have this shutdown GUIAnd I'm not complaining, as I don't do any dev work at the moment, so thanks, but why YELLOW?
runtt21 had successfully eliminated that yaf splash and uses the old-fashioned dialog way in his Macpup
~
Me born on 17th May : starlyte, with all respect , DUMBEST QUESTION !
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P