kde-inhibit
Inhibit various desktop functions while a command runs.
- Inhibit power management:
kde-inhibit --power {{command}} {{command_arguments}}
- Inhibit screen saver:
kde-inhibit --screenSaver {{command}} {{command_arguments}}
- Launch vlc, and inhibit colour correction (night mode) while it's running:
kde-inhibit --colorCorrect {{vlc}}