LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-13-2003, 04:28 PM   #1
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Rep: Reputation: 21
Mouse ?


I have an M$ IntelliMouse, two buttons, scroll wheel, wheel also cats as a third button. Question is I would like to make the third button act like a double click, can this be done? If so how?

Running Slackware 9 with Gnome 2.2
 
Old 06-13-2003, 06:20 PM   #2
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
http://www.linuxquestions.org/questi...t=zaxismapping

That should do it. I've seen others who have had to add the following:

Option "Buttons" "5"
 
Old 06-13-2003, 07:11 PM   #3
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
nuzzy, thanks for the reply. The scroll wheel works for scrolling. The wheel is also a button, and I would like the button aspect of the wheel to function as a double click.
 
Old 06-13-2003, 07:27 PM   #4
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
hmm...are you sure you still can't? I have those settings and can use my wheel to double-click. Can you post your mouse info from XF86Config?
 
Old 06-13-2003, 11:52 PM   #5
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

# On platforms where PnP mouse detection is supported the following
# protocol setting can be used when using a newer PnP mouse:

# Option "Protocol" "Auto"

# The available mouse protocols types that you can set below are:
# Auto BusMouse GlidePoint GlidePointPS/2 IntelliMouse IMPS/2
# Logitech Microsoft MMHitTab MMSeries Mouseman MouseManPlusPS/2
# MouseSystems NetMousePS/2 NetScrollPS/2 OSMouse PS/2 SysMouse
# ThinkingMouse ThinkingMousePS/2 Xqueue
Option "Protocol" "IMPS/2"
Option "buttons" "5"
Option "ZAxisMapping" "4 5"

# The mouse device. The device is normally set to /dev/mouse,
# which is usually a symbolic link to the real device.

Option "Device" "/dev/mouse"

Last edited by ceh383; 06-13-2003 at 11:53 PM.
 
Old 06-14-2003, 07:34 AM   #6
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
Hi ceh383,

I'm not sure if this matters, but change the "b" in "buttons" to a "B". Im not sure if it's case sensitive. Also, look at your /var/log/Xfree86.0.log. That will tell you what options are loading for your mouse.
 
Old 06-14-2003, 08:34 AM   #7
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Well, I changed the "B" made no difference.

Here is everything that looked like it might have anything to do with the mouse from the /var/log/XFree86.0.log.....

