LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Xorg, mouse side-buttons and xmodmap. At the end of my wits. (https://www.linuxquestions.org/questions/slackware-14/xorg-mouse-side-buttons-and-xmodmap-at-the-end-of-my-wits-220852/)

Nordmann 08-22-2004 07:08 AM

Xorg, mouse side-buttons and xmodmap. At the end of my wits.
 
Hello all.

After one month of researching, googling and checking forums, i still haven't found an answer.

I got an Intellimouse Explorer mouse working. It's USB version on a laptop ( ECS G551 ), running Slackware 10.

Now, i got all buttons working, using these commands in xorg.conf:

Code:

EndSection

  Section "InputDevice"
    Identifier "Mouse2"
    Driver "mouse"
    Option "Protocol" "ExplorerPS/2"
    Option "Device" "/dev/input/mice"
    Option "Buttons" "7"
    Option "ZAxisMapping" "6 7"

EndSection

Now, to get the buttons working on the correct thing (now the wheel is the back/forward browsing buttons for instance), the internet tells me to use:

Code:

xmodmap -e "pointer = 1 2 3 6 7 4 5"
Running the above command both as user and root gives the following error:


Code:

:~$ xmodmap -e "pointer = 1 2 3 6 7 4 5"
xmodmap:  commandline:0:  bad number of buttons, must have 3 instead of 7
xmodmap:  1 error encountered, aborting.

But listen up xorg.conf, i already said "Buttons" "7" !

So, i don't know where to check anymore.
It's a bit silly, because all the buttons are working, just that they have switched around for what function they serve.

SBing 08-22-2004 07:50 AM

Only a clutching at straws solution from me:

1) Remove "Buttons" "7", it doesn't seem be required, at least for me :)
2) Get a USB --> PS/2 converter, see if it works

I doubt the above will do anything, but it may do, good luck in finding a solution to your
problem, please post back if you do!

Steve

folken718 08-22-2004 11:35 AM

Sugestions
 
Hi, a only have managed to work the wheel putting in the xorg.conf file the next changes :

EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"

EndSection

this will make your wheel work like it used to work , scrolling the screen.

Netizen 08-23-2004 02:18 PM

Nordmann

you left some things out and you put some things in the wrong file.

try following these instructions here....

http://www.linuxjunior.org/cgi-bin/p...=Display&id=71

Netizen


All times are GMT -5. The time now is 07:56 AM.