Kodi Community Forum
how to remove shutdown from power menu - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: how to remove shutdown from power menu (/showthread.php?tid=349811)



how to remove shutdown from power menu - mondaywoo - 2019-12-05

Hello, I am new to kodi, I checked a lot of information about removing the shutdown button, but none of them take effect, even the xml file mentioned in the information does not exist. My kodi version is 18. How do I remove the shutdown button? Thanks a lot Smile


RE: how to remove shutdown from power menu - Klojum - 2019-12-05

(2019-12-05, 09:18)mondaywoo Wrote: even the xml file mentioned in the information does not exist.

And which xml file would that be? For the default Estuary skin, if "that file" isn't there, the skin wouldn't work properly when accessing the power menu.

Not sure which "Linux" you have (since you posted your thread in this section), but on an Ubuntu-flavor setup, go to this file:
/usr/share/kodi/addons/skin.estuary/xml/DialogButtonMenu.xml
and remove all items below the "Quit()" button section, or just the shutdown button if you want just that.

Do make a backup of that file first before you start butchering it. You will need to work as 'root' since this is a system-skin of Kodi.


RE: how to remove shutdown from power menu - mondaywoo - 2019-12-05

(2019-12-05, 09:45)Klojum Wrote: DialogButtonMenu.xml
thx a lot. I install a new skin, and finally found the xml file. thank uSmile


RE: how to remove shutdown from power menu - FernetMenta - 2019-12-05

if you don't start kodi with the "standalone" option, the shutdown option should not appear. if it does, there is a bug.


RE: how to remove shutdown from power menu - Zuikkis - 2021-01-11

(2019-12-05, 12:38)FernetMenta Wrote: if you don't start kodi with the "standalone" option, the shutdown option should not appear. if it does, there is a bug.

Returning to ancient subject.. Shutdown options are there, kodi launched with just "kodi".

I did edit the xml already, though.


RE: how to remove shutdown from power menu - j-m-s - 2024-09-20

You can also change Home.xml and replace "<onclick>ActivateWindow(ShutdownMenu)</onclick>" with "<onclick>Quit()</onclick>".