From 4cce12db9c3577bb870a6393a8c94f656f863752 Mon Sep 17 00:00:00 2001 From: bionel Date: Sun, 7 Aug 2016 13:56:40 +0300 Subject: add script to deactivate dpms --- skel/.config/autostart/disable-dpms.desktop | 8 ++++++++ skel/.config/autostart/scripts/disable-dpms.sh | 5 +++++ 2 files changed, 13 insertions(+) create mode 100644 skel/.config/autostart/disable-dpms.desktop create mode 100755 skel/.config/autostart/scripts/disable-dpms.sh (limited to 'skel') diff --git a/skel/.config/autostart/disable-dpms.desktop b/skel/.config/autostart/disable-dpms.desktop new file mode 100644 index 0000000..eb297d5 --- /dev/null +++ b/skel/.config/autostart/disable-dpms.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Version=1.0 +Name=Disable DPMS +Comment=Disable DPMS +Exec=~/.config/autostart/scripts/disable-dpms.sh +Terminal=false +Type=Application +Categories= diff --git a/skel/.config/autostart/scripts/disable-dpms.sh b/skel/.config/autostart/scripts/disable-dpms.sh new file mode 100755 index 0000000..150cb1f --- /dev/null +++ b/skel/.config/autostart/scripts/disable-dpms.sh @@ -0,0 +1,5 @@ +#!/bin/bash +sleep 300 +xset dpms 0 0 0 +xset -dpms +xset s off \ No newline at end of file -- cgit v1.2.3