[Xfce-bugs] [Bug 11491] xflock4 does not turn off screen due to lack of sleep
sidnioulz at gmail.com
Thu Feb 12 13:49:36 CET 2015
I did mean that my screen was turned off in a reliable fashion.
On 12 February 2015 at 10:47, <bugzilla-daemon at xfce.org> wrote:
> --- Comment #9 from Chris Bainbridge <chris.bainbridge at gmail.com> ---
> > With the patch: 1 second delay, then a black screen
> > Without the patch: black screen immediately
> slock will always show a black screen but is the monitor actually turned
> with DPMS - my monitor shows "Entering power save mode" when this happens
> turns off the back light.
> Try this: in a terminal type "xset dpms force off" and press and hold the
> key for one second before releasing it. The key press event will cause the
> execution of the xset command, but then the release event will wake the
> back up. The same happens with the ctrl-alt-delete shortcut.
> > Of course if you can link to others complaining about the issue
> The explanation:
> "You're using it manually from command line or xset is binded to some
> shortcut? On my brother laptop this command was binded to some keys and
> that monitor was turned off and on again, because when he was releasing key
> next event was emitted. Turning it off after quick sleep solved problem:
> -e 'select(undef,undef,undef,.1)' && xset dpms force off - this perl
> do sleep for 0.1 sec."
> The timeout has to be longer than the delay between a person pressing the
> key and then releasing it.
> You are receiving this mail because:
> You are the assignee for the bug.
> Xfce-bugs mailing list
> Xfce-bugs at xfce.org
University College London
Free Software Developer
OpenPGP : 1B6B1670
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xfce4-dev