LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 07-09-2004, 01:38 PM   #1
colorLinux
LQ Newbie
 
Registered: Jan 2004
Posts: 2

Rep: Reputation: 0
config middle mouse button has wheel function


I have a laptop with trackpoint+three key mouse. Middle button has 'paste' function already. Now, I want to config the middle key also has wheel function which I can press the middle key and use the trackpoint to scroll pages. Opera has this function but I want to setup as a system wide functionality. How can I do this?
 
Old 07-21-2004, 01:42 PM   #2
LinuxLala
Senior Member
 
Registered: Aug 2003
Location: New Delhi, India
Distribution: Fedora 7
Posts: 1,305

Rep: Reputation: 45
you need to edit the xf86config file. Follow these steps:

1. vi /etc/X11/xf86config
2. Browse down to the section

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/input/mice"
Option "Emulate3Buttons" "no"
EndSection

3. Press the key 'a'. You will see --INSERT-- appear at the bottom left of the scree.
4. Change PS/2 to IMPS/2
4. Also add another line
Option "ZAxisMapping" "4 5"
5. press escape(esc)
6. Press colon ( : ) and then write 'wq'
:wq

This saves and exits the file and you are all set.

Your mouse section should now look like
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Middle mouse button behaviour tomservo291 Linux - Software 0 02-17-2005 07:01 AM
Panning with middle mouse button dotancohen Linux - Newbie 0 02-01-2005 07:02 AM
remap middle mouse button in x dr_mandarin Linux - Software 3 12-04-2004 04:22 PM
middle mouse button FLOODS Linux - Hardware 5 07-18-2004 05:54 AM
middle mouse button is paste.. but what if i dont have a mid mouse button? kublador Linux - Newbie 4 09-02-2003 08:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 12:55 PM.

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