LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   imwheel microsoft trackball (http://www.linuxquestions.org/questions/linux-hardware-18/imwheel-microsoft-trackball-247971/)

steefje 10-27-2004 12:37 PM

imwheel microsoft trackball
 
hi i have a problem ...

i'm trying to get my extra "microsoft trackball explorer" buttons working so i can browse forward and backward with them in mozilla firefox ...

my mouse looks like this

http://www.microsoft.com/presspass/i...29hardware.jpg

i used this tutorial

the tutorial is meant for an intellimouse i guess and not trackball explorer but in windows they use the same driver

http://www.gloegl.de/30.html

yet these is a problem the guy sets his scroll buttons as 6 & 7 which means offcourse that when he scrolls in xev the mouse wheel op gets recognides as 6 and down as 7

when i click in "xev"

my left button (bottom on the left of the trackball see picture) is 1
my right button (upper on the left of the trackball ) is 3
middle mouse button (scroll wheel inbetween bottom and upper button on the left) is 2
scrolling up is 4
down is 5
and the two buttons on the right don't return 6 & 7 but just 2 & 3 again ....

i did the xmodmap but a bit different because my scroll are 4 & 5
so xmodmap -e "pointer = 1 2 3 4 5 6 7"
allready had imwheel installed and made the file he said
yet my extra buttons still get recognised as 2 & 3 ( and scroll ISN'T recognised at all , but i'll fix that)

so when browsing , the extra buttons just act as right mouse & middle mouse :(

steefje 10-29-2004 02:22 PM

isn't there anyone out there who thinks knowing what my problem is ?

mikebert 12-02-2007 08:48 PM

I know this topic is years old, but I still get referred to it in google, so here's how to fix the problem. I'm using Linux Mint 4.0, but I have every faith this helps in other distros. I have tried every other solution listed at linuxquestions or the Ubuntu forums with no luck.

Code:

1) At some point, I installed imwheel. 
I honestly don't know if it makes a difference after all the tricks and hacks I tried, but .. .eh, do it.

sudo apt-get install imwheel

2) Whip out your sudo and edit your mouse section in /etc/X11/xorg.conf
Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"        "/dev/input/mice"
        Option          "Protocol"      "ExplorerPS/2"
        Option          "Buttons"      "7"
        Option          "ZAxisMapping"  "4 5"
#      Option          "Emulate3Buttons"      "false"
EndSection

3) You'll have to make sure this is executed every login. 
An easy way to make is go to Prefs > Sessions and Add this as a Startup Program.

xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11"

Viola.


All times are GMT -5. The time now is 03:39 AM.