How to remove/hide "Power off system" Kodi Shutdown Menu

How to remove/hide "Power off system" Kodi Shutdown Menu

Remove "Power off system" Kodi Shutdown Menu

After I update to kodi v18.5 "Leia", they overwrite "Shutdown Menu" which I did modified to hide/remove "Power Off System". I use windows PC to recode TV so I need to keep it running. I need to hide that AGAIN. This is how to hide "Power Off System".

kodi_android

android kodi shutdown menu

I don't use android's kodi usually, but I installed kodi it doesn't have "power off" option. Beautiful. Windows kodi also should look like this.

To avoid accidentally click/select/touch "power off" button for not shutdown the PC. "Hibanate" "suspend" can recover quickly, but shutdown PC take some time.

kodi v18.5 "Leia" default theme "skin.estuary"setting

Before you do this, it is recommend back up "DialogButtonMenu.xml" to another location.
or make copy and paste it. Make copied file.

This is how to hide "Power off system" for default skin estuary. Find the file "DialogButtonMenu.xml", you can find this file in

 C:\Kodi-18\Kodi\addons\skin.estuary\xml

location_DialogButtonMenu

"DialogButtonMenu.xml" Location

To modify "DialogButtonMenu.xml" use notepad or something, I use Notepad++ or use sometimes sublime text3.

Open and edit "DialogButtonMenu.xml", find this line

<visible>System.CanPowerDown</visible>

this line locate in lines:28 And write no/none. Replace "System.CanPowerDown" with "no/none" ,then save chages.
Press keyboard button,Ctrl + S

<visible>none</visible>
default_DialogButtonMenu
default_DialogButtonMenu

Default DialogButtonMenu


After save changes end the notepad/editor. And open and edit "DialogButtonmenu.xml" again, to be certain the changes. After be sure of the changes exit the notepad/editor.

change_DialogButtonMenu
change_DialogButtonMenu

After changes DialogButtonMenu

You may also need change lines34, and 39

  <visible>System.CanPowerDown |System.CanSuspend | System.CanHibernate</visible>

  <visible>System.HasAlarm(shutdowntimer)</visible>
to
  <visible>none</visible>
 

After the chages save the file and exit.

Power_off_remove

Perfect!!

After the changes, kodi v18.5 "Leia" should look this, if that chages are successfully done!

If something happened and Power options don't show up. Don't warry about it. Install kodi another location then grab THE "original" "DialogButtonMenu.xml" and replace it with misstake's one.

コメント

このブログの人気の投稿

スタートアップフォルダとAmatsukazeのエンコード設定

EDCB Recname_MacroのRMで文字削除がうまく行かない

冠山トンネル周辺のライブカメラ