[mythtv-users] adding a 'shutdown button' to myth exit menu

John Pullan jmp at tarantella.com
Thu Jan 29 12:31:34 EST 2004


On Wed, 2004-01-28 at 19:09 -0500, Jeff wrote:
> At 03:22 PM 1/28/2004 -0800, you wrote:
> > > Myth already has this option, but if you're running a machine that has a
> > > backend on it, the option is disabled (to prevent you from shutting the
> > > machine down while a scheduled recording is going on, I think).
> >

<snip>

> If you don't have a keyboard and you don't have a network (I'm impressed)
> press the power button on the front of the box or remove the plug from the 
> wall.
> Most likely, nothing bad will happen :-)
> 
> Set up a button on the remote with irxevent and use irexec to bring
> up a choice that asks if you want to shut down the machine. Maybe code
> this so you have to enter something on the remote to ok the shutdown.
> Since I've switched to Myth with built-in lirc support I haven't been able to
> get the mouse to interact with the Xdialog window so you may need a mouse
> for this.
> 
Or get a kernel that supports acpi, run indtall and run apcid, edit the
approptiate scripts/configs so that when it see a power button press, it
shuts down the machine nicely.

-- 
John Pullan <jmp at tarantella.com>



More information about the mythtv-users mailing list