LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-24-2002, 02:40 AM   #1
Shawny
LQ Newbie
 
Registered: Apr 2002
Location: Cambridge, England
Distribution: Slackware at home-Suse at work
Posts: 2

Rep: Reputation: 0
mouse under X


I've just recently configured X but can't get my mouse to work properly. Its a MS 3-button serial mouse, configured under protocol 2. It works fine in text mode.
Anyone else had this problem? Do you have any ideas as to solving it?
 
Old 04-24-2002, 06:18 AM   #2
Richard James
LQ Newbie
 
Registered: Apr 2002
Location: Australia
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
Lightbulb

I don't have a 3 button mouse so i can't check this. You don't have a mouse wheel do you as that is setup differently?
Anyway in your /etc/X11/XF86Config file it should look like this

Section "InputDevice"
# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "PS/2"
Option "Device" "/dev/mouse"
Option "Buttons" "3"
#Option "Emulate3Buttons"
EndSection

Make sure that Buttons is set to 3 and Emulate3Buttons is disabled by the #.

If you have a scrollmouse, in the AOLS FAQ it says to have this:

# My budget Office One (one scroll-wheel),
# three buttons (ones the wheel)

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
#Option "Buttons" "3"
#Option "Emulate3Buttons"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
EndSection

The five buttons are used to map the 3 extra features of your mouse to X windows functions. Your mouse has click on the scroll button, scroll up and scroll down. The ZAxisMapping makes scroll up and down map to a kind of virtual mouse that can move forwards, back, left, right and up and down. This up and down is used by programs to scroll in a window.
 
Old 04-26-2002, 10:37 AM   #3
Shawny
LQ Newbie
 
Registered: Apr 2002
Location: Cambridge, England
Distribution: Slackware at home-Suse at work
Posts: 2

Original Poster
Rep: Reputation: 0
thanks!

Actually I fixed the problem quite easily. Turns out that the mouse I have was on the list of options in the xf86config program and although I had tried 3 or 4 of the options, I hadn't got round to trying the correct one out. Feel a bit foolish now. Thanks for your reply, though Richard )
 
  


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
Belkin KDM & MS scoll mouse solution (jumping mouse) otchie1 Linux - Hardware 2 03-02-2006 01:16 PM
(STRANGE) Mouse get's crazy when holding a key and moving mouse(Update to 2.6.10) the-copy Linux - Hardware 2 02-08-2005 12:07 PM
strange mouse behaviour with logitech pilot mouse in debian 3.0r2 g-string 3 Debian 0 11-12-2004 06:27 AM
new nvidia driver & mouse problems - odd errors produced, no mouse detected. UrbanSlayer Debian 4 07-03-2004 08:13 PM
The you have a Mouse Pointer Problem(mouse stick top left)here is the solution. dr4ven Linux - Hardware 0 05-25-2003 05:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 06:04 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