Two-mouse support in Linux
- Login to post comments
Wed, 02/03/2010 - 11:37
Back to Linux...
I noticed that WOG had support for two (or more) mice in Linux, so I plugged in a second mouse to my computer and changed that thingee in config.txt that it said to change (can't exactly remember what it was now, but I know I changed it). Anyway, after firing up WOG, both mice controlled the same, default, cursor. Is there something I need to install on Linux to enable two-mouse support? I'm running Ubuntu 9.10, if that helps any.
Try the readme. It says that you need to enable read access to a /dev entry. Also, your Linux may be handling mice differently. Are you using a touchpad?
Author of World of Goo Portable. Download here!
Ubuntu? that's a nice OS
My profile of awesomeness | Me on skype: pokelucas2000 | My drop | Me on...umm....I forgot
The tricky thing is that the mouse devices must be readable by the user that runs the game. There are at least two things that can prevent that. One is insufficient file permissions (which is discussed in the README). The second is the devices being opened in exclusive mode by some other application.
The problem with recent versions of X was that they use the hardware abstract layer (HAL) causing the server to open all available mouse devices exclusively, regardless of whether the server needs or even user their input, and then the game cannot open them anymore.
You can work around this by disabling the HAL in the Xorg configuration, but I wouldn't recommend it unless you are a reasonably sophisticated Linux user and know what you are doing. An incorrect configuration may render your system unusable! At the very least, I recommend backing up your Xorg.conf before messing with it.
To work around the HAL, disable the AutoAddDevices option and manually configure a mouse and a keyboard. For example, in /etc/X11/xorg.conf:
Maybe there is a better way to do this in Ubuntu; if there are advanced Ubuntu users reading along, please comment.
Problem is, I'm new to Linux, and it won't let me edit stuff in any of the folders (example: can't even copy over the res directory to /op/World of Goo). How do I change the security settings to stop this OS from blocking me?
GMMan: Nope, just a couple mice. One USB, one PS/2. With two USB mice, same problem.
And I tried what the README said, and Ubuntu just denied me access.
IRC | Chapter Tutorial | Reference Guide
Hmm...I have Ubunto on a Virtual PC...
I never tried anything in that nature, but keep trying!
Any ideas, guys? I'm still slammed against the brick wall of Ubuntu's evil security system...
IRC | Chapter Tutorial | Reference Guide
i never had those problems, cuz i never tried it
NEW SIIIIIIIIIIIIIIIIIIIGGGGGGGGG
My profile of awesomeness | Me on skype: pokelucas2000 | My drop | Me on...umm....I forgot
What is that supposed to mean?
That he has a new signature.
my gooey profile | my video channel | author of Hazardous Environment
Most people like to look at sigs sometimes, ("I'm a banana!", "Tacos rule... oh AND World of goo " and etc.) So I'm pretty sure that your sig wouldn't have gone un-noticed, but people like enthusiasm!
InfernoFans | Chest full of porkchops
that weird looking thing in your sig is SUSHI (if it isn't .... ITS AN ALIEN!!!)
My profile of awesomeness | Me on skype: pokelucas2000 | My drop | Me on...umm....I forgot
wait...WHAT!?!
InfernoFans | Chest full of porkchops
lolwow
My comment is my sig! (right now anyway) (this could change in the future, so if I change my sig, It won't make sense, so don't bother.)
InfernoFans | Chest full of porkchops
Uh, still no answer for Linux security system?...
IRC | Chapter Tutorial | Reference Guide
got karamac koala and not even wog is running! which one do i download?
My profile of awesomeness | Me on skype: pokelucas2000 | My drop | Me on...umm....I forgot