diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2023-12-11 23:41:53 +0100 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2023-12-11 23:41:53 +0100 |
commit | b6f5ed0197978bfa148a5355860378554a99f3a2 (patch) | |
tree | da17c185ff823fcade75319690ad712c5f83b2ce | |
parent | fd090dde3027ccf709a3394755ef608d2cbef457 (diff) | |
download | bin-b6f5ed0197978bfa148a5355860378554a99f3a2.zip bin-b6f5ed0197978bfa148a5355860378554a99f3a2.tar.gz |
add disable-dpms
-rwxr-xr-x | disable-dpms | 9 |
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 |