Plasma Login Manager - Screen blanking

There was a previous inquiry about this topic that suggested the problem might be solved once Manjaro Stable was using KDE Plasma 6.5.

To be clear, what I would like is for the login screen to blank after 10 minutes of inactivity, the way the screen blanks after 10 minutes of inactivity while I’m logged in (i.e. goes into power saving mode).

My OS configuration is:
OS: Manjaro Linux x86_64 Stable
Kernel: Linux 7.2.3-2-MANJARO
Desktop Environment: KDE Plasma 6.7.4
Window Manager: KWin (Wayland)

I have tried going into System Settings > Login Screen > Apply Plasma Settings but this doesn’t seem to sync the Power Management settings.

Does anyone know if there is a way to get the login screen to blank after inactivity when using Plasma Login Manager instead of SDDM?


Mod edit:- Title edited for brevity.

I have noticed no issues. My Plasma Login Screen blanks to the background image.

Look at /etc/systemd/logind.conf. Maybe “IdleAction” will be what you need. I have not tested it, it is just a suggestion to read the documentation, but generally systemd settings take precedence to the desktop environment ones. Of course that might conflict with plasma - do your research.

By that do you mean that the login box and the user avatar(s) disappear on the login screen, leaving only the background image wallpaper? If so, mine does that, too, but what the monitor doesn’t do is turn black because it’s gone into power-saving mode. I’m describing my desktop computer, but I observe the same behavior on my laptop, too.

Yes.

As for the screen blanking to black I’m not sure. When I actually use the login screen I never leave it untouched long enough for the blanking to black to occur.

I’ll test that out next time I have to go play with the Dog.

I managed to do a test. My screen does not blank to black either.

This may be intended behaviour, as, at least in my experience, one does not sit on the login screen, but instead on the Lock screen, after logging in.

I did a bit of research and I believe there is currently no way to get the screen to blank after 10 minutes of inactivity at the login screen when using KDE Plasma Login Manager. I did not want the entire machine to suspend, but I also read there is an open bug ticket about that not working, either.

Google AI said:

“The reason your configuration is failing is due to a known upstream limitation in the current architecture of the Plasma Login Manager on Wayland.”

after I tried and failed to get it to work by creating a /var/lib/plasmalogin/.config/powermanagementrc file.

“The powermanagementrc file relies on KDE’s power management daemon, PowerDevil, to read these values and orchestrate idle times. In the current implementation of the Plasma Login Manager greeter, PowerDevil is not loaded or executed in that minimal environment. Because KWin Wayland is running without PowerDevil, it has no daemon telling it to trigger DPMS (Display Power Management Signaling) screen-off states based on a timer, causing the greeter screen to stay on indefinitely.”

Apparently the only way to get the behavior I’m after is to revert to SDDM as the login manager at the present time.

Mod edit: Changed code to quote blocks, as it’s descriptive text rather than formatted code. :wink:

My computers all have multiple standard user accounts installed (different family members have their own accounts). It’s not unusual for one family member to log out when they’re done, but leave the computer running for when the next member is ready to log in. If that next family member up to bat takes longer than 10 minutes, invoking the monitor’s power-saving mode saves electricity and may prevent burn-in. At least I’m old enough that it used to be an issue :wink:

Try configuring systemd directly as suggested, although it can become messy with settings in 2 different places. So you will have to disable the blanking in kde.
That would be an alternative, although not so convenient. If ssdm is still supported (i am no plasma user) then probably this is the easiest.

Thanks, but when I researched the systemd settings of logind.conf, I read that the “suspend” choice for “IdleAction” – which was the closest-sounding option to the behavior I was seeking – would put the entire machine (not just the display) into sleep mode. That’s why I didn’t pursue that any further. I wanted the computer to keep running but the display to go to sleep. That’s the way it behaves with SDDM and why I reverted to that.

Are you certain that screen timeout via the Lock Screen isn’t what you really need?

  • Settings → Screen locking
  • Meta+L

Are you using Wayland or X11?

A fix for this issue should soon be available:

The fix was merged into the Master branch of plasma-login-manager a week ago:

I am using Wayland.

As I tried to make clear early on (or I meant to, at least), the screen blanking works fine while a user is logged in. Those preferences specified in the user’s KDE settings work fine with Wayland (as they always did with X11, too).

It’s the behavior at the login screen, while no user is logged in, that I was seeking to get to work the way it used to. That’s why I tried syncing a user’s settings with the Apply Plasma Settings... button (though unsuccessfully).

I’ve regained the behavior I was trying to get back after reverting to SDDM as the login manager (instead of Plasma Login Manager). And SDDM blanks the screen after 10 minutes of no activity while still using Wayland, just as it did when I used to use X11.

Thank you for that information, friend!

I really do prefer Plasma Login Manager to SDDM but for this one issue.

MOD Edit: Consecutive posts merged