I know how to do it in the battery section through the GUI, but I’d like to set it up through a command, for automation purposes, and particularly for KDE Connect commands.
I know how to do it in the battery section through the GUI, but I’d like to set it up through a command, for automation purposes, and particularly for KDE Connect commands.
Not KDE but might be similar: For the MATE desktop it is
mate-screensaver-command --inhibit
. I would expect something similar for KDE.