HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kde-inhibit — Inhibit various desktop functions while a command runs. More information: <https://invent.kde.org/pl

Submitted by: @import:tldr-pages··
0
Viewed 0 times
whilecommandinhibitvariouskde-inhibitclidesktopfunctions
linux

Problem

How to use the kde-inhibit command: Inhibit various desktop functions while a command runs. More information: <https://invent.kde.org/plasma/kde-cli-tools/-/blob/master/kdeinhibit/main.cpp>.

Solution

kde-inhibit — Inhibit various desktop functions while a command runs. More information: <https://invent.kde.org/plasma/kde-cli-tools/-/blob/master/kdeinhibit/main.cpp>.

Inhibit power management:
kde-inhibit --power {{command}} {{command_arguments}}


Inhibit screen saver:
kde-inhibit --screenSaver {{command}} {{command_arguments}}


Launch VLC, and inhibit color correction (night mode) while it's running:
kde-inhibit --colorCorrect {{vlc}}

Code Snippets

Inhibit power management

kde-inhibit --power {{command}} {{command_arguments}}

Inhibit screen saver

kde-inhibit --screenSaver {{command}} {{command_arguments}}

Launch VLC, and inhibit color correction (night mode) while it's running

kde-inhibit --colorCorrect {{vlc}}

Context

tldr-pages: linux/kde-inhibit

Revisions (0)

No revisions yet.