[mythtv-users] how to delay mythfrontend startup

Hika van den Hoven hikavdh at gmail.com
Sat Sep 20 01:52:43 UTC 2014


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.

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