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)
 
 
(5 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
BookName=[[The fs2_open on Linux Guide]]|
 
BookName=[[The fs2_open on Linux Guide]]|
 
CurrentPage=Mouse jumps to bottom right corner|Mouse jumps to bottom right corner|
 
CurrentPage=Mouse jumps to bottom right corner|Mouse jumps to bottom right corner|
PrevPage=[[Fs2_open on Linux/Common Runtime Errors|Common Runtime Errors]]|
+
PrevPage=[[Fs2 open on Linux/Joystick Errors]]|
NextPage=[[Fs2_open on Linux/I18n and Key mapping problems|I18n and Key mapping problems]]}}
+
NextPage=[[Fullscreen issue with multiple monitors]]}}
 
<p></p>
 
<p></p>
 
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.<br>
 
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.<br>
Line 9: Line 9:
 
  $ export SDL_VIDEO_X11_DGAMOUSE=0
 
  $ 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:<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.
 +
 +
[http://www.hard-light.net/forums/index.php?topic=62347 This] is the topic on HLP where the solution for this problem was found.
  
 
[[Category:FreeSpace Open on Linux|Mouse jumps to bottom right corner]]
 
[[Category:FreeSpace Open on Linux|Mouse jumps to bottom right corner]]

Latest revision as of 12:27, 2 May 2015

« Fs2 open on Linux/Joystick Errors The fs2_open on Linux Guide
Mouse jumps to bottom right corner
Fullscreen issue with multiple monitors »

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.

This is the topic on HLP where the solution for this problem was found.