View Full Version : XBMC shutdown options
fultotop
2009-03-03, 22:12
Is there anyway to change the shutdown options that are availible without modifing the skin?
As my XBMC is set to autostart, PM3HD displays Exit XBMC & suspend don't work for me. The Exit XBMC option in effect just restarts XBMC with autologin enabled. The suspend option might just be something I've uninstalled.
Also this might be a great option from disabling users for shutting xbmc down, where people need to keep the machine running for uPnP server for example.
In settings -> System you can choose the default exit behaviour. Which can be set to Shutdown.
You can also run with
xbmc --standalone
Then XBMC will default to shutdown instead of quit.
Cheers,
Tobias
fultotop
2009-03-03, 23:16
Thanks but I would like to remove the option from the menu is that possible?
I checked $home/.xsession and the --standalone option is already set. As you have said only sets the option that the menu defaults too, but doesn't prevent it from being shown.
Oh, you want to not having suspend and exit in the skin.
Well no, this is only changable via skin. XBMC Skins are very free and XBMC core is almost incapable of changing them, this is why the skins can look so different, but in this case we canīt do it.
I think we could make a bool, "is standalone" or "is embedded" that could be used in these cases, however it would be up to the skinner to support them.
Also we could have "can suspend" and "can hibernate" booleans for the skinners aswell, but usually systems _can_ suspend but isnīt _able_ to some driver making it stuck somewhere.
Cheers,
Tobias.
fultotop
2009-03-03, 23:57
Thanks for the info, I thought that might be the case. It may be useful in the profiles to be able to disable the shutdown menu on specific accounts in the future. Maybe one for the feature suggestions forum.
Sure, sounds good. the profile could be limited by the "can foo" thing.