(But wouldn't it be better if you went back and edited your correction into your earlier post and the downloadable script?)

ps. I had to edit BAT0 to BAT1 and LID1 to LID for my laptop using Racy 53.

Other users should check their /proc/acpi/....... directory names to likewise adjust the script if needed.

I put the script in /root/my-applications folder and made a link to it in the /root/Startup folder. Be sure to test the script before doing this, or you may find as I did, that you get unexpected suspends or even shutdowns as soon as Puppy starts. If so, simply boot into puppy with the pfix=ram parameter, and mount your savefile. Then delete the link in /root/Startup.

The script works great for me now -- just what I was looking for!

Now to get a suspend after a period of inactivity -- with video player exception -- saw a script around here for that, too.

For that one I commented out the wmpoweroff command line and substituted the suspend command from the pwrman script. Also removed the "Exit" line so that it would continue to loop.

Works well. The only drawback is that if it goes into suspend, I assume the pwrman script will not shut down the computer for a low battery while in suspend.

However I get the benefit that there will be longer period of inactivity until a loss of battery power, and it is likely I will see the blinking suspend LED at some point before the battery runs out. I can then resume and shut down programs, save data, or plug in._________________Acer Aspire 5349-2635 laptop Tahrpup.Acer R11 Chromebook no pup1999 Thinkpad 600e Lupu 528Acer Iconia A1-830 tablet no pupwww.sredmond.com

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot vote in polls in this forumYou cannot attach files in this forumYou can download files in this forum