11/2/2022 0 Comments Thinkpad power managerxss-lock also reacts to DPMS events and runs or kills the locker in response. Xss-lock subscribes to the systemd-events suspend, hibernate, lock-session, and unlock-session with appropriate actions (run locker and wait for user to unlock or kill locker). If the inhibited commands are not being issued, such as when using acpid or others to handle ACPI events, set the Handle options to ignore. As of December 2016, the power managers of KDE, GNOME, Xfce and MATE issue the necessary inhibited commands. Note that if the power manager does not inhibit systemd for the appropriate events you can end up with a situation where systemd suspends your system and then when the system is woken up the other power manager suspends it again. Changes to /etc/systemd/nf or /etc/systemd//*.conf need be made only if you wish to configure behaviour for a particular event that is not inhibited by the power manager. If such a power manager is running, then the actions for ACPI events can be configured in the power manager alone. Some desktop environments include power managers which inhibit (temporarily turn off) some or all of the systemd ACPI settings. Note: systemd cannot handle AC and Battery ACPI events, so if you use Laptop Mode Tools or other similar tools acpid is still required. To apply any changes, signal systemd-logind with HUP: Triggered when the lid is closed if the system is connected to external power. Triggered when the lid is closed if the system is inserted in a docking station, or more than one display is connected. Triggered when the lid is closed, except in the cases below. Triggered when the hibernate key/button is pressed. Triggered when the suspend key/button is pressed. Triggered when the power key/button is pressed. If an event is not configured, systemd will use a default action. In case of hibernation and suspension, they must be properly set up. The specified action for each event can be one of ignore, poweroff, reboot, halt, suspend, hibernate, hybrid-sleep, suspend-then-hibernate, lock or kexec. On systems with no dedicated power manager, this may replace the acpid daemon which is usually used to react to these ACPI events. Systemd handles some power-related ACPI events, whose actions can be configured in /etc/systemd/nf or /etc/systemd//*.conf - see nf(5). || vattery AUR Power management with systemd ACPI events
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |