Feature Request - Disable power options, only allow exit.

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
burgerga Offline
Junior Member
Posts: 9
Joined: Jan 2013
Reputation: 0
Post: #1
Since I use XBMC as normal application on my computer (meaning: not standalone) I would like to disable the power options like shutdown, reboot, suspend. Using the Confluence skin, I can that for instance the shutdown button is only displayed if System.canPowerDown=yes.
I guess this is determined when XBMC starts. Is it possible to implement an override so that the user can decide System.canPowerDown=no?
find quote
mad-max Offline
Posting Freak
Posts: 1,479
Joined: Jul 2010
Reputation: 57
Location: Germany
Post: #2
Just edit ShutdownMenu in the xmls and delete the unwanted entries

[Image: obi3o55x.jpg]
[Image: 7c8w3bu8.png]

- - - Tribute to Metallica - - -

If I managed to help you, please click my reputation
find quote
burgerga Offline
Junior Member
Posts: 9
Joined: Jan 2013
Reputation: 0
Post: #3
(2013-01-08 14:25)mad-max Wrote:  Just edit ShutdownMenu in the xmls and delete the unwanted entries

I assume you are referring to DialogButtonMenu.xml in the skin folder, however this still allows XBMC to shutdown by for example the web interface. It is also a rather hacky way of doing it, since with every update (I am on Linux) the skin folder will be overwritten and you have to do the proces again. I am looking for something more user friendly and permanent. For example a switch you can use when you're starting xbmc, like `xbmc -nopm` which should disable all power management options
(This post was last modified: 2013-01-08 14:40 by burgerga.)
find quote