[Xfce-bugs] [Bug 11491] xflock4 does not turn off screen due to lack of sleep

Steve Dodier-Lazaro 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:

> https://bugzilla.xfce.org/show_bug.cgi?id=11491
>
> --- 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
> off
> with DPMS - my monitor shows "Entering power save mode" when this happens
> and
> turns off the back light.
>
> Try this: in a terminal type "xset dpms force off" and press and hold the
> enter
> 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
> monitor
> back up. The same happens with the ctrl-alt-delete shortcut.
>
>
> > Of course if you can link to others complaining about the issue
>
> http://www.shallowsky.com/linux/x-screen-blanking.html
> http://askubuntu.com/questions/38776/trigger-screensaver-off-monitor
> https://wiki.archlinux.org/index.php/Display_Power_Management_Signaling
> http://ubuntuforums.org/showthread.php?t=1317747&page=4
>
> http://unix.stackexchange.com/questions/4466/screen-turns-on-automatically-xset-dpms-force-off
>
>
> The explanation:
>
> "You're using it manually from command line or xset is binded to some
> keyboard
> shortcut? On my brother laptop this command was binded to some keys and
> after
> 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:
> perl
> -e 'select(undef,undef,undef,.1)' && xset dpms force off - this perl
> expression
> do sleep for 0.1 sec."
>
> The timeout has to be longer than the delay between a person pressing the
> enter
> 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
> https://mail.xfce.org/mailman/listinfo/xfce-bugs
>



-- 
Steve Dodier-Lazaro
PhD Student
University College London
Free Software Developer
OpenPGP : 1B6B1670
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.xfce.org/pipermail/xfce4-dev/attachments/20150212/c69b0e93/attachment.html>


More information about the Xfce4-dev mailing list