Can I disable MP Close? (1 Viewer)

cul8er

Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    Is it possible to disable/hide the close MP button or remap it to not close MP but hybernate the PC?

    I have a HTPC and is only using it for MP. MP automatically starts when the PC starts and I want it to hybernate or close the PC when someone exits MP.

    The reason for this is that I want to hide the fact that the HTPC is a PC.... If someone by misstake exists MP that should close the PC or hybernate it. I want to hide the fact that it is a PC and make it "look" more like a digital box..

    Any ideas/suggestions?
     

    DalaNorth

    Retired Team Member
  • Premium Supporter
  • December 18, 2006
    142
    1
    47
    Skellefteå, Sweden
    Home Country
    Sweden Sweden
    You could just comment out the code for the exit button in MyHome.xml and topbar.xml for your skin. Of course, that wont help the fact that ctrl-alt-del or Alt-F4 will reveal that there really is a computer under there... But that may not be a problem if you have a remote that doesn't have these buttons...

    So, just add <!-- and --> tags around the code for the exit buttons, like the example below for topbar.xml:

    Code:
        <!--
        <control>
          <description>Exit button</description>
          <type>button</type>
          <id>31</id>
          <posX>1250</posX>
          <posY>4</posY>
          <width>60</width>
          <height>53</height>
          <textureFocus>exit_enabled.png</textureFocus>
          <textureNoFocus>exit_disabled.png</textureNoFocus>
          <action>97</action>
          <label>-</label>
          <action>97</action>
          <onleft>30</onleft>
          <onright>21</onright>
          <onup>31</onup>
          <ondown>2</ondown>
        </control>
        -->

    To make it look better you might want to consider moving the other buttons further to the right, or it might be obvious that there is something missing in that empty space...
     

    cul8er

    Retired Team Member
  • Premium Supporter
  • August 31, 2006
    2,159
    2,679
    Home Country
    Sweden Sweden
    • Thread starter
    • Moderator
    • #3
    Thank you for your excellent help!
     

    sbp

    Portal Pro
    August 10, 2006
    192
    1
    Auning
    Home Country
    Denmark Denmark
    Hi thanks for the suggestion.

    But to the second question: "Remap it so it doesn't close MP but hibernate the computer instead, is that also possible" ?

    I want to use my power on/of button on my Hauppauge remote to hibernate the computer. As it is now pressing this button only closes MP.

    How can I achive this?

    Thanks
    Steen
     

    Users who are viewing this thread

    Top Bottom