[-] jpetso@lemmy.kde.social 1 points 1 day ago* (last edited 1 day ago)

Anything that runs as long as you want the block to be. Usually sleep is a good one, use sleep infinity if you want the blocker to never go away until the systemd-inhibit process is killed manually.

[-] jpetso@lemmy.kde.social 3 points 2 days ago

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.

29
submitted 2 weeks ago* (last edited 2 weeks ago) by jpetso@lemmy.kde.social to c/kde@lemmy.kde.social

About selected PowerDevil work in Plasma 6.2 and brightness controls in particular.

jpetso

joined 7 months ago