Kodi Community Forum
Req Shutdown Menu - Remove Items - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Skins Support (https://forum.kodi.tv/forumdisplay.php?fid=67)
+---- Forum: Confluence (https://forum.kodi.tv/forumdisplay.php?fid=125)
+---- Thread: Req Shutdown Menu - Remove Items (/showthread.php?tid=270077)



Shutdown Menu - Remove Items - plittlefield - 2016-04-17

Is it possible to remove items from the shutdown menu?

I would like to hide or remove the following items...

* Power off system
* Custom Shutdown Timer
* Suspend
* Hibernate
* Reboot

...only leaving these...

* Exit
* Log Off User

Thank you.

Paul

Kodi 14.2
Ubuntu 12.04


RE: Shutdown Menu - Remove Items - Dalton63841 - 2016-04-18

Navigate to ~/.kodi/addons/*skin add-on*/1080i, and edit DialogButtonMenu.xml.

In that file you will see a list with sections in it for each button, for example, to remove the Power off button, delete the section that looks similar to this:

Quote:<control type="button" id="3">
<description>Shutdown button</description>
<width>510</width>
<height>60</height>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<align>left</align>
<textwidth>435</textwidth>
<textoffsetx>45</textoffsetx>
<texturefocus border="35,2,35,2">button_shutdown_focus.$
<texturenofocus border="35,2,35,2">button_shutdown_nofo$
<onclick>Powerdown()</onclick>
<visible>System.CanPowerDown</visible>
<font>font14</font>
<label>13016</label>
</control>