Disable the screensaver on macOS definitely and permanently
authorSimon Hausmann <simon.hausmann@qt.io>
Wed, 7 Dec 2016 13:09:25 +0000 (14:09 +0100)
committerSimon Hausmann <simon.hausmann@qt.io>
Wed, 7 Dec 2016 13:47:48 +0000 (13:47 +0000)
Change-Id: I8856eebfe91b9e1cc2cc318a1e7ea80348f1486e
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@qt.io>
coin/provisioning/qtci-osx-10.10-x86_64/002-disable-screensaver.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.11-x86_64/002-disable-screensaver.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.8-x86_64/002-disable-screensaver.sh [new file with mode: 0644]
coin/provisioning/qtci-osx-10.9-x86_64/002-disable-screensaver.sh [new file with mode: 0644]

diff --git a/coin/provisioning/qtci-osx-10.10-x86_64/002-disable-screensaver.sh b/coin/provisioning/qtci-osx-10.10-x86_64/002-disable-screensaver.sh
new file mode 100644 (file)
index 0000000..6f4de5f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+defaults -currentHost write com.apple.screensaver idleTime 0
diff --git a/coin/provisioning/qtci-osx-10.11-x86_64/002-disable-screensaver.sh b/coin/provisioning/qtci-osx-10.11-x86_64/002-disable-screensaver.sh
new file mode 100644 (file)
index 0000000..6f4de5f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+defaults -currentHost write com.apple.screensaver idleTime 0
diff --git a/coin/provisioning/qtci-osx-10.8-x86_64/002-disable-screensaver.sh b/coin/provisioning/qtci-osx-10.8-x86_64/002-disable-screensaver.sh
new file mode 100644 (file)
index 0000000..6f4de5f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+defaults -currentHost write com.apple.screensaver idleTime 0
diff --git a/coin/provisioning/qtci-osx-10.9-x86_64/002-disable-screensaver.sh b/coin/provisioning/qtci-osx-10.9-x86_64/002-disable-screensaver.sh
new file mode 100644 (file)
index 0000000..6f4de5f
--- /dev/null
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+defaults -currentHost write com.apple.screensaver idleTime 0