tech:desactiver_l_arret_du_systeme_en_appuyant_sur_le_bouton_marche_arret

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

FIXME

tech/desactiver_l_arret_du_systeme_en_appuyant_sur_le_bouton_marche_arret.txt · Dernière modification : de Jean-Baptiste

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki