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.

In putty/cygwin my config is:

  • select in console -> copies to clipboard
  • right click -> pastes from clipboard.

Was after a terminal in Linux which might provide me with both of these features? I haven't been able to find one.

Any help would be appreciated.

share|improve this question
    
you can copy and paste into terminal, you you have to select it from a dropdown list when you press right-mouse button. –  Dr_Bunsen Nov 3 '12 at 7:30
2  
Yup, have seen that. Was after something which was faster, and more to the way I usually work. Thanks. –  Ben Nov 3 '12 at 8:45

6 Answers 6

up vote 1 down vote accepted

Solution with Terminator from this site.

sudo vi /usr/share/terminator/terminatorlib/terminal.py

Look for function : on_buttonpress

Revert button test (contextual menu go to middle click, paste on right click) :

def on_buttonpress(self, widget, event):
    ...
    if event.button == 1:
        ...
    elif event.button == 3:
        ...
    elif event.button == 2:
        ...

    return(False)

Now waiting for the feature request on Terminator :)

share|improve this answer

Most of the terminals seem to use copy on select and middle-button to paste selection, or emulated middle-button to paste (using both mouse buttons at once). This is typical Unix behavior, and the emulation is the updated usage required by Microsoft-type mice with only two buttons or two buttons and a scrollwheel.

The mouse buttons could be remapped with xinput or other means. This will differ from version to version and on different mouse models. See the Ubuntu community documentation for that.

Also see this question, which is the reverse of the procedure you'd need.

Terminals I have that use select to copy and middle to paste include Gnome terminal, xfce terminal, Eterm, plain xterm, uxterm, rxvt, mrxvt, and aterm. I'm sure there are others.

My primary terminal, terminator (use apt-get or the software center to install), lets you choose copy on select as an option (with a single click):

Open preference and click the 'copy on select' box :

terminator preferences

share|improve this answer
    
THANKS SO MANY TIMES. I thought I will go insane. –  Karel Bílek Apr 15 at 22:04
    
Any idea how to make this the default terminal in gnome? –  Peeter Joot Nov 21 at 18:29

Not sure which terminal you're using right now but the default terminal in Ubuntu allows you to copy and paste. In your desktop environment select the text you want to copy and press ctrl+shift+c. If you have something in your clipboard that you want to paste, put the cursor in the right position and press ctrl+shift+v.

The other option is as Dr_Bunsen comments above says, both options are available in the right mouse button dropdown list.

share|improve this answer

I use a non-free application with exactly that feature:

VanDyke.com > Products > SecureCRT

It support left-button select or Ctrl-Shift-C (to clipboard), and right-button or Ctrl-Shift-V (to paste). I use either, depending on how keyboard- or mouse- centric the task is.

SecureCRT also supports pre-configured login (scripts), multiple sessions (tabs/windows), and full scripting (extensibility). I find that when doing a lot of remote support, across multiple sites, these extra features are critical.

I have used it for years on Windows (or under Ubuntu + Wine), but it was ported to Linux in early 2011. I have not yet found a free alternate with all the features it offers.

share|improve this answer
    
Looks like a really cool terminal. Such a shame that it costs so much. –  Ben Nov 3 '12 at 18:44

This is currently impossible in gnome-terminal, but I filled a request to add this as an option:

https://bugzilla.gnome.org/show_bug.cgi?id=739215

share|improve this answer

I'm using Ubuntu 14.04. Using the default Gnome terminal, if I highlight text then press my mouse wheel it will paste whatever is highlighted.

Hope this works for others. I liked this feature when I was (forced) to use a Windows desktop and putty.

share|improve this answer
2  
This answer was already given and does not add information. –  Requist Dec 10 at 15:16

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.