Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

This is a duplicate of Mac Terminal Copy on select like Putty but I would like a solution for Linux.

So basically, (how) can I set the selected text to be copied and pasted on right click?

share|improve this question
    
gnome terminal does that by default, u just need to use Shift-Insert instead of right click to paste –  Alex N. Oct 31 '11 at 5:15
    
Right, so then can we make it work on all gnome applications? As the default mouse behavior (paste needed also) –  Sanjeev Satheesh Oct 31 '11 at 5:20
    
It's a per-application thing, some applications would need different settings, I'm sure. –  Rob Oct 31 '11 at 5:21
    
So you want right click to act as "paste" command in all gnome applications? How would you invoke context menu then? –  Alex N. Oct 31 '11 at 5:24
    
ok :P you got me. fine, then I can haz paste on terminal? –  Sanjeev Satheesh Oct 31 '11 at 5:26

3 Answers 3

As already pointed out by Alex, it is , at least, not a good thing make right click act like paste command. On terminal, you can usually set this up in preferences. Alternatively you can use terminator instead of default terminal and get this feature along with a lot more.

share|improve this answer

You can use the middle mouse button, I use this all the time on GNOME based desktops, might work on others however I haven't tried.

When you highlight some text it gets copied in the middle mouse clipboard, then when you want to paste what you have highlighted you press the middle mouse button.

The middle mouse butten clipboard does not overwrite what you have in the normal right click/menu - edit paste clipboard so you can store different things in both clipboards. I believe the normal clipboard does overwrite what you have the middle mouse clipboard when you copy things in to it.

share|improve this answer

In Ubuntu 12.04, I was able to paste using Ctrl+Shift+Insert.

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.