Page 1 of 1

Ubuntu 9.04 game loses focus.

Posted: 06 Jul 2009, 03:49
by lolzownz
I have two Linux machines each with ubuntu 9.04 on them.
Computer 1 is a e5200 @ 4ghz 4gb of ram and an hd4850
Computer 2 is a e6550 at stock clocks, 2gb of ram and a 8800gts 320
Spring runs fine, except at every at roughly 10 minutes in, on both machines the window loses focus. does anyone know how to stop spring from losing focus?
I'm using the Gnome GUI, if that matters.

Re: Ubuntu 9.04 game loses focus.

Posted: 06 Jul 2009, 10:48
by Auswaschbar
You can either set some focus stealing prevention (dunno how to do that in gnome, thought), or find out which app is stealing it and quit it before playing.

Re: Ubuntu 9.04 game loses focus.

Posted: 01 Oct 2009, 22:31
by sillynanny
I saw this problem before and solved it by disabling desktop effects and using the metacity (for Gnome) window manager instead when playing spring.

Install the package fusion-icon and run it and you'll get an icon on the tray where you can make the switch.

Re: Ubuntu 9.04 game loses focus.

Posted: 01 Oct 2009, 22:34
by KaiserJ
my guess : the screensaver. happens to me also

Re: Ubuntu 9.04 game loses focus.

Posted: 15 Oct 2009, 16:52
by wilbefast
This is a problem that Ubuntu has with many fullscreen applications:

http://ubuntuforums.org/showthread.php?t=1238305

The only way I know of solving it is to turn off Compiz (visual effects) in System > Preferences > Appearance > Visual Effects

You can also write a script that turns them off automatically and insert it into all your game launchers, but I couldn't be bothered :?

The screen will still dim when in fullscreen unless you turn off "Dim screen when idle" in Power Options.

Hope this helps,


William

edit: oops - I missed the post a couple above that says the same thing :shock: still, the link may prove useful.