[Pkg-games-ubuntu] [Bug 521635] Re: Better screensaver loop

Felix Geyer debfx-pkg at fobos.de
Tue Jun 22 17:41:52 UTC 2010


teeworlds 0.5 is able to suppress the screensaver so the wrapper script
containing that loop has been removed in teeworlds 0.5.2-1.

** Changed in: teeworlds (Ubuntu)
       Status: New => Fix Released

-- 
Better screensaver loop
https://bugs.launchpad.net/bugs/521635
You received this bug notification because you are a member of
Debian/Ubuntu Games Team, which is subscribed to teeworlds in ubuntu.

Status in “teeworlds” package in Ubuntu: Fix Released

Bug description:
Binary package hint: teeworlds

teeworlds version: 0.5.1-3 (Lucid)

With the current screensaver deactivation code, 10 seconds are needed to exit the game!!!
Here's another way:

i=0
while [ -d "/proc/$TEEWORLDPID" ]; do
	sleep 1
	i=$((i+1))
	if [ $i -gt 30 ]; then
		xscreensaver-command -deactivate >&- 2>&-
		gnome-screensaver-command --poke >&- 2>&-
		i=0
	fi
done





More information about the Pkg-games-ubuntu mailing list