I am using fluxbox on fedora core 6 and have a myth-load script in the startup of fluxbox.<br><br>I know i can create a script that will restart or start the FE from a button on the remote but i dont really like that idea because what if i accidently hit the wront button and kill myth!&nbsp; BOO!
<br><br>here is what i have in my script now...<br>[myth@Mitchell_mc .mythtv]$ cat myth-load<br>#!/bin/bash<br><br># Only do this stuff if we&#39;re on the main display<br># (i.e., don&#39;t do this in a vnc session)<br>if [ `echo $DISPLAY | grep -c &quot;:0&quot;` -ge 1 ]
<br>then<br>&nbsp;&nbsp;&nbsp; # Launch irexec for myth power button stop/start<br>&nbsp;&nbsp;&nbsp; irexec &amp;<br>&nbsp;&nbsp;&nbsp; # Launch myth frontend<br>&nbsp;&nbsp;&nbsp; mythfrontend &amp;<br>&nbsp;&nbsp;&nbsp; # Disable dynamic power management (screen blanking)<br>&nbsp;&nbsp;&nbsp; /usr/bin/xset -dpms
<br>&nbsp;&nbsp;&nbsp; # Disable screen saver<br>&nbsp;&nbsp;&nbsp; /usr/bin/xset s off<br>fi<br>exit<br><br><br>Thanks,<br>Mitchell<br><br><br><div><span class="gmail_quote">On 3/27/07, <b class="gmail_sendername">Cole Brodine</b> &lt;<a href="mailto:cbrodine@gmail.com">
cbrodine@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">There&#39;s some good options listed for Autologin on the MythTV Wiki.&nbsp; (
<a href="http://www.mythtv.org/wiki/index.php/Frontend_Auto_Login" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.mythtv.org/wiki/index.php/Frontend_Auto_Login</a>)<br><br>I use Option 1 with no window manager on one of my frontends.&nbsp; When Mythfrontend crashes, it automatically restarts X and loads a new Mythfrontend windows up.
<br><br>Hope that helps!<br><br>Regards,<br><span class="sg"><br>Cole Brodine<br>
</span><br>_______________________________________________<br>mythtv-users mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:mythtv-users@mythtv.org">mythtv-users@mythtv.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users" target="_blank">
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users</a><br><br></blockquote></div><br>