[mythtv] How do you run mythfrontend automatically after WindowMaker starts ?

Chris mythtv-dev@snowman.net
Mon Jan 6 21:19:10 EST 2003


For anyone interested. How to bind lirc button to shutdown -h now
$visudo
under #Cmnd Alias specifation
Cmnd_Alias SHUT=/sbin/shutdown -h now
under root All=(ALL) ALL
username ALL= NOPASSWD: SHUT
save and quit

in $HOME/GNUstep/Library/WindowMaker/autostart
/usr/local/bin/irexec &

In your .lircrc
begin
  prog=irexec
  button = (you choose)
  repeat =0
  config = sudo shutdown -h now
end

Works for me.


On Mon, 2003-01-06 at 14:25, Chris wrote:
> Thanks
> 
>  I put this in the $HOME/GNUstep/Library/WindowMaker/autostart
>  /usr/bin/X11/xset -dpms s off    (To kill the screensaver)
>  /usr/local/bin/irxevent &
>  /usr/local/bin/mythfrontend &
> 
> And it works fine.  System autologins and starts up Mythfrontend.   This
> should definitely go in the FAQ.
> 
> Now to going to try to bind a lirc button to the shutdown -h now
> command.
> 
> 
> 
> 
> 
> On Mon, 2003-01-06 at 03:13, Brent Hills wrote:
> > On Sun, 2003-01-05 at 14:58, Chris wrote:
> > > Trying to put together a mythtv that will work with lirc remote only.  I
> > > wonder if it is possible to run a mythtv box without keyboard and
> > > mouse.  Trying to figure out how to get mythtv .7 to automatically
> > > launch after Window Maker starts.  Any ideas?  rc.local doesnt work/ 
> > > Using redhat 8.  Thanks
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > mythtv-dev mailing list
> > > mythtv-dev@snowman.net
> > > http://www.snowman.net/mailman/listinfo/mythtv-dev
> > > 
> > > 
> > I tracked through the thread and didn't see a direct answer to your
> > question.  I use Window Maker on Red Hat 8.0 with an autologin
> > configuration for myth.
> > 
> > WindowMaker on Redhat 8.0 sticks its autostart script off the user's
> > home directory in my case the home directory is (/home/tv) and the file
> > is located at:
> > 
> > /home/tv/GNUstep/Library/WindowMaker/autostart
> > 
> > >From within here I start up mythfrontend and irxevent/irexec.
> > 
> > fyi
> > Brent Hills.
> > 
> > 
> > 
> > 
> > _______________________________________________
> > mythtv-dev mailing list
> > mythtv-dev@snowman.net
> > http://www.snowman.net/mailman/listinfo/mythtv-dev
> 
> 
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev





More information about the mythtv-dev mailing list