Better screensaver loop

Bug #521635 reported by Alkis Georgopoulos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
teeworlds (Ubuntu)
Fix Released
Undecided
Unassigned

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

Revision history for this message
Felix Geyer (debfx) wrote :

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
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.