Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

My middle mouse button pastes text I've highlighted.

Shift+Ins also pastes text, but sometimes it differs in what it pastes to what is pasted by clicking the middle mouse button.

What is the difference between pasting with the middle mouse button and Shift+Ins? Is Shift+Ins accessing the same buffer as Ctrl+V?

(I'm using Linux Mint distribution, if that makes any difference.)

share|improve this question
    
Highlight + Middle Click Ctrl+Ins, Shift+Ins are different clipboards. Use it as per requirement. –  user14517 Mar 8 '12 at 12:45

2 Answers 2

up vote 7 down vote accepted

SHIFT+INS pastes the content of the clipboard, as you can see here. It is the same as CTRL+V (with the difference CTRL+V doesn't work for example in graphic terminals, there you have to use SHIFT+INS or the middle-mouse-click-trick).

When you select a piece of text, it will be loaded to an entirely other buffer than the buffer aforementioned (it is another clipboard, respectively), and you can use it with the middle mouse button, even without Xorg, in tty!

Ryran wrote: highlight + middle click isn't an xorg thing. Many distros support it out of the box on virtual consoles (ttys) as well. (e.g., RedHat/Fedora requires a package+service called gpm to be installed & running.) That said, each highlight + middle click clipboard is local to its tty (i.e., you can't highlight and paste between different virt consoles and/or X).

Summarized: in Xorg you have got two different clipboards. One is reachable with the keyboard, the other is with the mouse.

share|improve this answer
    
After simply highlighting text under Xorg, there is no keyboard shortcut to paste that text, right? –  eoinoc Mar 8 '12 at 14:07
    
As far as I know, default keyboard shortcut for this doesn't exist in default installations. Certainly, you can change it if needed. –  vakufo Mar 8 '12 at 14:15
2  
highlight + middle click isn't an xorg thing. Many distros support it out of the box on virtual consoles (ttys) as well. (e.g., RedHat/Fedora requires a package+service called gpm to be installed & running.) That said, each highlight + middle click clipboard is local to its tty (i.e., you can't highlight and paste between different virt consoles and/or X). –  ryran Mar 8 '12 at 14:35
    
I will try it, @ryran, thanks the clarification. –  vakufo Mar 8 '12 at 14:39

On my Linux, Shit+Ins pastes the same as Ctrl+V. Mouse select and than middle click is a different clipboard.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.