> On Thu, Sep 13, 2012 at 1:52 PM, Joseph Fry <<a href="mailto:joe@thefrys.com">joe@thefrys.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">
>><br>
>> How are your 10.04 and 11.10 machines configured to sleep. I know that<br>
>> mythtv will pause the idle timer on Xscreensaver, but xscreensaver can't<br>
>> make my machine actually go to sleep, just the display.<br>
><br>
><br>
> Oops. I assumed you meant blanking the display! Sorry for the confusion.<br>
<br>
</div>You have checked out the wiki article right?<br>
<a href="http://www.mythtv.org/wiki/Putting_mythfrontend_to_sleep" target="_blank">http://www.mythtv.org/wiki/Putting_mythfrontend_to_sleep</a><br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>Many times. However it doesn't cover sleeping automatically when the system is idle. My family is notorious for pausing a show and walking away for hours. I want the system to wait 5 minutes, display my screensaver for 15 minutes, then go to sleep. I can get the screensaver working no problem. I can manually suspend, both from a menu option and from a button on my remote. And I can wake from remote. But I cannot get the system to suspend when left idle.</div>
<div><br></div><div>I can get the system to suspend automatically, but it does it even when I am watching something because mythtv does not deactivate the xfce4-power-manager when watching something.</div><div><br></div>
<div>
The only thing I can think of is creating some sort of cron script that checks the xscreensaver status every few minutes and when it has been active for a certain amount of time it kicks off a dbus command to suspend the system.</div>
<div><br></div><div>I found a pretty good script here I may be able to adapt: <a href="http://www.mentby.com/Group/mythtv-users/how-to-make-idle-frontend-exit.html">http://www.mentby.com/Group/mythtv-users/how-to-make-idle-frontend-exit.html</a> but it seems like suspending on idle should be far simpler to implement than this. Surely I'm not the only person doing this.</div>
<div><br></div></div>