Kodi Community Forum

Full Version: Shutdown Menu - Remove Items
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
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>