loosing mouse on spring crash

loosing mouse on spring crash

Discuss everything related to running Spring on your chosen distribution of Linux.

Moderator: Moderators

Post Reply
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

loosing mouse on spring crash

Post by clericvash »

has anyone else kept loosing control of their mouse when spring crashes?
fastfox
Posts: 13
Joined: 25 Jul 2006, 20:25

Re: loosing mouse on spring crash

Post by fastfox »

unfortunately yes! Bunch of times.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: loosing mouse on spring crash

Post by clericvash »

It's fracking annoying having to reboot to get my mouse back because of spring crashing!
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

Re: loosing mouse on spring crash

Post by BrainDamage »

don't use spring's internal fullscreen function (provided by SDL), instead make the app windowed with the same size of your desktop and make it be fullscreen using your window manager settings

for kde, just click on the app icon on top left corner, for gnome install gdevilspie

you'll make your WM much more tollerant to spring crashes, also you'll get the benefit of faster render (your results may vary), also alt tab will work
Nemoder
Posts: 73
Joined: 23 Nov 2007, 08:59

Re: loosing mouse on spring crash

Post by Nemoder »

I run Spring windowed also but for other games that are better fullscreen you can try compiling this:
http://icculus.org/misc/umouse.c

Then assuming you still have keyboard control and can bring up a term with hotkeys then just run that to get the mouse back. You can put it in a script along with this to reset your resolution too:
xrandr -s 1
xrandr -s 0
xgamma -gamma 1
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: loosing mouse on spring crash

Post by clericvash »

Brain Damage wrote:don't use spring's internal fullscreen function (provided by SDL), instead make the app windowed with the same size of your desktop and make it be fullscreen using your window manager settings

for kde, just click on the app icon on top left corner, for gnome install gdevilspie

you'll make your WM much more tollerant to spring crashes, also you'll get the benefit of faster render (your results may vary), also alt tab will work
Thanks for the great idea, will try it!
Sertse
Posts: 65
Joined: 23 Mar 2008, 23:57

Re: loosing mouse on spring crash

Post by Sertse »

Minor note: If you had the desktop cube activated, you might want to disable it.

I find if you have it on, and making it fullscreen using the gdevilspie method, the ingame screen doesn't move as you expect when moving the mouse to the side. This doesn't happen if you use the normal method.

This affect moving left and right. Top and down is okay, as ae the corners.

Disabling the cube fixes it though.
YokoZar
Posts: 883
Joined: 15 Jul 2007, 22:02

Re: loosing mouse on spring crash

Post by YokoZar »

Easiest way to get your mouse back is to hit alt+f2 (for run a command), and type in spring to relauch spring.

Then just quit normally after starting a game.
User avatar
clericvash
Posts: 1394
Joined: 05 Oct 2004, 01:05

Re: loosing mouse on spring crash

Post by clericvash »

YokoZar wrote:Easiest way to get your mouse back is to hit alt+f2 (for run a command), and type in spring to relauch spring.

Then just quit normally after starting a game.
Any chance we can get a sticky topic with FAQ stuff like that?
User avatar
Peet
Malcontent
Posts: 4384
Joined: 27 Feb 2006, 22:04

Re: loosing mouse on spring crash

Post by Peet »

Throw one together and it'll get stickied :wink:
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Re: loosing mouse on spring crash

Post by rattle »

My mouse never loosens...
Fri13
Posts: 54
Joined: 03 Feb 2007, 13:15

Re: loosing mouse on spring crash

Post by Fri13 »

clericvash wrote:It's fracking annoying having to reboot to get my mouse back because of spring crashing!
You dont need to reboot OS, just restart your X window system with ctrl+alt+backspace and you get your desktop with mouse support back.

Unless you do that alt+F2 "spring" and close it -trick.

GNU/Linux is great becaue OS does not hang out, but the applications definetly can crash, especially the desktop enviroments what are so complicated softwares.
HAARP
Posts: 182
Joined: 06 Apr 2006, 07:18

Re: loosing mouse on spring crash

Post by HAARP »

Use umouse. No need to restart anything :roll:
I even made an Ebuild if you use Gentoo. Just search for umouse on Gentoo's Bugzilla
Post Reply

Return to “Linux”