View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sun Dec 02, 2007 9:41 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
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!

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 02, 2007 6:21 pm 
Offline
Joined: Wed Apr 28, 2004 10:42 pm
Posts: 405
Location: Bendigo, Victoria, Australia
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.

_________________
Paul Turpie
-------------
<--Is your location in your profile? Why not?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 02, 2007 6:50 pm 
Offline
Joined: Wed Mar 03, 2004 7:43 pm
Posts: 748
Location: Sydney, Australia
<action>EXEC killall mythfrontend</action>


Note: There is already a "Power Off" menu button in the KnoppMyth menu.

_________________
| Nigel Pearson, nigel.pearson.au@gmail.com
| "Things you own end up owning you" - Tyler, Fight Club


Top
 Profile  
 
 Post subject:
PostPosted: Sun Dec 02, 2007 8:58 pm 
Offline
Joined: Sat Apr 08, 2006 7:27 am
Posts: 125
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).


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 31 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu