I installed Fossapup64 and it seems to work quite well. I have one small problem though. I configured PUPMODE=13. On shutdown the dialog box to save session data ignores all keyboard input including Esc. After 60 seconds it continues without saving.
I read /etc/rc.d/rc.shutdown and the dialog command seems correct. I then tested the dialog command in a console window under X and it works. I then tried to test the dialog command in the raw console (after exiting X). However after exiting X using the menu the raw console is dead, i.e., not responding to keyboard input. I then tried CTRL + ALT + BACKSPACE to exit X and again the raw console is dead.
This is not a big problem as I just save using the desktop save icon before shutting down and I changed the timeout on the dialog to 5 so I don't have to wait 60 seconds.
This problem may be specific to my hardware which is a Dell Inspiron 11 model 3180 laptop with a AMD A6-9220e CPU running Advanced Micro Devices, Inc. [AMD/ATI] Stoney [Radeon R2/R3/R4/R5 Graphics] (rev eb).
ADDENDUM
I should have mentioned that on this same machine I run BionicPup64 with PUPMODE=13 and the save session dialog works every time and exiting from X using CTRL + ALT + BACKSPACE (which I do often) always gives a working raw console. Something has changed from BionicPup64 to Fossapup64.
ANOTHER ADDENDUM
Well if you are like me and use multiple versions of Puppy and only for FossaPup64 do you need to manually save before shutting down you will forget to do this and end up losing an entire session worth of data! My workaround for this is to remind me to save when I shutdown. To do this I edited /usr/sbin/logout_gui changing the line
Code: Select all
poweroff)exec wmpoweroff ;;
to
Code: Select all
poweroff)exec mc-wmpoweroff ;;
and adding two files to /usr/bin.
/usr/bin/mc-wmpoweroff:
Code: Select all
#!/bin/sh
rxvt -e mc-have-you-saved-session-dialog
PRESHUTDOWNCHECK="`cat /tmp/mc-pre-shutdown-check.txt`"
[ "$PRESHUTDOWNCHECK" != "session saved" ] && exit
exec wmpoweroff
/usr/bin/mc-have-you-saved-session-dialog
Code: Select all
#!/bin/sh
echo -n "session not saved" > /tmp/mc-pre-shutdown-check.txt
dialog --title 'Session Saved Confirmation' --colors --yesno '\Z1Have you saved the session? No will abort the exit.' 5 60
[ $? -eq 0 ] && echo -n "session saved" > /tmp/mc-pre-shutdown-check.txt