LinHES Forums http://forum.linhes.org/ |
|
making a menu button that exits the frontend http://forum.linhes.org/viewtopic.php?f=6&t=17367 |
Page 1 of 1 |
Author: | graysky [ Sun Dec 02, 2007 9:41 am ] |
Post subject: | making a menu button that exits the frontend |
I'd like to make a formal menu item that simply quits the frontend and will drop me back into mythwelcome. I know I can do this by hitting exit then down arrow, then enter on my remote, but I'd like to have a single-click solution to this... what would the syntax in my mainmenu.xml look like for this? Here is what I have been using for my one-click shutdown: Code: <button>
<type>SHUTDOWN</type> <text>Shutdown Myth</text> <action>EXEC /usr/bin/sudo halt</action> </button> I'm assuming I just need to change the <action> line to something appropriate. I am aware of the "confirm exit (checkbox)" but I'd still like to have a menu item. Thanks all! |
Author: | turpie [ Sun Dec 02, 2007 6:21 pm ] |
Post subject: | |
What I do is turn off the exit confirmation and then you just have to hit STOP one more time to quit the frontend and drop back into MythWelcome. It is also easier to train other users with this method than making them arrow down to another menu item. |
Author: | nigelpearson [ Sun Dec 02, 2007 6:50 pm ] |
Post subject: | |
<action>EXEC killall mythfrontend</action> Note: There is already a "Power Off" menu button in the KnoppMyth menu. |
Author: | stevetv [ Sun Dec 02, 2007 8:58 pm ] |
Post subject: | |
nigelpearson wrote: <action>EXEC killall mythfrontend</action>
Note: There is already a "Power Off" menu button in the KnoppMyth menu. yes. i just moved that to the main menu to improve pitahmaf (pita house mate AF). |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |