holy crap, that's working with nespicase+ on libreelec ! thanks for the tip ! it's very unfortunate that this small script isn't offered directly in libreelec, you know a simple addon called "Nespicase+ soft shutdown buttons" ....