this post was submitted on 27 Feb 2024
11 points (86.7% liked)

KDE

5412 readers
120 users here now

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.

founded 1 year ago
MODERATORS
 

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?

top 8 comments
sorted by: hot top controversial new old
[–] Zamundaaa@discuss.tchncs.de 6 points 9 months ago (1 children)

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 points 9 months ago (1 children)

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 points 9 months ago

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

[–] Potajito@feddit.ch 5 points 9 months ago

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

[–] max641@lemmy.world 3 points 9 months ago (1 children)

Out of curiosity, which OS ?

[–] domi@lemmy.secnd.me 2 points 9 months ago

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

[–] SteveTech@programming.dev 2 points 9 months ago

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 points 9 months ago* (last edited 9 months ago)

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.