LinuxCommandLibrary

kde-inhibit

temporarily inhibits various KDE Plasma desktop functions while a specified

TLDR

Inhibit power management while command runs

$ kde-inhibit --power [command] [arguments]
copy
Inhibit screen saver
$ kde-inhibit --screenSaver [command] [arguments]
copy
Inhibit color correction (night mode)
$ kde-inhibit --colorCorrect [command]
copy

SYNOPSIS

kde-inhibit [options] command [arguments]

DESCRIPTION

kde-inhibit temporarily inhibits various KDE Plasma desktop functions while a specified command is running. This prevents the desktop from interfering with long-running tasks or media playback.
The inhibition automatically ends when the command exits. Multiple inhibition types can be combined by specifying multiple options.

PARAMETERS

--power

Inhibit power management (prevent sleep/suspend)
--screenSaver
Inhibit screen saver activation
--colorCorrect
Inhibit color correction (night light/night mode)

CAVEATS

Only works in KDE Plasma desktop environment. Requires the command to keep running; inhibition ends when it exits. Does not work with commands that immediately background themselves.

HISTORY

kde-inhibit is part of KDE's command-line tools, providing a way to control desktop behavior from scripts and applications without requiring direct DBus interaction.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community