summaryrefslogtreecommitdiffstats
path: root/disable-dpms
diff options
context:
space:
mode:
Diffstat (limited to 'disable-dpms')
-rwxr-xr-xdisable-dpms9
1 files changed, 9 insertions, 0 deletions
diff --git a/disable-dpms b/disable-dpms
new file mode 100755
index 0000000..c02aae7
--- /dev/null
+++ b/disable-dpms
@@ -0,0 +1,9 @@
+#! /bin/bash
+
+export DISPLAY=${DISPLA:-0.0}
+
+xset -dpms # disable DPMS
+xset s off # disable the screen saver
+xset s noblank # disable screen blanking
+xset s noexpose # lesser sceensaver disabling
+xset s 0 0 # disable screensaver and blanking