$ xss-lock - i3lock -n -i background_image.png & xss-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. 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 ACPI events vattery - Battery monitoring application written in Vala that will display the status of a laptop battery in a system tray.Xfce Power Manager - Power manager for Xfce.powerkit - Desktop independent power manager.poweralertd - Daemon for delivering UPower notifications.MATE Power Statistics - System power information and statistics for MATE.MATE Power Management - Power management tool for MATE.LXQt Power Management - Power management module for LXQt.KDE Power Devil - Power management module for Plasma.GNOME Power Statistics - System power information and statistics for GNOME.cbatticon - Lightweight and fast battery icon that sits in your system tray.batsignal - Lightweight battery monitor that uses libnotify to warn of low battery levels. TLP - Advanced power management for Linux.systemd - A system and service manager.powertop - A tool to diagnose issues with power consumption and power management to help set power saving settings.libsmbios - Library and tools for interacting with Dell SMBIOS tables.Laptop Mode Tools - Utility to configure laptop power saving settings, considered by many to be the de facto utility for power saving though may take a bit of configuration.acpid - A daemon for delivering ACPI power management events with netlink support.These are the more popular scripts and tools designed to help power saving: Have a look at the power management category to get an overview on what power management options exist in Arch Linux. Only run one of these tools to avoid possible conflicts as they all work more or less similarly. Using these tools can replace setting a lot of settings by hand. Many userspace tools also allow to modify kernel configuration in a "user-friendly" way. Configuration of userspace tools, which interact with the kernel and react to its events.Configuration of the Linux kernel, which interacts with the hardware.In Arch Linux, power management consists of two main parts: Power management is a feature that turns off the power or switches system components to a low-power state when inactive.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |