Comment 3 for bug 150480

Revision history for this message
Mario Limonciello (superm1) wrote : Re: [Bug 150480] Re: Lirc should start earlier

Björn,

Well actually neither u-m-f or mythbuntu *require* mouse and keyboard once
you are configured. Mythbuntu only needs it if mythfrontend happens to
quit.

u-m-f should have no need whatsoever for it. If mythfrontend crashes, it
restarts the gdm session automagically.

Perhaps instead the problem here is that gdm needs to wait for LIRC to
finish starting up before it's allowed to proceed, because there will always
be race conditions like this.

On 10/8/07, Björn Torkelsson <email address hidden> wrote:
>
> I'm using my own login setup, which has worked for me a few years now
> with only minor modifications. I didn't have time to try u-m-f and/or
> mythbuntu when I did the upgrade last week andbecause as far as I could
> tell both u-m-f and mythbuntu assumes that you have both a mouse and a
> keyboard attached to the machine. I only hace a remote attached to the
> machine and I am doing every change to the configuration remote.
>
> My ~mythtv/.xsession looks like:
>
> #!/bin/sh
>
> #Set the background to black
> xsetroot -solid black
>
> /usr/bin/xset -dpms s off
>
> #If we have mtd around (and not running), good idea to start it too
> if ! `pgrep mtd>/dev/null`; then
> if [ -x /usr/bin/mtd ]; then
> /usr/bin/mtd -d
> fi
> fi
> #check if irexec is needed, and start if need be
> if [ -x /usr/bin/irexec ] && [ ! -f ~/.noirexec ] && [ -f ~/.lircrc ];
> then
> if [ -n "$(cat ~/.lircrc | grep --invert-match "#" | grep irexec |
> grep prog)" ]
> then
> killall irexec
> irexec -d
> fi
> fi
>
> export QT_XFT=1
> while /bin/true; do
> mythfrontend
> #mythfrontend -v osd,important,playback,general
> sleep 10
> done
>
> Any suggestions how to make it work with lirc? (Without adding a sleep
> :-))
>
> --
> Lirc should start earlier
> https://bugs.launchpad.net/bugs/150480
> You received this bug notification because you are a member of MythTV
> Ubuntu Maintainers, which is a bug contact for lirc in ubuntu.
>

--
Mario Limonciello
<email address hidden>