[mythtv-users] Startup script

Brad DerManouelian myth at dermanouelian.com
Mon Dec 17 02:34:32 UTC 2007


On Dec 16, 2007, at 6:27 PM, Harry Devine wrote:

> I originally installed my Myth system with Mythdora 4.0, but have  
> since
> updated it to the 11/19/2007 SVN RPM from Axel's site.  Whenever I  
> boot
> my box now (have had some power outages recently, so sometimes the box
> shuts off;  I really need to look into an UPS, huh? ;-) ),  
> mythfrontend
> doesn't start automatically as it did when I had the Mythdora setup
> installed.  So, I figured I could just add /usr/bin/mythfrontend to my
> /etc/rc.local file.  However, when the box boots up, the frontend  
> still
> doesn't start.  I don't see anything in /var/log/messages to indicate
> why this is.
>
> Is /etc/rc.local an acceptable place to do this?  If not, can someone
> give me an idea of where I should to this?

You need to start it after your user logs in, not when the machine  
boots. Where it goes depends on the window manager you're using. I use  
KDE and I have this set up for my mythtv user:

[mythtv at mythtv ~]$ more .kde/Autostart/mythautorun.sh
#!/bin/bash
mythwelcome &




More information about the mythtv-users mailing list