Make XBMC close by pressing the power button, disable exit menu
#1
Hello,

I currently use XBMC (Confluence) almost exclusively with a mouse and would like to have the power button simply close the program instead of popping up the exit menu (Exit, Shutdown, Suspend, Reboot). Is this possible?

Thanks in advance!
Reply
#2
I think you'd have to edit the skin XML to achieve this. It shouldn't be hard to do though.

JR
Reply
#3
Thanks!

Can a mod please move this to Confluence's help forums?

http://forum.xbmc.org/forumdisplay.php?fid=125
Reply
#4
I wanted this feature too, so I poked around the XMLs, to find a way to make it work, so here it is:

Open this file:
Code:
\XBMC\addons\skin.confluence\720p\home.xml

Look for line 933:
Code:
<onclick>ActivateWindow(ShutdownMenu)</onclick>
And change it to:
Code:
<onclick>XBMC.Quit()</onclick>

Wink
Reply
#5
Thanks a million! Smile
Reply
#6
Does the edit work in Eden as well?

John
Reply
#7
Yes, it does...
Same behaviour...

Only the line has changed to 962...

mad-max
- - - Tribute to Metallica - - -
If I managed to help you, please click my reputation
Reply
#8

I use my system in the living room and there is no gui behind XBMC
using live so I changed it too..

Code:
<onclick>XBMC.Shutdown()</onclick>

Didn't like the idea of someone exiting and the system hanging.




(2011-06-21, 13:18)cheat2win Wrote: I wanted this feature too, so I poked around the XMLs, to find a way to make it work, so here it is:

Open this file:
Code:
\XBMC\addons\skin.confluence\720p\home.xml

Look for line 933:
Code:
<onclick>ActivateWindow(ShutdownMenu)</onclick>
And change it to:
Code:
<onclick>XBMC.Quit()</onclick>

Wink

In a world without walls and fences who needs windows and gates, open source, opens minds, so open yours today.

Image
Reply

Logout Mark Read Team Forum Stats Members Help
Make XBMC close by pressing the power button, disable exit menu0