Page 1 of 1

(SOLVED) Mouse freaking out in Defcon for Linux.

Posted: Tue Feb 05, 2013 4:06 am
by meldroc
Right now I'm running it in Kubuntu 12.10, just purchased the paid version on Steam.

When I run DEFCON full-screen, there is an issue where I can move my mouse for a fraction of a second, then it snaps back to the screen center. This is very annoying, and makes the game unplayable.

So far, the only workaround I've found is to switch the game to windowed mode (I edited the preferences text config file to do this), but I'd really rather play the game full-screen if I can get the mouse to work.

Anybody have a solution to this problem?\

Edit: Fixed it! See my post below...

Posted: Tue Feb 05, 2013 3:16 pm
by trickser
I am just guessing, but maybe its an SDL issue. I have no experience with steam linux defcon, but usually defcon ships with his own SDL. You can try to delete it and install a system package.


Posted: Wed Feb 06, 2013 1:08 am
by meldroc
I googled SDL, dug up some environment variables.

I fixed the problem by setting this environment variable:


So I created a tiny starter shell-script to get Defcon rolling:

Code: Select all


# See if this fixes the mouse glitch

cd /usr/local/games/defcon

The game's working fine now.