From 02195d4da406adb7d9b683afe690d4376dc9fac5 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 8 Mar 2018 22:00:42 -0300 Subject: Turn screen off at xlock --- xlock | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xlock b/xlock index 29ce9b9..4adaeeb 100755 --- a/xlock +++ b/xlock @@ -3,4 +3,7 @@ # Lock the screen using xscreensaver # +# 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 +xset dpms force off -- cgit v1.2.3