Author: goneri
Date: 2009-08-22 14:18:37 +0000 (Sat, 22 Aug 2009)
New Revision: 10175

Modified:
   packages/trunk/teeworlds/debian/changelog
   packages/trunk/teeworlds/debian/scripts/teeworlds
Log:
update the wrapper to poke the screensaver with dbus-send


Modified: packages/trunk/teeworlds/debian/changelog
===================================================================
--- packages/trunk/teeworlds/debian/changelog   2009-08-22 13:39:40 UTC (rev 
10174)
+++ packages/trunk/teeworlds/debian/changelog   2009-08-22 14:18:37 UTC (rev 
10175)
@@ -4,6 +4,7 @@
   * Clean: clean the teeworld binary, the embedded libs and correctly
     call unpatch 
   * refresh the system-libs.patch and new-wavpack.patch and apply them
+  * update the wrapper to poke the screensaver with dbus-send
 
   [ Paul Wise ]
   * Fix bashism in the --help option of the teeworlds-server script

Modified: packages/trunk/teeworlds/debian/scripts/teeworlds
===================================================================
--- packages/trunk/teeworlds/debian/scripts/teeworlds   2009-08-22 13:39:40 UTC 
(rev 10174)
+++ packages/trunk/teeworlds/debian/scripts/teeworlds   2009-08-22 14:18:37 UTC 
(rev 10175)
@@ -48,8 +48,9 @@
 fi
 
 while [ -d "/proc/$TEEWORLDPID" ]; do
-       sleep 10 
-       xscreensaver-command -deactivate >&- 2>&-
-       gnome-screensaver-command --poke >&- 2>&-
+       sleep 50 
+       xscreensaver-command -deactivate >/dev/null 2>&1
+       gnome-screensaver-command --poke >/dev/null 2>&1
+    dbus-send --session --dest=org.freedesktop.ScreenSaver /ScreenSaver 
org.freedesktop.ScreenSaver.SimulateUserActivity >/dev/null 2>&1
 done
 exit $?


_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

Reply via email to