Hi, I'm wondering how to change the function of the on/off button on my data chassis that I'm running Libreelec v 12 PC Genetic Legacy on? Want to be able to reboot by holding the button down as my wife can't SSH in if I'm not at home. Best regards Thore
Reboot with power button.
-
2469 -
August 21, 2024 at 6:23 PM -
Thread is Unresolved
-
-
Kodi knows long-press, so it seems possible.
-
Kodi knows long-press, so it seems possible.
Ahaaa... Thanks, i could not find any threads about it, just RPi power buttons. Thanks
-
Kodi knows long-press, so it seems possible.
Hello again Da Flex, I have now checked the link you shared. And from what I understand, the keyboard.xml keymap only applies from the keyboard. Or have I misunderstood it or does it apply to the power switch with the computer? Kind regards, Thore
-
With Generic-legacy see this post.
-
With Generic-legacy see this post.
Ahaa... I will try to understand what needs to be done. But as I see it now, it takes more likes than I can, I think right now. THANKS SO MUCH for the help so far.
With Generic-legacy see this post.
Hello again, is it possible to change it so longpress make reboot you think? Like
[Login]
HandleSuspendKey=reboot
HandleHibernateKey=ignore -
No, just short press is supported.
Long press force a hard power off after 5 sec (BIOS/firmware feature)
-
No, just short press is supported.
Long press force a hard power off after 5 sec (BIOS/firmware feature)
Ok. But how should a code look like with a reboot function at short press?
-
-
Ok. So i need to create a README folder inside the logind.conf.d folder, and then add a new file? Should the filename be the same or should the .xml be named different? Thanks again for the fast answers...
-
README is the man page for your information. Create the .conf in logind.conf.d
-
README is the man page for your information. Create the .conf in logind.conf.d
Thanks, but what should I name it?
-
Thanks, but what should I name it?
See link at post #5.