You can sign up to get a daily email of our articles, see the Mailing List page.
We do often include affiliate links to earn us some pennies. See more here.

Have Mouse Problems In Unity3D Games On Linux? See Here For Fixes

By - | Views: 24,012
So, Unity3D based games don't work correctly for you? Well it happens to me too and a helpful email from a GOL fan got it sorted, read on for how.

Unity3D is the tool used to make games like Rust and Rochard for example. Unlike Rust though Rochard isn't first person so it doesn't suffer the issue. It seems to happen mainly on first person games.

For a little bit of background, see this bug here. For some reason when a Unity game is built for Linux it can completely screw up your mouse axis under Linux.
If you also suffer from the issues please comment and vote there to get the point across to Unity.

The trick is to try a different window manager like Openbox. I run Manjaro KDE, but it also happened on Cinnamon too.

So, to fix it and try this at your own risk, install Openbox on your distribution and when you want to play a Unity3D-based game run this .sh script:
#!/bin/bash
openbox --replace &

That will replace your current window manager with Openbox.

To get back to your original window manager on KDE for example it's as simple as this:
#!/bin/bash
kwin --replace &

Or if you use Compiz then it's this:
#!/bin/bash
compiz --replace

Just replace the name with your current window manager.

That's all there is to it, and it worked perfectly for me. It's quite annoying having to go through hoops like this, but it makes the situation a bit more bareable for now.

If you have any other tips, let us know in the comments. Article taken from GamingOnLinux.com.
Tags: Editorial, Unity
0 Likes
About the author -
author picture
I am the owner of GamingOnLinux. After discovering Linux back in the days of Mandrake in 2003, I constantly came back to check on the progress of Linux until Ubuntu appeared on the scene and it helped me to really love it. You can reach me easily by emailing GamingOnLinux directly. Find me on Mastodon.
See more from me
The comments on this article are closed.
22 comments
Page: «3/3
  Go to:

Xpander Mar 31, 2014
Quoting: DrMcCoy
Quoting: Xpanderit seems to be issue with 1920x1080 native monitor resolution
No issues with e16 on Gentoo with 1920x1080.

so its still totaly random then..
my friend has also 1920x1080 and mate desktop with marco and doesnt have such issues.. while i do.
but not with every game.. just with Verdun, Legends of Aetherus and Rust.
Guns of Icarus, Doorways and Planet Explorers work just fine.

anyway xfwm and starting in windowed then switching to fullscreen fixes the issue for me for every game..

still crappy bug.. hope its fixed in unity5
xuwang Apr 1, 2014
To those who have posted here and have the bug, please post on the bug (mentioned in the post but I repeat it here: http://issuetracker.unity3d.com/issues/screen-dot-lockcursor-under-linux-breaks-input-dot-getaxis)

They asked for feedback and details.
While you're here, please consider supporting GamingOnLinux on:

Reward Tiers: Patreon. Plain Donations: PayPal.

This ensures all of our main content remains totally free for everyone! Patreon supporters can also remove all adverts and sponsors! Supporting us helps bring good, fresh content. Without your continued support, we simply could not continue!

You can find even more ways to support us on this dedicated page any time. If you already are, thank you!
The comments on this article are closed.