Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Possible Duplicate:
Can not paste into terminal

I'm relatively new to linux.

My question is, why when I do ctrl+C (copy) in Eclipse, and then shift+insert (paste) in command line, there's nothing pasted?

Thanks.

share|improve this question

marked as duplicate by nitstorm, jrg Feb 24 '12 at 12:40

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
Have you tried ctrl+shift instead of just shift to paste ? –  sagarchalise Feb 24 '12 at 9:54

3 Answers 3

up vote 3 down vote accepted

If you mean the GNOME Terminal, the shortcut for paste is Shift+Ctrl+V. (See the Edit menu).

share|improve this answer

There are actually multiple paste buffers (or clipboards if you prefer).

When you mark some text using the left mouse button, that text is immediately put in the primary paste buffer. You use the middle mouse button to paste from the primary buffer.

The secondary buffer is generally copied to by marking the text and hitting Ctrl+C and pasted from by hitting Ctrl+V, though these key bindings are only a convention; some applications require different key bindings.

The terminal has already mapped Ctrl+C|V to mean something else, so Shift+Ctrl+C|V has been chosen for this instead.

There is also a third paste buffer, but this is rarely used.

share|improve this answer
    
what about Ctrl + insert and Shift + insert? Are these a third type of buffer? –  dhblah Feb 24 '12 at 12:46
    
@gasan I don't know of any applications that use Ctrl|Shift+Insert for copying and pasting. If I'm not mistaken, these are common keybindings in Windows, but I can't remember seeing them in Linux applications. At any rate, if any Linux app does accept them to mean copy and paste, they'll most likely be working on the secondary buffer. –  geirha Feb 24 '12 at 12:58
    
Ctrl+ins and Shift+ins can be used probably in any linux application that supports copy/paste. It looks like you're right and they are working on the secondary buffer, the same as Ctrl+C, ctrl+v. Thanks a lot. –  dhblah Feb 27 '12 at 8:57

Possible ways to do that:

Right click

Middle Mouse button

Shift+ctrl+V

share|improve this answer

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