View previous topic :: View next topic |
Author |
Message |
jtisdale n00b
Joined: 27 Jan 2006 Posts: 2
|
Posted: Sun Apr 09, 2006 6:37 pm Post subject: Sleep after idle |
|
|
Hi all,
I'd like to make my linux machine sleep after its been idle for some amount of time.
I have apm working, and I can force the machine to sleep (i.e. apm -s works fine)
Is there a script or daemon that will call
after some specified amount of idle time?
I've looked through portage stuff and I can't find anything relevant.
Thanks! |
|
Back to top |
|
|
calle2003 n00b
Joined: 21 Oct 2004 Posts: 63
|
Posted: Mon Apr 10, 2006 3:06 am Post subject: Re: Sleep after idle |
|
|
jtisdale wrote: | I'd like to make my linux machine sleep after its been idle for some amount of time. |
Have a look at bug 127629. I provided an ebuild for sleepd 1.3.5 which does exactly this. I use it with ACPI but it is prepared for APM also. If you have a laptop, it should work out of the box.
If you have a desktop computer, change /etc/conf.d/sleepd to
Code: | SLEEPDOPTIONS='-U 3600' |
to set the idle time to 1 hour.
Look here http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds to learn how to install the ebuild to your system because it is not yet in portage.
See also
Code: | # man sleepd
# man sleepctl |
for further information.
Please let me know how it worked for you.
Regards,
Christian. |
|
Back to top |
|
|
|
|
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
|
|