Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
autostart/ | H | 03-May-2022 | - | 67 | 37 | |
config/ | H | 03-May-2022 | - | 12,591 | 11,897 | |
src/ | H | 03-May-2022 | - | 14,638 | 13,685 | |
.translation-update | H A D | 05-Nov-2021 | 45 | 4 | 2 | |
AUTHORS | H A D | 05-Nov-2021 | 194 | 9 | 6 | |
CHANGELOG | H A D | 05-Nov-2021 | 13 KiB | 326 | 301 | |
LICENSE | H A D | 05-Nov-2021 | 23.9 KiB | 459 | 386 | |
README.md | H A D | 05-Nov-2021 | 2.4 KiB | 40 | 22 |
README.md
1# lxqt-powermanagement 2 3## Overview 4 5This repository is providing tools to monitor power management events and optionally trigger actions like e. g. shut down a system when laptop batteries are low on power. 6 7The core components are two binaries `lxqt-powermanagement` and `lxqt-config-powermanagement`. 8`lxqt-powermanagement` is running in a daemon-like manner as so-called "LXQt Module" and doing the actual work. GUI "Power Management Settings (binary `lxqt-config-powermanagement`) is used to customize settings. 9 10Warning messages are displayed on the desktop by [lxqt-notificationd](https://github.com/lxqt/lxqt-notificationd). 11 12## Installation 13 14### Compiling source code 15 16Runtime dependencies are UPower, KIdleTime, qtsvg and [liblxqt](https://github.com/lxqt/liblxqt). 17Additional build dependencies are CMake and Solid, optionally Git to pull latest VCS checkouts. 18 19Code configuration is handled by CMake. CMake variable `CMAKE_INSTALL_PREFIX` has to be set to `/usr` on most operating systems. 20 21To build run `make`, to install `make install` which accepts variable `DESTDIR` as usual. 22 23### Binary packages 24 25Official binary packages are provided by all major Linux distributions like Arch Linux, Debian (as of Debian stretch only), Fedora and openSUSE. Just use your package manager to search for string `lxqt-powermanagement`. 26 27## Configuration, Usage 28 29Daemon-like `lxqt-powermanagement` can be adjusted from section "Basic Settings" in configuration dialogue "LXQt Session Settings" (binary `lxqt-config-session`) of [lxqt-session](https://github.com/lxqt/lxqt-session). 30 31To customize settings there's configuration dialogue "Power Management Settings" (binary `lxqt-config-powermanagement`). It can be opened from the panel's main menu - Preferences - LXQt Settings - Power Management and is provided by the "Configuration Center" (binary `lxqt-config`) of [lxqt-config](https://github.com/lxqt/lxqt-config) as well. 32 33## Translations 34 35Translations can be done in [LXQt-Weblate/powermanagement](https://translate.lxqt-project.org/projects/lxqt-configuration/lxqt-powermanagment-battery-info/) and [LXQt-Weblate/config-powermanagement](https://translate.lxqt-project.org/projects/lxqt-configuration/lxqt-powermanagment/) 36 37<a href="https://translate.lxqt-project.org/projects/lxqt-configuration/lxqt-powermanagment/"> 38<img src="https://translate.lxqt-project.org/widgets/lxqt-configuration/-/lxqt-powermanagment/multi-auto.svg" alt="Translation status" /> 39</a> 40