Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 13 Dec 2017, 07:30
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
Automatically suspend machine after period of inactivity
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
nic007


Joined: 13 Nov 2011
Posts: 2199
Location: Cradle of Humankind

PostPosted: Tue 18 Apr 2017, 04:40    Post subject:  Automatically suspend machine after period of inactivity  

Select the time interval under the Power tab in Puppy Event Manager (accessed via menu) > open /sbin/pup_event_frontend_d script with geany (right-click on file, select open as text) > search tab > replace submenu > replace && wmpoweroff in the document with && [your suspend command]. I use echo mem > /sys/power/state to suspend to RAM, echo disk.... will suspend to disk if you have a swapfile/folder. You can also use acpitool -s if you have acpitool installed.
NB: The script to be edited may be in a different location for your Puppy. The above is for Racy (and probably older Puppys). In Tahr the script is in /usr/local/pup_event/frontend_timeout
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

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


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0451s ][ Queries: 14 (0.0117s) ][ GZIP on ]