I’m using Arctic Horizon 2, which like many skins allows you to customize the power menu.
I would like to change the Quit/Shutdown action to make it send a power-off command to the AVR/TV while keeping OSMC in a ready/standby state.
Can this be done and how?
P.S. I’m using the OSMC remote which doesn’t have a power button as OSMC never needs to power off by design.
If you hold down the home button while you are in the home screen it should send a CEC shutdown if your setting are configured to do so. The settings are found in Kodi’s settings>system>input>peripherals>CEC adapter dialog. I think it is the devices to power off at shutdown option that sets the function for both the keymapping function as well as when you reboot or power off. Do note that if you have your display set to power sync your audio device, or vice versa, then you probably only want to set Kodi to to power toggle just one of the two otherwise it can lead to a behavior such that Kodi turns them both off but one of them also responds to the power event and turns the device back on as they sometimes power sync with a toggle power state instead of an explicit power on/off command.
When you want to turn your devices back on you should be able to press the home button a few times on your remote and that should trigger your devices to turn back on again.
Kodi can also be configured to standby connected devices when it is suspended. This would still keep OSMC in a ‘ready’ state in the sense that a button would bring back OSMC – if that would be sufficient. This was actually the default for a while after Kodi v20, but I changed the default behaviour as there were some complaints…
Thank you both. The functionality of pressing the home button while on the home screen works great!
It’s powering off AVR + TV and pressing home a few times does wake up all devices.
If you’re inclined to have the home button act in a dedicated fashion, instead of only triggering from the home screen, this is also an option as well. If you check out the following guide it gives you the information needed to customize the remotes behavior and at the end of the post you will find an example file that dedicates the home button to CEC power control that you can copy/paste into your box. This should allow you to hold down the home button from any screen to power off, and press the button once or twice to power back on picking up on the screen you left off on. The second press to power on (sometimes) is because if the device is in screensaver or sleep the first press pulls the box out of that mode only so the keymap only affects button presses after that.