(**) |-->Input Device "Mouse1"
------------------------------------------------------
(II) LoadModule: "mouse"
(II) Loading /usr/X11R6/lib/modules/input/mouse_drv.o
(II) Module mouse: vendor="The XFree86 Project"
compiled for 4.3.0, module version = 1.0.0
Module class: XFree86 XInput Driver
ABI class: XFree86 XInput driver, version 0.4
------------------------------------------------------
(==) NVIDIA(0): Silken mouse enabled
------------------------------------------------------
(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Buttons" "5"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5
(II) XINPUT: Adding extended input device "Mouse1" (type: MOUSE)
(II) Mouse1: ps2EnableDataReporting: succeeded

I notice the line that says "Mouse1: Emulate3Buttons, Emulate3Timeout: 50"

I don't have the option to emulate 3 buttons in the XF86Config file. Could this be the prblem?
 
Old 06-14-2003, 09:24 AM   #8
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
when i add
Code:
 Option "Buttons" "5"
and press the wheel
on an icon in koqueror it opens the directory in a
new window
 
Old 06-14-2003, 10:53 AM   #9
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
I have.....

Option "Buttons" "5"

in the XF86Conf file, wheel button acts like a single click. Any thoughts on how to change it?
 
Old 06-14-2003, 10:17 PM   #10
itsjustme
Senior Member
 
Registered: Mar 2003
Location: Earth
Distribution: Slackware, Ubuntu, Smoothwall
Posts: 1,571

Rep: Reputation: 45
It looks like you have Emulate 3 Button mouse enabled.

You don't want to 'emulate' that. Emulating 3 button requires you to hit the left and right button simultaneously to 'emulate' the third button.

You don't need to 'emulate' because you have a real middle button.

Hope that helps. I could be wrong.

edit: oh, I see that 'ceh383' mentioned that also.
edit2: earth to me, earth to me... I see that ceh383 is the original poster, so, yes, the Emulate 3 Button thing could be the problem.

Last edited by itsjustme; 06-14-2003 at 10:21 PM.
 
Old 06-15-2003, 10:45 AM   #11
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Other than the XF86Config file, where could the Option "Emulate3buttons" be comming from?
Here's the entire XF86Config file....


# **********************************************************************
# Refer to the XF86Config(4/5) man page for details about the format of
# this file.
# **********************************************************************



# **********************************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# **********************************************************************
#
Section "Module"

# This loads the DBE extension module.

Load "dbe" # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection "extmod"
Option "omit xfree86-dga" # don't initialise the DGA extension
EndSubSection

# This loads the font modules
Load "type1"
Load "freetype"
Load "speedo"

# This loads the GLX module
Load "glx"

EndSection

# **********************************************************************
# Files section. This allows default font and rgb paths to be set
# **********************************************************************

Section "Files"



RgbPath "/usr/X11R6/lib/X11/rgb"


FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/CID/"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic/"

EndSection

# **********************************************************************
# Server flags section.
# **********************************************************************

Section "ServerFlags"


EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

Identifier "Keyboard1"
Driver "Keyboard"

EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

Option "Protocol" "IMPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/mouse"

EndSection

# **********************************************************************
# Monitor section
# **********************************************************************


Section "Monitor"

Identifier "My Monitor"

HorizSync 32.0 - 80.0

VertRefresh 56-75

EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA Framebuffer"
Driver "nvidia"
VideoRam 32768
Option "NoLogo" "1" #Turn off nvidia splash screen
# Insert Clocks lines here if appropriate
EndSection

# **********************************************************************
# Screen sections
# **********************************************************************

Section "Screen"
Identifier "Screen 1"
Device "VESA Framebuffer"
Monitor "My Monitor"

# DefaultDepth 16
DefaultDepth 24
# DefaultDepth 32

Subsection "Display"
Depth 16
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 24
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection
Subsection "Display"
Depth 32
Modes "1280x1024" "1024x768" "800x600" "640x480"
EndSubsection

EndSection

# **********************************************************************
# ServerLayout sections.
# **********************************************************************


Section "ServerLayout"

# The Identifier line must be present
Identifier "Simple Layout"


Screen "Screen 1"


InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection



As you can see the option is not loaded from here, yet is shows it's being loaded in the /var/log/XFree86.0.log file....

(**) Option "Protocol" "IMPS/2"
(**) Mouse1: Protocol: "IMPS/2"
(**) Option "CorePointer"
(**) Mouse1: Core Pointer
(**) Option "Device" "/dev/mouse"
(**) Option "Buttons" "5"
(**) Mouse1: Emulate3Buttons, Emulate3Timeout: 50
(**) Option "ZAxisMapping" "4 5"
(**) Mouse1: ZAxisMapping: buttons 4 and 5
(**) Mouse1: Buttons: 5

and it looks like it's being loaded from a config file.

I'm confused.......

Last edited by ceh383; 06-15-2003 at 10:46 AM.
 
Old 06-15-2003, 10:57 AM   #12
killi
Member
 
Registered: Apr 2003
Location: Norway
Distribution: Diff
Posts: 440

Rep: Reputation: 30
it loads the button 5 two times i dunno if this has anything to say
 
Old 06-15-2003, 01:08 PM   #13
nuzzy
Member
 
Registered: Aug 2001
Location: New Hampshire, USA
Distribution: Ubuntu 6.06 LTS
Posts: 204

Rep: Reputation: 31
Try adding:

Option "Emulate3Buttons" "off"

to your config and see what happens.
 
Old 06-15-2003, 06:28 PM   #14
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
The "Emulate3Buttons" is no longer loaded, still no double click.
 
Old 06-17-2003, 04:30 PM   #15
ceh383
Member
 
Registered: May 2003
Location: The Left coast, USA
Distribution: Slackware_64 13.37
Posts: 183

Original Poster
Rep: Reputation: 21
Thanks for all the input......I guess I'll just have to live with it......
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 07:31 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration