From 7b2fb7a022a3273177eefcd68f67c4a7bc3edbbb Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 8 Mar 2018 22:02:50 -0300 Subject: Sleep before turning screen off at xlock --- xlock | 1 + 1 file changed, 1 insertion(+) (limited to '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 -- cgit v1.2.3