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.
- 1 Post
- 6 Comments
Joined 2 years ago
Cake day: February 5th, 2024
You are not logged in. If you use a Fediverse account that is able to follow users, you can follow this user.
jpetsoto
KDE•KDE Neon has been rebased on Ubuntu 24.04 LTS! Find out more about the changes and upgrades:
6·1 year agoUbuntu itself is based on Debian, so in a way you were still right :)
Found this on Reddit, hopefully it helps: https://www.reddit.com/r/kde/comments/1g0lpb9/comment/lrd4t1k/
Anything that runs as long as you want the block to be. Usually
sleepis a good one, usesleep infinityif you want the blocker to never go away until thesystemd-inhibitprocess is killed manually.
There is
kde-inhibit --screenSaver <command>provided by KDE.But these days, I would just recommend everyone to use
systemd-inhibit --what=idle --why=<because> --who=<myself> <command>instead. Works across desktops and does the same thing.
Also, preceding the Goals session, Kevin Ottens is conducting a KDE stack training session! Starts in just over an hour: https://floss.social/@kde/113276942214195123