LE 9 - Shutdown with power button - Intel Nuc

  • Hello, I updated to LibreElec 9 last week.

    I have it running on my Intel NUC and most of the time i shut it down by pressing the power button.

    With LibreElec 8 this works as expected, the mashine shuts down.


    With LE9 when i press the power button, kodi just opens the menu where you can select shutdown/restart.

    Is it possible to configurate this so the system shuts down when i press the button without prompting?


    The only thing i found is overriding the gui button with the shutdown command but when i press the button in the menu, i want the prompt.

    Also this seems a bit hackish...

  • Try this at /storage/.kodi/userdata/keymaps/keyboard.xml:

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

    Flexin' vinyl, jammin' break beats. 8)