Kodi Community Forum

Full Version: Exit Menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Apologies if this has been asked before, I did search but didn't find an answer.

I used to use some code I found on these forums (This thread: https://forum.kodi.tv/showthread.php?tid=204450 ) to remove the exit menu and to exit Kodi directly by clicking the exit button. This no longer appears to work on Kodi 18.1 and wondered if anyone could help me with some alternative code?

Thanks in advance.
To do it quick and dirty simply change that line: https://github.com/xbmc/xbmc/blob/master....xml#L1008

from:

<param name="onclick" value="ActivateWindow(shutdownmenu)" />

to:

<param name="onclick" value="Quit" />


Edit:

@ubern00b Please be aware, that you are currently asking at the "Estuary"-Section. The thread you have linked points to "Confluence", which is a completely different skin.

In case you are using Confluence. please look at this line: https://github.com/xbmc/skin.confluence/....xml#L1224

and do the changes accordingly from:

<onclick>ActivateWindow(ShutdownMenu)</onclick>

to:

<onclick>Quit</onclick>


That will directly exit Kodi without showing the Shutdownmenu
Thank you for the reply. That must not have been the thread then and I completely overlooked that it was for a different skin. Thanks for pointing that out. I will try the changes you suggest, thank you!
Worked a charm, thank you again Smile
yw Wink