mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-31 16:42:03 +00:00
22 lines
555 B
Plaintext
22 lines
555 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|