Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External sources can un-DPMS the monitor #165

Open
haarp opened this issue Jan 1, 2023 · 1 comment
Open

External sources can un-DPMS the monitor #165

haarp opened this issue Jan 1, 2023 · 1 comment

Comments

@haarp
Copy link

haarp commented Jan 1, 2023

Hello,

there are ways to un-DPMS a monitor while not interrupting the screen locker, e.g. power managers that react to "inhibit screensaver" events. xsecurelock with XSECURELOCK_BLANK_DPMS_STATE in use does not handle this situation well. The display(s) will activate and stay active (albeit blanked) indefinitely, unless acted upon by the user.

This consumes power unnecessarily. It would be cool if xsecurelock could put the display back to sleep when this happens. I don't know if detection of the current DPMS state of all monitors is possible. Maybe just repeating the DPMS command repeatedly while the monitors should be sleeping would do the job.

Thanks!

@haarp haarp changed the title External sources can unblank the monitor External sources can un-DPMS the monitor Jan 1, 2023
@divVerent
Copy link
Contributor

The usually intended way to do this would be to configure DPMS with xset in addition to xsecurelock's own blanking.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants