[mythtv-users] Startup script

Harry Devine lifter89 at comcast.net
Mon Dec 17 03:12:35 UTC 2007


Brad DerManouelian wrote:
> 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 &
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>   
OK, I found the startup.sh script in /home/mythtv/.kde/Autostart, but 
adding the mythfrontend call to it has no effect.  Anything else I 
should be looking for?  Here's my /home/mythtv/.kde/Autostart/startup.sh 
script:

[mythtv at HJDMyth ~]$ more .kde/Autostart/startup.sh
#!/bin/bash
/usr/bin/mythfrontend &

Thanks,
Harry


More information about the mythtv-users mailing list