Win XBMCLauncher / Launcher4Kodi - All in One Tool for Change Shell, Set Focus and more
Hey thanks for the nice little program Smile <3

So i figured out how to fix the shutdown and reboot on the Alaska Revisited skin Smile

Here's what i did:

So i installed the custom shutdown option and looked at the file "DialogButtonMenu.xml" in my "skin.confluence" folder and found:

Code:
<control type="button" id="2">
                <description>Shutdown button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
                <onclick>XBMC.Quit()</onclick>
                <visible>System.CanPowerDown</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>Shutdown</label>
            </control>
                        
            <control type="button" id="3">
                <description>Reboot button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.Reset()</onclick>
                <visible>System.CanReboot</visible>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13013</label>
            </control>
            
            <control type="button" id="4">
                <description>Exit button</description>
                <width>340</width>
                <height>40</height>
                <textcolor>grey2</textcolor>
                <focusedcolor>white</focusedcolor>
                <align>center</align>
                <textwidth>290</textwidth>
                <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
                <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
                <onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\CloseXBMC.py)</onclick>
                <onclick>XBMC.Quit()</onclick>
                <pulseonselect>no</pulseonselect>
                <font>font13</font>
                <label>13012</label>
                <visible>System.ShowExitButton</visible>
            </control>

So by mixing the <onclick> parts with my alaska files i got it working Smile

I found the following files in "C:\Users\MY USERNAME\AppData\Roaming\XBMC\addons\skin.alaska.revisited\720p"

First i changed the text in the xml file "DialogButtonMenu.xml"

From
Code:
                <control type="button" id="3114">
                    <include>SettingsLabel</include>
                    <label>$LOCALIZE[13005]</label>
                    <onclick>ShutDown()</onclick>
                </control>
                <control type="button" id="3121">
                    <include>SettingsLabel</include>
                    <label>$LOCALIZE[13013]</label>
                    <onclick>Reset()</onclick>
                    <visible>System.CanReboot</visible>
                </control>

To
Code:
                <control type="button" id="3114">
                    <include>SettingsLabel</include>
                    <label>$LOCALIZE[13005]</label>
                    <onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
                    <onclick>XBMC.Quit()</onclick>
                </control>
                <control type="button" id="3121">
                    <include>SettingsLabel</include>
                    <label>$LOCALIZE[13013]</label>
                    <onclick>XBMC.Reset()</onclick>
                    <visible>System.CanReboot</visible>
                </control>

Then the file "Includes_HomeDefault.xml"

From
Code:
                <item id="1">
                    <label>$LOCALIZE[13012]</label>
                    <onclick>Quit()</onclick>
                    <visible>!Skin.HasSetting(HideQuit)</visible>
                </item>
                <item id="2">
                    <label>$LOCALIZE[13005]</label>
                    <onclick>Shutdown()</onclick>
                    <visible>!Skin.HasSetting(HideShutdown)</visible>
                </item>
                <item id="3">
                    <label>$LOCALIZE[13013]</label>
                    <onclick>Reset()</onclick>
                    <visible>System.CanReboot</visible>
                    <visible>!Skin.HasSetting(HideReboot)</visible>
                </item>

To
Code:
                <item id="1">
                    <label>$LOCALIZE[13012]</label>
                    <onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\CloseXBMC.py)</onclick>
                    <onclick>XBMC.Quit()</onclick>
                    <visible>!Skin.HasSetting(HideQuit)</visible>
                </item>
                <item id="2">
                    <label>$LOCALIZE[13005]</label>
                    <onclick>XBMC.RunScript(C:\Program Files (x86)\XBMC\ShutdownAction.py)</onclick>
                    <onclick>XBMC.Quit()</onclick>
                    <visible>!Skin.HasSetting(HideShutdown)</visible>
                </item>
                <item id="3">
                    <label>$LOCALIZE[13013]</label>
                    <onclick>XBMC.Reset()</onclick>
                    <visible>System.CanReboot</visible>
                    <visible>!Skin.HasSetting(HideReboot)</visible>
                </item>

Remember to change the "C:\Program Files (x86)\XBMC\" part if you got xbmc somewhere else Smile

Hope this helps someone out Wink

-Hapseleg
Reply


Messages In This Thread
RE: XBMC Launcher - All in One Tool for Change Shell, Autostart XBMC, Set Focus and more - by Hapseleg - 2012-11-01, 19:08
green start button remapping - by Cassiel - 2013-02-12, 21:44
RE: XBMC Launcher - by Govnah - 2013-02-16, 06:32
RE: XBMCLauncher - by MBulli - 2013-02-17, 12:20
Launcher4Kodi - by baijuxavior - 2015-02-17, 15:27
lack of focus - by runey71 - 2015-02-18, 07:53
black screen problem - by -CraZed- - 2015-03-18, 06:36
RE: XBMCLauncher / Launcher4Kodi - by TB4875 - 2015-03-25, 11:49
RE: XBMCLauncher / Launcher4Kodi - by kmarq - 2015-05-19, 14:41
Error - by liamp - 2015-05-31, 23:03
RE: XBMCLauncher / Launcher4Kodi - by gitman - 2015-06-07, 21:40
RE: XBMCLauncher / Launcher4Kodi - by RockerC - 2015-06-16, 16:28
RE: Using Tweak UAC - by berkhornet - 2015-07-13, 19:04
RE: - by alsergo - 2015-11-25, 00:11
W10 and netflix - by Cassiuss - 2016-01-10, 15:50
netflix - by Cassiuss - 2016-01-11, 09:11
netflix - by Cassiuss - 2016-01-11, 11:12
netflix - by Cassiuss - 2016-01-11, 13:04
netflix - by Cassiuss - 2016-01-11, 11:44
Reverse shell to explorer - by shayosef - 2016-01-17, 14:24
Launcher4Kodi improvement - by kalhimeo - 2016-01-27, 20:20
resume during recording kodi - by eddedrukker - 2016-04-03, 08:58
RE: XBMCLauncher / Launcher4Kodi - by leezy88 - 2017-02-06, 09:41
Might be of use to someone... - by Grumpy - 2017-09-19, 04:18
Logout Mark Read Team Forum Stats Members Help
XBMCLauncher / Launcher4Kodi - All in One Tool for Change Shell, Set Focus and more20