tech:desactiver_l_arret_du_systeme_en_appuyant_sur_le_bouton_marche_arret
Table des matières
Désactiver l'arret du système en appuyant sur le bouton marche/arrêt
disable shutdown by press the power button - Prevent PC from shutting down on Power button
SystemD
/etc/systemd/logind.conf
[Login] #HandlePowerKey=poweroff #HandlePowerKey=idle HandlePowerKey=lock #PowerKeyIgnoreInhibited=no PowerKeyIgnoreInhibited=yes #HandleLidSwitch=suspend HandleLidSwitch=ignore
systemctl restart systemd-logind.service systemctl show systemd-logind.service
ACPI
/etc/acpi/powerbtn-acpi-support.sh
tech/desactiver_l_arret_du_systeme_en_appuyant_sur_le_bouton_marche_arret.txt · Dernière modification : de Jean-Baptiste
