[mythtv-users] how to delay mythfrontend startup

Gabe Rubin gaberubin at gmail.com
Sat Sep 20 02:11:38 UTC 2014





> On Sep 19, 2014, at 6:52 PM, Hika van den Hoven <hikavdh at gmail.com> wrote:
> 
> Hoi Gabe,
> 
> Saturday, September 20, 2014, 3:36:30 AM, you wrote:
> 
>> Hi all,
> 
>> I use ratpoison as my windows manager and have it autostart
>> mythfrontend through the .ratpoisonrc file.
> 
> 
>> I have an SSD and I think mythfrontend is trying to load before
>> mythbackend has started.  When it starts, I get the choose your
>> language screen and have to manually restart it.  Is there a simple
>> syntax I can add to have to my .ratpoison script to make it wait about 5-10 seconds?
> 
> 
>> This is what the contents of my .ratposionrc looks like (note,
>> mythrstart.sh is a script I wrote to start mythfrontend with airplay):
> 
>> [mythtv at Mythbox ~]$ more .ratpoisonrc
>> #Make escape (default C-t) not clash with mythTV key bindings
>> escape C-r
>> #Banish the mouse cursor out of the way.
>> addhook switchwin banish
> 
>> exec /usr/bin/xset -dpms >/dev/null
>> exec /usr/bin/xset s off >/dev/null
>> exec /usr/bin/mythstart.sh
>> exec /usr/bin/irexec
> 
> Put a sleep command at the start.
> For instand: sleep 2 to wait 2 seconds.
> 

Should I put that before the exec line or in the mythstart script?


> Tot mails,
>  Hika                            mailto:hikavdh at gmail.com
> 
> "Zonder hoop kun je niet leven
> Zonder leven is er geen hoop
> Het eeuwige dilemma
> Zeker als je hoop moet vernietigen om te kunnen overleven!"
> 
> De lerende Mens
> 
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
> http://wiki.mythtv.org/Mailing_List_etiquette
> MythTV Forums: https://forum.mythtv.org


More information about the mythtv-users mailing list