[mythtv-users] Re:Autostart irxevent and mythfrontend?

Alexander P. Petkov ap154036 at selway.umt.edu
Mon May 26 07:37:23 EDT 2003


QUOTE:
---------------------
I'm trying to get irexec, irxevent, and mythfrontend to start upon
bootup
(or login).... I'm using "autologin" under KDE and I'm using a
Mandrake9 distro.
---------------------

Hi Jeremy:

It looks like you already got the help, but here it is... I also use
KDE with autologin. If I want irexec and irxevent to start
automatically, I have this in my ~/.xinitrc file:
<snip>
#
# Add your own lines here...
#
if ! (ps -u username|grep irexevent) then
{
        echo "Starting irexevent..."
        /usr/local/bin/irxevent /etc/lircrc&
}
else
{
        echo "irexevent is already running"
}
fi

if ! (ps -u username | grep irexec) then
{
        echo "Starting irexec deamon..."
 /usr/local/bin/irexec -d /etc/lircrc
}
else
{
 echo "irexec is already running"
}
fi
</snip>

The echo lines are useless, they don't do anything... Also if you are
gonna try this, replace "username" with your user name.  For some
reason also irxevent needs to be started before irexec.  On this
distro (Suse 7.3) DISPLAY and QTDIR don't need to be set, I can't
speak for any others. 

Alex



More information about the mythtv-users mailing list