What you want is now a built in option, you can set the screen saver timeout for when the screen is locked separately from the normal timeout
KDE
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.
Plasma 6 Bugs
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.
Ah, not sure how I overlooked that one.
However, it seems to be tied to the normal screen timeout which I can't use because KDE does not recognize all fullscreen applications correctly when playing games with a controller. I put 360 minutes as timeout for now, that should be sufficient.
Out of interest, is the "Run command" option still available somewhere or was it removed in Plasma 6?
I don't know tbh, I see neither any MR that removed it, nor the option you're talking about.
As a workaround, you can press esc after locking the screen and it will turn off.
Out of curiosity, which OS ?
Fedora 40. Runs pretty well, even pre-beta.
I've got some scripts that run on unlock and I'm also wondering:
Is there another place to do this now?
You could instead
- lock the screen after turning off display
- change the time when the display is turned off to whatever you like
Both where in the energy settings in plasma 5, I am pretty sure they are still there.