LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Mouse ? (https://www.linuxquestions.org/questions/slackware-14/mouse-65466/)

ceh383 06-13-2003 04:28 PM

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

nuzzy 06-13-2003 06:20 PM

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"

ceh383 06-13-2003 07:11 PM

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.

nuzzy 06-13-2003 07:27 PM

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?

ceh383 06-13-2003 11:52 PM

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"

nuzzy 06-14-2003 07:34 AM

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.

ceh383 06-14-2003 08:34 AM

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?

killi 06-14-2003 09:24 AM

when i add
Code:

Option "Buttons" "5"
and press the wheel
on an icon in koqueror it opens the directory in a
new window

ceh383 06-14-2003 10:53 AM

I have.....

Option "Buttons" "5"

in the XF86Conf file, wheel button acts like a single click. Any thoughts on how to change it?

itsjustme 06-14-2003 10:17 PM

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.
:D

ceh383 06-15-2003 10:45 AM

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.......

killi 06-15-2003 10:57 AM

it loads the button 5 two times i dunno if this has anything to say

nuzzy 06-15-2003 01:08 PM

Try adding:

Option "Emulate3Buttons" "off"

to your config and see what happens.

ceh383 06-15-2003 06:28 PM

The "Emulate3Buttons" is no longer loaded, still no double click.

ceh383 06-17-2003 04:30 PM

Thanks for all the input......I guess I'll just have to live with it......


All times are GMT -5. The time now is 02:57 PM.