kde-inhibit

Inhibit various desktop functions while a command runs.

TLDR

Inhibit power management

$ kde-inhibit --power [command] [command_arguments]
copy

Inhibit screen saver

$ kde-inhibit --screenSaver [command] [command_arguments]
copy

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

$ kde-inhibit --colorCorrect [vlc]
copy

Copied to clipboard
gala