lexyeevee
@lexyeevee

i get why there's a WM feature that lets programs inhibit suspending the display, but surely that should be ignored if i explicitly lock the desktop

this post brought to you by i have no idea what is inhibiting suspend. also maybe there should be a way to find out what's inhibiting suspend


holeshapedgod
@holeshapedgod

Yeah, for some reason the spec doesn't have a method for querying the sceensaver inhibition status, only for requesting it.

However, implementations may provide a way to do that e.g. KDE displays that in the 'Battery and Brightness' in the system tray:


You must log in to comment.

in reply to @lexyeevee's post:

Somehow my monitor itself inhibits suspend: lock the screen, computer stays on forever. Lock the screen and hit the monitor's power button, computer is asleep in 5 minutes. It's been this way for years including across a clean OS reinstall and I still don't get it.

At one point as a teenager, I attended a special-needs school that was a full hour away by bus. I brought my laptop to entertain myself on the bus and between classes. When a class was about to start, I would try to shut it down... but sometimes the teacher would sneak up on me and push the lid closed.

This wouldn't be a problem, except that it PAUSED THE SHUTDOWN SEQUENCE and waste all my battery.

I've had this happen before where I've left my desktop alone and glanced over at it an hour later where the screen is still active all "why aren't you sleeping??"

I think it was my HDMI capture card (or rather the program for it) even though the PS4 or what-have-you was probably asleep itself. Or it could've been Firefox and Youtube, not sure.

in reply to @holeshapedgod's post:

omg thank you, i didn't even know that was a panel since this is a desktop and has neither battery nor brightness lol

the culprit is "My SDL application" which apparently means milkytracker, god

yeah i'm aware of the env var, i just didn't even know milky used sdl until right now. (and when i first ran into this happening i didn't even know "inhibit screensaver" was a feature so it drove me Up The Wall)

i've gone one step further and filed a bug on milkytracker. and on kde