Difference between revisions of "Mouse jumping to bottom right corner"

From FreeSpace Wiki
Jump to: navigation, search
(Solution for the problem that the mousepointer always jumps to the bottom right corner)
 
m
Line 10: Line 10:
  
 
It is also possible to add this to your startup script of your shell, so you don't have to think about it when you want to play Freespace. This would be:<br>
 
It is also possible to add this to your startup script of your shell, so you don't have to think about it when you want to play Freespace. This would be:<br>
<ul>
+
*~/.bashrc when you are using Bash
<li>~/.bashrc when you are using Bash</li>
+
*~/.zshrc (when you are using ZSH)
<li>~/.zshrc (when you are using ZSH)</li>
 
</ul>
 
 
if you are using a different shell, I'm pretty sure you have a file which does the same thing.
 
if you are using a different shell, I'm pretty sure you have a file which does the same thing.
  
 
[[Category:FreeSpace Open on Linux|Mouse jumps to bottom right corner]]
 
[[Category:FreeSpace Open on Linux|Mouse jumps to bottom right corner]]

Revision as of 20:57, 15 April 2009

« Common Runtime Errors The fs2_open on Linux Guide
Mouse jumps to bottom right corner
I18n and Key mapping problems »

You start the game and as soon as you move the mouse, it jumps to the bottom right corner. And it keeps jumping back to the bottom right corner, when you move the mouse.
This has something to do with an error of the mouse rendering in SDL (a standard C++ library for a sorts of media). This is easily fixed by running the following command on the terminal you are using to start fs2_open

$ export SDL_VIDEO_X11_DGAMOUSE=0

It is also possible to add this to your startup script of your shell, so you don't have to think about it when you want to play Freespace. This would be:

  • ~/.bashrc when you are using Bash
  • ~/.zshrc (when you are using ZSH)

if you are using a different shell, I'm pretty sure you have a file which does the same thing.