[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 Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list