Power management inhibition tool
 
 
 
Go to file
Damien Goutte-Gattat 25ce49ce6d
Spawn a shell if no command is specified.
Instead of requiring the user to always specifying a command to launch,
default to spawning a shell (/bin/sh) if no command has been specified.
2022-11-14 22:22:18 +00:00
.gitignore Initial commit. 2022-11-13 19:52:41 +00:00
AUTHORS Initial commit. 2022-11-13 19:52:41 +00:00
COPYING Initial commit. 2022-11-13 19:52:41 +00:00
Makefile.am Support old PowerManagement.Inhibit interface as fallback. 2022-11-13 21:23:23 +00:00
README.md Initial commit. 2022-11-13 19:52:41 +00:00
configure.ac Initial commit. 2022-11-13 19:52:41 +00:00
inhibitor.cpp Support old PowerManagement.Inhibit interface as fallback. 2022-11-13 21:23:23 +00:00
inhibitor.h Support old PowerManagement.Inhibit interface as fallback. 2022-11-13 21:23:23 +00:00
pm-inhibit.cpp Spawn a shell if no command is specified. 2022-11-14 22:22:18 +00:00

README.md

pm-inhibit - Power Management inhibitor

Pm-inhibit is a tool to prevent a computer from going into any kind of “sleep mode” while a given program is running. It is intended as a replacement for systemd-inhibit, for systems where systemd itself is not available (e.g., Slackware distributions) but where the desktop environment provides systemd-compatible DBus services.

Usage

Call pm-inhibit with the name of the program you want to run unhindered by power management features:

$ pm-inhibit /usr/bin/qjackctl

This will request the inhibition of power management features and start the QjackCtl application. The inhibition will be released when QjackCtl terminates.

Copying

Pm-inhibit is distributed under the terms of the GNU General Public License, version 3 or higher. The full license is included in the COPYING file of the source distribution.