LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   intelli mouse w/5 buttons (https://www.linuxquestions.org/questions/linux-general-1/intelli-mouse-w-5-buttons-15925/)

bbenz3 03-09-2002 09:12 PM

intelli mouse w/5 buttons
 
Quote:

This is the config I use for my 5 (7?) button mouse,

code:



Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"



You will also need to do xmodmap -e "pointer = 1 2 3 6 7 4 5" to get the wheel working correctly. I use a script in ~/.kde/Autostart.

code:


#!/bin/sh

xmodmap -e "pointer = 1 2 3 6 7 4 5"



You can test the extra buttons with "xev"
I found this posted in a thread that turned into a thread on runes so I am starting a new thread.

I am only hours old using the gui version of Linux. I really don't understand much of X at all. I could use a little explanation in how to go about using this code so that I can setup the other buttons on my mouse.
thanks in advance

Aussie 03-10-2002 09:49 PM

Edit the pointer section of /etc/X11/XF86Config-4 to look like this,
Code:

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/psaux"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"

Keep what ever device you have there already if it working now.
To get the wheel working properly you need to do the xmodmap part in a terminal whenever you startx or add it to a script that runs when you boot/startx.

bbenz3 03-11-2002 12:42 AM

OK, I got all that to work to the point that my wheel works and I get no errors.

Now for the harder part. How do I configure those extra buttons?
ex) I would like to configure one of them to copy and the other to paste.

Aussie 03-11-2002 06:14 AM

Quote:

Originally posted by bbenz3


Now for the harder part. How do I configure those extra buttons?
ex) I would like to configure one of them to copy and the other to paste.

Highlighting something in linux automagickly coppies it to the clipboard and a middle click pastes........:)


All times are GMT -5. The time now is 06:24 AM.