<br><br><div class="gmail_quote">On Fri, Nov 14, 2008 at 9:13 PM, Yan Seiner <span dir="ltr">&lt;<a href="mailto:yan@seiner.com">yan@seiner.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Pat Pierce wrote:<br>
&gt;<br>
&gt;<br>
&gt; ISTR trying the xset command before without effect.<br>
&gt; However, the next time it happens, I&#39;ll give it a whirl,<br>
&gt; and if it works, then a nightly cron job is in order.<br>
</div>I don&#39;t think a cronjob would have access to the display. &nbsp;Perhaps you<br>
ought to start a job in the background when you log in????<br>
<br>
#!/bin/bash<br>
<div class="Ih2E3d">xset dpms 5 5 5<br>
</div>sleep 600<br>
exec $0<br>
<div><div></div><div class="Wj3C7c"><br>
--Yan<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br>
<a href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br>
</div></div></blockquote></div><br>mythtv box is logged in all the time, and sits at the mythtv menu waiting<br>for someone to pickup the remote and wake up the monitor. However,<br>a cron job run as the mythtv user (or whatever user owns your xdesktop<br>
on your box) would have access to the display, as long as the script run by<br>the cronjob has the right DISPLAY setting in it.<br><br>For example:<br>#!/bin/sh<br>export DISPLAY=:0.0<br>xset dpms 5 5 5<br><br>save that in a file, and then run that file in cron.<br>
<br>Pat<br>