Guide - remote button to turn HDMI on/off but keep system running

  • Hello, I am not shore if this is right place where to post, but here it goes.

    I had a problem that I wanted my MCE remote Power button on Libreelec RPI3 Kodi 18, to turn off screen (HDMI) but keep running for samba, transmission etc.:idea:

    If kids accidentally pressed MCE power button system was powered off.

    So what I did:

    1. Install Power Display screen saver - http://github.com/asavah/script.pidisplaypower

    2. Select Power Display as active screen saver

    3. Install Key Map Editor addon http://kodi.wiki/view/Add-on:Keymap_Editor

    4. Edit some key and save (so gen.xml file is created)

    5. Modify gen.xml (you can access it via Libreelec Samba) by deleting all that was saved in userdata/keymaps/gen.xml and copying this in gen.xml:

    6. Save changes

    7. Reboot and all works as it should


    A lot of credit goes to Power Display screen saver and friendly OSCM forum post - OSCM post by user baloan

    Hope it helps to other RPI Libreelec users!