Kodi Community Forum

Full Version: power options
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
looking for a way to only have exit in the power options, my kid always selects everything but exit, so i'd like to make it possible for them to only exit...any suggestions?
Which skin?
sorry i'm a complete newbie, i'm guessing default, i'm using version 21.0 and very basic, no addon's.
i guess i had an addon but removed it (as seen in another post you're helping me in)
You'll wan to remove all these items from DialogButtonMenu.xml found in Kodi/addons/skin.estuary/xml folder.

xml:
<item>
<label>$LOCALIZE[13016]</label>
<onclick>Powerdown()</onclick>
<visible>System.CanPowerDown</visible>
</item>
<item>
<label>$LOCALIZE[20150]</label>
<onclick>AlarmClock(shutdowntimer,Shutdown())</onclick>
<visible>!System.HasAlarm(shutdowntimer)</visible>
<visible>System.CanPowerDown | System.CanSuspend | System.CanHibernate</visible>
</item>
<item>
<label>$LOCALIZE[20151] $INFO[System.AlarmPos,(,)]</label>
<onclick>CancelAlarm(shutdowntimer)</onclick>
<visible>System.HasAlarm(shutdowntimer)</visible>
</item>
<item>
<label>$LOCALIZE[13011]</label>
<onclick>Suspend()</onclick>
<visible>System.CanSuspend</visible>
</item>
<item>
<label>$LOCALIZE[13010]</label>
<onclick>Hibernate()</onclick>
<visible>System.CanHibernate</visible>
</item>
<item>
<label>$LOCALIZE[13013]</label>
<onclick>Reset()</onclick>
<visible>System.CanReboot</visible>
</item>
<item>
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<onclick>dialog.close(all,true)</onclick>
<onclick>System.LogOff</onclick>
<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
<visible>System.Loggedon</visible>
</item>
<item>
<label>$VAR[MasterModeLabel]</label>
<onclick>mastermode</onclick>
<visible>System.HasLocks</visible>
</item>
<item>
<label>$LOCALIZE[13017]</label>
<onclick>InhibitIdleShutdown(true)</onclick>
<visible>System.HasShutdown +!System.IdleShutdownInhibited</visible>
</item>
<item>
<label>$LOCALIZE[13018]</label>
<onclick>InhibitIdleShutdown(false)</onclick>
<visible>System.HasShutdown + System.IdleShutdownInhibited</visible>
</item>
thank you so so so much! you've lowered my stress by 75% lol
shoot i forgot to create a backup. deleted extra stuff..can i reinstall without losing mysql and such?
reinstalled but lost the folder now, it's gone completely but kodi still works
i restored the folder from the source file on git, removed everything you said and it's perfect thank you so much! kudos!
Thread marked solved.