LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-09-2002, 09:12 PM   #1
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Rep: Reputation: 30
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
 
Old 03-10-2002, 09:49 PM   #2
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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.
 
Old 03-11-2002, 12:42 AM   #3
bbenz3
Member
 
Registered: Feb 2002
Location: Orlando
Distribution: Whatever I feel like at the time I install.
Posts: 284

Original Poster
Rep: Reputation: 30
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.
 
Old 03-11-2002, 06:14 AM   #4
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 58
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........
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
intelli mouse side buttons Xios SUSE / openSUSE 1 02-12-2005 10:38 AM
Microsoft Intelli Mouse PS/2 - USB nodumping14 Linux - Hardware 10 12-01-2003 09:10 PM
Intelli Mouse Explorer with 5 Buttons cherup Linux - Newbie 4 04-07-2003 05:21 AM
MS Intelli Explorer Mouse Help Skinny Linux - Hardware 29 02-12-2003 05:42 PM
microsoft intelli-mouse ronss Linux - Hardware 2 10-17-2002 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration