aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxlock3
1 files changed, 3 insertions, 0 deletions
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