LinHES Forums
http://forum.linhes.org/

HOWTO: add a shutdown button to mythtv's main menu
http://forum.linhes.org/viewtopic.php?f=11&t=5898
Page 1 of 1

Author:  graysky [ Sat Sep 03, 2005 6:40 am ]
Post subject:  HOWTO: add a shutdown button to mythtv's main menu

Here's a very simple method to add a shutdown button (that is a remote/keyboard selectable menu item) to the main menu in Mythtv. Useful if you want a quick and dirty way to shutdown your mythbox without sshing into it or bringing-up a shell and doing it from the box. I'll post a screenshot as soon as my webhost come back up.

---

I'll also say that I'm using the classic theme option.

nano (or your fav text editor) /usr/share/mythtv/theme/classic/mainmenu.xml

Add the following wherever you want the button to appear
Code:
<button>
   <type>Halt </type>
   <text>Halt </text>
   <action>EXEC /usr/bin/sudo halt</action>
   </button>

Author:  khrusher [ Sat Sep 03, 2005 9:51 am ]
Post subject: 

isnt that already under the default knoppmyth menu?

Author:  graysky [ Sat Sep 03, 2005 1:42 pm ]
Post subject: 

Is it? I'm using R5A15.1 and I had to add it myself... I downloaded A16 but haven't installed it yet.

Author:  tjc [ Sat Sep 03, 2005 1:52 pm ]
Post subject: 

I think you're talking past each other. There is a halt button in the default config which has been there as long as I can remember, but it's not on the top level menu, it's on the KnoppMyth sub-menu...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/