Difference between revisions of "Mouse jumping to bottom right corner"
From FreeSpace Wiki
m (Mouse jumps to bottom right corner moved to Mouse jumping to bottom right corner: More appropriate name...) |
|||
(One intermediate revision by one other user 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=[[ | + | PrevPage=[[Fs2 open on Linux/Joystick Errors]]| |
− | NextPage=[[ | + | 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 | + | 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> |
*~/.bashrc when you are using Bash | *~/.bashrc when you are using Bash | ||
*~/.zshrc (when you are using ZSH) | *~/.zshrc (when you are using ZSH) |
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.