Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How to prevent middle mouse click to move the cursor but still poaste the clipboard ?

  • 8 replies
  • 3 have this problem
  • 7 views
  • Last reply by GloW

more options

This is a linux only issue. When i'm typing a text editing box, i use the select text/middle click gesture to copy/paste text.

But the middle click not only paste the selected text but move the cursor at the actual mouse position before. I don't want this behavior, because : 1. I work a lot with vim, where you don't mouve the cursor using the mouse, so i must change my habit when i'm using firefox. 2. When i middle click, event if i put the mouse in the right place, i might mouve it a bit and the text will be pasted on the wrong place

I've been looking in the about:config and the only related option is middlemouse.paste; If i put it to false, the middle click button does not mouve the cursor, nor does it paste.

Any idea how to achieve that ?

All Replies (8)

more options

Have you tried using the hot keys?

more options

you mean ctrl-V ?

Actually there is two different clipboard in use One is tue usual copy paste, trough the right click or ctrl-c ctrl-v

the other using selection/middle click

more options

Ahh. Well use the normal hot key then. BTW, the second clipboard, does it have a settings menu? Check it if you can. Happy Computing.

more options

Hum, the problem is i don't use normal hot keys. It is not supported by vim, neither by my window manager. I need and want to use the select/middle mouse gesture.

What do you mean by settings menu ? i can't find any settings menu for any clipboard in firefox.

more options

I don't know Linux and hoped there were settings for it.

more options

This is indeed a linux specific problem. I hope somebody else could try and answer.

more options

I do not find the cursor moving on me if I use middle-click to paste text or url that is in that I highlighted into clipboard. Whether I used my Logitech MX510 or the T-CH!!/T-CL13 trackballs that I use now.

The right-click and copy selection then right-click and paste to paste contents where Caret is method can be more precise though.

FredMcD, if you have not used Linux then maybe you should not be replying to questions that are Linux specific. Same with Mac OSX.

Modified by James

more options

That is strange, i did not expect different behavior. Here is my configuration : ArchLinux Awesome WM Firefox 27.0

I've just tested again : 0. Select some text 1. Left Click anywhere in the "Post a reply" edit text, with already some text in it. 2. Move the mouse between other character, where the cursor is not currently 3. Middle click : mouve the cursor and copy the text

It may not be related to firefox. i'll let you know.