Plasma 6 - Turning off display after screen is locked

Hey there,

I used to have a command run 10 seconds after the screen is locked which turned all displays off. I can't find the option to run a command when the screen locks anymore.

In Plasma 5 I used this:

This is what it looks like in Plasma 6:

Is there another place to do this now?

10 points · 8 comments · view on lemmy.world

8 Comments

Zamundaaa@discuss.tchncs.de · 6 pts · 2y (2 replies)

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

domi@lemmy.secnd.me · 5 pts · 2y (1 reply)

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?

Zamundaaa@discuss.tchncs.de · 2 pts · 2y

I don't know tbh, I see neither any MR that removed it, nor the option you're talking about.

Potajito@feddit.ch · 5 pts · 2y

As a workaround, you can press esc after locking the screen and it will turn off.

max641@lemmy.world · 3 pts · 2y (1 reply)

Out of curiosity, which OS ?

domi@lemmy.secnd.me · 2 pts · 2y

Fedora 40. Runs pretty well, even pre-beta.

SteveTech@programming.dev · 2 pts · 2y

I've got some scripts that run on unlock and I'm also wondering:

Is there another place to do this now?

Pantherina@feddit.de · 0 pts · 2y

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.