[Pkg-games-ubuntu] [Bug 521635] [NEW] Better screensaver loop

Alkis Georgopoulos alkisg at gmail.com
Sun Feb 14 09:00:49 UTC 2010


Public bug reported:

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

** Affects: teeworlds (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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: New

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