Bug#480902: teeworlds - turn off the screensaver!

Karl Chen quarl at cs.berkeley.edu
Tue Dec 30 23:43:02 UTC 2008


I had the same symptom: teeworlds crashes, often with some kind of
X error message but not always the same one.

I found that preventing gnome-screensaver from activating solved
the problem.  Yes I'm sending keyboard and mouse input but I guess
teeworlds intercepts all input before the screensaver idle
detector; mplayer in full screen mode also hides kb/mouse input
from gnome-screensaver.

I use a script similar to the following:

    while true; do
        if pgrep teeworlds &>/dev/null; then
            gnome-screensaver-command -p
        fi
        sleep 60
    done
    
(mine also checks for other programs for poking gnome-screensaver)

Teeworlds could automatically inhibit any screensaver(s) while
it's running.






More information about the Pkg-games-devel mailing list