Re: 2 Problems

On Wed, 2003-03-26 at 21:05, Bhattacharya, Soubhik wrote:
> Ben FrantzDale wrote:
> >>
> >>
> >>>>1) i can't use mouse to paste text. i do select and copy text using 
> >>>>mouse. but to paste it have to use `shift-insert' key combination.
> >>>
> >>>
> >>>That's not right. Is this only within gnome programs, or even for things
> >>>like xterm or mozilla?
> >>
> >>it's true for xterm and mozilla. Gnome being my graphical desktop 
> >>environment, I assumed that it is responsible for these issues.
> > 
> > 
> > It isn't. That is the job of X11.
> > 
> > By "use [the] mouse to paste text" I assume you mean middle-clicking. 
> You're right. actually i'm pressing left and right buttons together to 
> emulate a middle button. it is a 2-button MicroSoft IntelliMouse, which 
> is PS/2 compatible (as written on it). well, it also has a wheel button.
> If
> > so, then it sounds like X  doesn't see your middle mouse button. Try
> > draging things around on the gnome panel with the middle button. If you
> > can't then the issue is X not seeing the button.
> > 
> > If you have a 2-button mouse, it may not be set to emulate 3 buttons.
> > 
> > 
> how do I set X to emulate 3 buttons?

First, try clicking the mouse wheel, that should act as a third button.

If you want to emulate 3 buttons, the best way I know is to edit your
/etc/X11/XF86Config file, which may be no fun if you aren't comfortable
with editing config files.

I have XFree86-4, so the file is /etc/X11/XF86Config-4. In it I have the
following lines:

 Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"

If you only have /etc/X11/XF86Config, you want something like this:

Section "Pointer"
    Protocol    "PS/2"
    Device      "/dev/mouse"
    Emulate3Timeout 50

Basically, just add the line (or two) refering to Emulate3Buttons.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]