Screen blank without fade animation or lock screen

Is there any way to perform “Screen blank” only with the following in mind

  • without fade animation
  • without locking the screen

Currently , I am using gnome details of the following API
gnome-settings-daemon for controlling the screen blank using “idle-delay”
gnome-desktop-screensaver for controlling the lock using “lock-enabled”

When setting “idle-delay”. as I understand, it utilizes screenshield, which inherently has fading as a mechanism when turning the screen to blank.

To enable the lock screen, I set the “lock-enabled” to false so that the screenshield mechanism won’t bring up the lock screen.

Is there any suggestion or alternatives that can be implemented to just do screen blank directly without going through the intricacies of above API (which are using screenshield)?

I’m looking for similar workaround. GNOME is tightly integrated with GDM, which is not how other DEs like KDE are.

Surprise: # A Roadmap for a modern Plasma Login Manager – David Edmundson's Web Log

3 Likes

Hello Emmanuele,
I would just like to ask if there is an alternative to use lightbox from gnome-shell (which is used for screen blanking) without doing screenshield?

Would doing gnome-shell extension with lightbox capability (just for turning the screen blank on/off) be an effective workaround at the moment?

Lightbox isn’t tied to screenshield/gdm in any way, so a “blank-only” extension could use that just fine.

The tie-in with gdm is limited to the screenshield, because

  1. blanking usually involves locking the screen eventually
  2. unlocking is delegated to GDM, because “do PAM negotiation” is the one thing GDM does really well (and gnome-shell should not duplicate it)

This topic was automatically closed 45 days after the last reply. New replies are no longer allowed.