20
What's the command to keep screen awake (prevent lockscreen)?
(discuss.tchncs.de)
KDE is an international technology team creating user-friendly free and open source software for desktop and portable computing. KDE’s software runs on GNU/Linux, BSD and other operating systems, including Windows.
If you encounter a bug, proceed to https://bugs.kde.org, check whether it has been reported.
If it hasn't, report it yourself.
PLEASE THINK CAREFULLY BEFORE POSTING HERE.
Developers do not look for reports on social media, so they will not see it and all it does is clutter up the feed.
What should I put in the
<command>
part?Anything that runs as long as you want the block to be. Usually
sleep
is a good one, usesleep infinity
if you want the blocker to never go away until thesystemd-inhibit
process is killed manually.Aaaah, that's probably what Plasma is doing.
Would yes command work ?
Presumably, but it prints "y" to the program output as fast as your CPU allows it, so that's probably not a very efficient way to do it.