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

KDE

5253 readers
152 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
[–] [email protected] 6 points 8 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

[–] [email protected] 5 points 8 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?

[–] [email protected] 2 points 8 months ago

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

[–] [email protected] 5 points 8 months ago

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

[–] [email protected] 3 points 8 months ago (1 children)

Out of curiosity, which OS ?

[–] [email protected] 2 points 8 months ago

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

[–] [email protected] 2 points 8 months ago

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

Is there another place to do this now?

[–] [email protected] 0 points 8 months ago* (last edited 8 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.