I'm using Fedora Core 5 with XFCE as the desktop, and the X Screen Saver keeps poping up during the game, so i had to disable it. Anyone know how to fix this?
disable the screensaver :D (in other words i don't know)
edit: since i feel bad about not posting anything useful, how about this:
if you know how to disable the screensaver from the command line (i don't know how and don't have the time to figure it out), you can create a small script to wrap tremulous. something like:
#!/bin/bash
#stick code here to disable screensaver
/usr/local/games/tremulous.x86 "$*"
#stick code here to enable screensaver
cant do anything about it right now, same with DPMS blanking, you just have to disable it
Quote from: kevlarmandisable the screensaver :D (in other words i don't know)
edit: since i feel bad about not posting anything useful, how about this:
if you know how to disable the screensaver from the command line (i don't know how and don't have the time to figure it out), you can create a small script to wrap tremulous. something like:
#!/bin/bash
#stick code here to disable screensaver
/usr/local/games/tremulous.x86 "$*"
#stick code here to enable screensaver
in case anyone is wondering the code for xscreensave is:
#!/bin/bash
kill -s TERM `pidof xscreensaver`
/usr/local/games/tremulous.x86 "$*"
xscreensaver
This may help (or not) - the piece of code that needs to be disabling the screen-saver is SDL, since it's the abstraction that the non-Windows versions of ioq3 uses to talk to the window manager / server. When I run Trem under Linux, on an FC5 install, I have no problem with the screen saver activating (this is a very very plain FC5 install, no tweaks of any kind). Im surprised the normal mouse motion doesn't stop screen-saver activation in any case .... unless you're playing using only keys :)
SDL has various environment variables related to how it interacts with X11, perhaps Google can turn something up.
Quote from: David
#!/bin/bash
kill -s TERM `pidof xscreensaver`
/usr/local/games/tremulous.x86 "$*"
xscreensaver
wow, my idea was enough of a hack, i was hoping there was a less hackish way to implement it. it's also worth noting that some people might have to replace xscreensaver with gnome-screensaver, or whatever the kscreensaver is called
there is bug open in gnome bugzila about screensaver not recognizing SDL events, turns out Xscreensavers have same trouble, its about kernel input event handling, so like I said its broken by design right now, just disable it.