[x86-64] No shutdown when pressing power button

  • Hi there!

    I'm running LibreElec 12.2.1 on an Intel n100.

    I'm pretty sure that back on 12.0 I could simply press the power button on the computer and have LibreElec shutdown and power off. Not any more: Now pressing the button pops up LibreElec's shutdown dialog.

    Any idea how to get the old behaviour back?

    Thanks!

  • To shutdown instantly, create this /storage/.kodi/userdata/keymaps/keyboard.xml:

    Code
    <keymap>
        <global>
            <keyboard>
                <power>shutdown</power>
            </keyboard>
        </global>
    </keymap>