When I run systemctl suspend in an X terminal, I get black flashes after the resume. When I execute sleep 0.5; systemctl suspend instead or when I suspend through the power button, there are no black flashes after resume.
So I guess that in the first case the key event used to call systemctl keeps lingering all through the sleep-resume cycle, just to wake up the login screen shortly after resume.
Setting XSECURELOCK_BLANK_TIMEOUT to, say, one does not seem to help. Instead, it makes the flashes more pronounced.
Have I overlooked some setting in xsecurelock here? Or is this a problem where xsecurelock cannot do anything?
Using xsecurelock 1.5.1 on Debian testing as follows:
with a home-grown dimmer.
When I run
systemctl suspend
in an X terminal, I get black flashes after the resume. When I executesleep 0.5; systemctl suspend
instead or when I suspend through the power button, there are no black flashes after resume.So I guess that in the first case the key event used to call
systemctl
keeps lingering all through the sleep-resume cycle, just to wake up the login screen shortly after resume.Setting
XSECURELOCK_BLANK_TIMEOUT
to, say, one does not seem to help. Instead, it makes the flashes more pronounced.Have I overlooked some setting in xsecurelock here? Or is this a problem where xsecurelock cannot do anything?