From: Silvio Rhatto Date: Fri, 9 Mar 2018 01:02:50 +0000 (-0300) Subject: Sleep before turning screen off at xlock X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=7b2fb7a022a3273177eefcd68f67c4a7bc3edbbb;p=utils-x11.git Sleep before turning screen off at xlock --- diff --git a/xlock b/xlock index 4adaeeb..6dacdfc 100755 --- a/xlock +++ b/xlock @@ -6,4 +6,5 @@ # See https://www.kirsle.net/turn-off-monitor-from-linux-cli # https://askubuntu.com/questions/62858/turn-off-monitor-using-command-line#62861 xscreensaver-command --lock +sleep 1 xset dpms force off