[mythtv-users] how to delay mythfrontend startup
Hika van den Hoven
hikavdh at gmail.com
Sat Sep 20 02:22:46 UTC 2014
Hoi Gabe,
Saturday, September 20, 2014, 4:11:38 AM, you wrote:
>> 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?
I would put it as the first line
Of cause assuming that the script /usr/bin/mythstart.sh only starts
the frontend. If in there both backend and frontend are started, put
it the line after the backend start command.
>> Tot mails,
>> Hika mailto:hikavdh at gmail.com
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
More information about the mythtv-users
mailing list