Showing posts with label Bug. Show all posts
Showing posts with label Bug. Show all posts

Saturday, 24 October 2015

FIX: Getting the R.A.T. 3 mouse to work on Ubuntu

This is a problem I am faced with every time I install Ubuntu and want yo use my R.A.T. 3 mouse. I found a solution though googling and it linked me to this youtube video.

In the description is a simple guide, so you don’t have to watch the video. I have included in the post bellow.

First type in the command to find out which product you have:

xinput -list

Once you find out what mouse you have:

sudo gedit /etc/X11/xorg.conf

For me I have the Madcatz Mad Catz R.A.T.3; type in:

Section "InputClass"
Identifier "Mouse Remap"
MatchProduct "Madcatz Mad Catz R.A.T.3 Mouse"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 0 0 0 0 0"
EndSection

For Madcatz Saitek Cyborg R.A.T.3; type in:

Section "InputClass"
Identifier "Mouse Remap"
MatchProduct "Saitek Cyborg R.A.T.3 Mouse"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 0 0 0 13 14"
EndSection

Enjoy.

Fix for multi monitor bug in Ubuntu 15.10 Gnome

Description:

I did an upgrade to 15.10 and came across this bug, so decided to to a fresh install to get around the issue. However, I faced the same bug despite.

This bug was not present in the 15.04 release.

When I would configure my duel monitor display, it worked fine. However after each reboot the settings would revert back to the original settings.

Strangely when you visit the settings menu it would refresh the display settings. and by refreshing the Display settings it would fix the problem.

This is a work around which will automatically refresh the display settings each time you login.

EDIT: New Gnome extension released which also tackles this issue:
https://extensions.gnome.org/extension/1066/fix-multi-monitors/

The fix:


I tried a few of these options but made a discovery of my own. This is my workaround. In terminal, type the command...
xrandr
 By examining the output of my monitors I used the command...

xrandr --delmode VGA1 1680x1050

When you run this in terminal it refreshes the display settings putting those custom into into action. "VGA1 1680x1050" Being the monitor settings from "xrand", so replace this with your settings.

Finally, we want this to happen every time when we start-up automatically, so we dont have to type the command in every time...

Create an entry in Startup-Applications with your custom command. I used...

/bin/bash -c "sleep 15&&xrandr --delmode VGA1 1680x1050"

- Again, make sure you replace "VGA1 1680x1050" with your monitor settings.

What do you think? Thanks.

 -------------------

Some relevant links I found are...
http://askubuntu.com/questions/450767/multi-display-issue-with-ubuntu-gnome-14-04
https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1292398
http://askubuntu.com/questions/465403/ubuntu-14-04-dual-monitor-position-reset-at-reboot

 -------------------