A terminal which provides select-to-copy and right-click-to-paste












61















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






  • 7





    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











  • blog.tremende.com/2016/04/02/…

    – mpapec
    Apr 7 '17 at 22:18
















61















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






  • 7





    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











  • blog.tremende.com/2016/04/02/…

    – mpapec
    Apr 7 '17 at 22:18














61












61








61


20






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














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.







gnome-terminal






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 3 '12 at 7:26









BenBen

408145




408145













  • 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






  • 7





    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











  • blog.tremende.com/2016/04/02/…

    – mpapec
    Apr 7 '17 at 22:18



















  • 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






  • 7





    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











  • blog.tremende.com/2016/04/02/…

    – mpapec
    Apr 7 '17 at 22:18

















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





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




7




7





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





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













blog.tremende.com/2016/04/02/…

– mpapec
Apr 7 '17 at 22:18





blog.tremende.com/2016/04/02/…

– mpapec
Apr 7 '17 at 22:18










12 Answers
12






active

oldest

votes


















21














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



















  • 9





    Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

    – geedoubleya
    Mar 26 '15 at 15:27






  • 1





    Looks like the feature request is now in - "PuTTY style paste" on the global tab.

    – AdamS
    Jul 14 '18 at 10:01



















45














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





















  • 1





    Any idea how to make this the default terminal in gnome?

    – Peeter Joot
    Nov 21 '14 at 18:29






  • 1





    It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

    – Eborbob
    Sep 8 '16 at 19:51











  • Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

    – Ligemer
    Dec 20 '18 at 21:32



















28














press the middle scroll wheel, man.






share|improve this answer



















  • 4





    I love short and precise answers!

    – Antony Hatchkins
    Feb 27 '16 at 12:34













  • Thanks! I was looking for a solution for gnome-terminal.

    – narendra-choudhary
    Mar 18 '18 at 7:37











  • ok ok, I forgot to do that

    – Damian Lattenero
    Jun 11 '18 at 15:16



















11














To save some time for those who are checking, the terminals below don't support this feature.





  • gnome-terminal 3.6.2 (C, GPL), bug report


  • sakura 3.1.3 (C, GTK+, GPLv2), bug report






share|improve this answer





















  • 5





    Both bug reports are marked as "won't fix", sadly.

    – mwfearnley
    Nov 17 '15 at 12:22











  • @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

    – anatoly techtonik
    Jun 15 '18 at 6:16



















6














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































    4














    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



















    3














    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



















    • 3





      This answer was already given and does not add information.

      – Requist
      Dec 10 '14 at 15:16



















    1














    It's not everything you want, but a middle-click in Gnome Terminal takes the place of the right-click - it does a copy-and-paste (using the clipboard) on selected text, and pastes otherwise.



    I don't think there's any equivalent way to just copy though - the right-click context menu seems to be the closest option.






    share|improve this answer































      1














      Another terminal that would work and hasn't been mentioned here is Gnome Connection Manager: http://kuthulu.com/gcm/



      This is actually my personal favourite because it allows you to connect to multiple machines in a very user friendly way.



      You can set it up to automatically copy selected text, and text can be pasted using right click.






      share|improve this answer































        1














        If right-click paste in your terminal accidentally broken, this could happens after updating gnome >=3.9



        Solution is here: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_middle-click_paste_the_primary_selection.3F



        # ~/.config/gtk-3.0/settings.ini
        [Settings]
        gtk-enable-primary-paste=true





        share|improve this answer
























        • Thx, this is what I was looking for.

          – joemooney
          Jan 24 '18 at 15:54



















        0














        For gnome-terminal a patch exists: https://github.com/jrnewell/ubuntu-gnome-terminal-patch to copy-paste in putty-style.



        Tested on Ubuntu 16.04 + GNOME Shell 3.18.5 with LightDm. It works!



        Upd: Updated for Ubuntu 18 here: https://github.com/sasha-ch/ubuntu-gnome-terminal-patch . Feedback are welcome!






        share|improve this answer

































          0














          Tested in terminator installation on top of cgywin, the "terminal.py" is located in /usr/lib/python2.7/site-packages/terminatorlib/terminal.py



          search for "rightclick" and change elif options as follow will do the same as mentioned in the early post.



          elif event.button == 3:
          # rightclick should paste the clipboard
          self.paste_clipboard(True)
          return(True)
          elif event.button == 2:
          # middleclick should display a context menu if Ctrl is not pressed
          if event.state & gtk.gdk.CONTROL_MASK == 0:
          self.popup_menu(widget, event)
          return(True)





          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f211292%2fa-terminal-which-provides-select-to-copy-and-right-click-to-paste%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            12 Answers
            12






            active

            oldest

            votes








            12 Answers
            12






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            21














            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



















            • 9





              Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

              – geedoubleya
              Mar 26 '15 at 15:27






            • 1





              Looks like the feature request is now in - "PuTTY style paste" on the global tab.

              – AdamS
              Jul 14 '18 at 10:01
















            21














            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



















            • 9





              Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

              – geedoubleya
              Mar 26 '15 at 15:27






            • 1





              Looks like the feature request is now in - "PuTTY style paste" on the global tab.

              – AdamS
              Jul 14 '18 at 10:01














            21












            21








            21







            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













            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












            share|improve this answer



            share|improve this answer










            answered Nov 22 '14 at 1:20









            pleutrepleutre

            32622




            32622








            • 9





              Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

              – geedoubleya
              Mar 26 '15 at 15:27






            • 1





              Looks like the feature request is now in - "PuTTY style paste" on the global tab.

              – AdamS
              Jul 14 '18 at 10:01














            • 9





              Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

              – geedoubleya
              Mar 26 '15 at 15:27






            • 1





              Looks like the feature request is now in - "PuTTY style paste" on the global tab.

              – AdamS
              Jul 14 '18 at 10:01








            9




            9





            Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

            – geedoubleya
            Mar 26 '15 at 15:27





            Excellent - thanks for finding a solution to this without arguing that the requester should change their behaviour.

            – geedoubleya
            Mar 26 '15 at 15:27




            1




            1





            Looks like the feature request is now in - "PuTTY style paste" on the global tab.

            – AdamS
            Jul 14 '18 at 10:01





            Looks like the feature request is now in - "PuTTY style paste" on the global tab.

            – AdamS
            Jul 14 '18 at 10:01













            45














            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





















            • 1





              Any idea how to make this the default terminal in gnome?

              – Peeter Joot
              Nov 21 '14 at 18:29






            • 1





              It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

              – Eborbob
              Sep 8 '16 at 19:51











            • Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

              – Ligemer
              Dec 20 '18 at 21:32
















            45














            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





















            • 1





              Any idea how to make this the default terminal in gnome?

              – Peeter Joot
              Nov 21 '14 at 18:29






            • 1





              It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

              – Eborbob
              Sep 8 '16 at 19:51











            • Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

              – Ligemer
              Dec 20 '18 at 21:32














            45












            45








            45







            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















            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














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:23









            Community

            1




            1










            answered May 25 '13 at 0:29









            belacquabelacqua

            15.9k1473103




            15.9k1473103








            • 1





              Any idea how to make this the default terminal in gnome?

              – Peeter Joot
              Nov 21 '14 at 18:29






            • 1





              It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

              – Eborbob
              Sep 8 '16 at 19:51











            • Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

              – Ligemer
              Dec 20 '18 at 21:32














            • 1





              Any idea how to make this the default terminal in gnome?

              – Peeter Joot
              Nov 21 '14 at 18:29






            • 1





              It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

              – Eborbob
              Sep 8 '16 at 19:51











            • Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

              – Ligemer
              Dec 20 '18 at 21:32








            1




            1





            Any idea how to make this the default terminal in gnome?

            – Peeter Joot
            Nov 21 '14 at 18:29





            Any idea how to make this the default terminal in gnome?

            – Peeter Joot
            Nov 21 '14 at 18:29




            1




            1





            It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

            – Eborbob
            Sep 8 '16 at 19:51





            It's worth pointing out that the clipboard used when selecting text is different to that of an explicit copy (via keyboard shortcut or menu item). To paste from this keyboard you must use the middle mouse button, and not keyboard shortcut or menu. This is different behaviour to Putty on Windows.

            – Eborbob
            Sep 8 '16 at 19:51













            Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

            – Ligemer
            Dec 20 '18 at 21:32





            Yaay for Terminator! Now I can copy and paste happy town with all my macros without an extra copy key press. I hightlighted it.... I want it copied. Yay!

            – Ligemer
            Dec 20 '18 at 21:32











            28














            press the middle scroll wheel, man.






            share|improve this answer



















            • 4





              I love short and precise answers!

              – Antony Hatchkins
              Feb 27 '16 at 12:34













            • Thanks! I was looking for a solution for gnome-terminal.

              – narendra-choudhary
              Mar 18 '18 at 7:37











            • ok ok, I forgot to do that

              – Damian Lattenero
              Jun 11 '18 at 15:16
















            28














            press the middle scroll wheel, man.






            share|improve this answer



















            • 4





              I love short and precise answers!

              – Antony Hatchkins
              Feb 27 '16 at 12:34













            • Thanks! I was looking for a solution for gnome-terminal.

              – narendra-choudhary
              Mar 18 '18 at 7:37











            • ok ok, I forgot to do that

              – Damian Lattenero
              Jun 11 '18 at 15:16














            28












            28








            28







            press the middle scroll wheel, man.






            share|improve this answer













            press the middle scroll wheel, man.







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Sep 29 '15 at 2:14









            user455700user455700

            28132




            28132








            • 4





              I love short and precise answers!

              – Antony Hatchkins
              Feb 27 '16 at 12:34













            • Thanks! I was looking for a solution for gnome-terminal.

              – narendra-choudhary
              Mar 18 '18 at 7:37











            • ok ok, I forgot to do that

              – Damian Lattenero
              Jun 11 '18 at 15:16














            • 4





              I love short and precise answers!

              – Antony Hatchkins
              Feb 27 '16 at 12:34













            • Thanks! I was looking for a solution for gnome-terminal.

              – narendra-choudhary
              Mar 18 '18 at 7:37











            • ok ok, I forgot to do that

              – Damian Lattenero
              Jun 11 '18 at 15:16








            4




            4





            I love short and precise answers!

            – Antony Hatchkins
            Feb 27 '16 at 12:34







            I love short and precise answers!

            – Antony Hatchkins
            Feb 27 '16 at 12:34















            Thanks! I was looking for a solution for gnome-terminal.

            – narendra-choudhary
            Mar 18 '18 at 7:37





            Thanks! I was looking for a solution for gnome-terminal.

            – narendra-choudhary
            Mar 18 '18 at 7:37













            ok ok, I forgot to do that

            – Damian Lattenero
            Jun 11 '18 at 15:16





            ok ok, I forgot to do that

            – Damian Lattenero
            Jun 11 '18 at 15:16











            11














            To save some time for those who are checking, the terminals below don't support this feature.





            • gnome-terminal 3.6.2 (C, GPL), bug report


            • sakura 3.1.3 (C, GTK+, GPLv2), bug report






            share|improve this answer





















            • 5





              Both bug reports are marked as "won't fix", sadly.

              – mwfearnley
              Nov 17 '15 at 12:22











            • @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

              – anatoly techtonik
              Jun 15 '18 at 6:16
















            11














            To save some time for those who are checking, the terminals below don't support this feature.





            • gnome-terminal 3.6.2 (C, GPL), bug report


            • sakura 3.1.3 (C, GTK+, GPLv2), bug report






            share|improve this answer





















            • 5





              Both bug reports are marked as "won't fix", sadly.

              – mwfearnley
              Nov 17 '15 at 12:22











            • @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

              – anatoly techtonik
              Jun 15 '18 at 6:16














            11












            11








            11







            To save some time for those who are checking, the terminals below don't support this feature.





            • gnome-terminal 3.6.2 (C, GPL), bug report


            • sakura 3.1.3 (C, GTK+, GPLv2), bug report






            share|improve this answer















            To save some time for those who are checking, the terminals below don't support this feature.





            • gnome-terminal 3.6.2 (C, GPL), bug report


            • sakura 3.1.3 (C, GTK+, GPLv2), bug report







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jan 18 '15 at 18:39


























            community wiki





            2 revs
            techtonik









            • 5





              Both bug reports are marked as "won't fix", sadly.

              – mwfearnley
              Nov 17 '15 at 12:22











            • @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

              – anatoly techtonik
              Jun 15 '18 at 6:16














            • 5





              Both bug reports are marked as "won't fix", sadly.

              – mwfearnley
              Nov 17 '15 at 12:22











            • @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

              – anatoly techtonik
              Jun 15 '18 at 6:16








            5




            5





            Both bug reports are marked as "won't fix", sadly.

            – mwfearnley
            Nov 17 '15 at 12:22





            Both bug reports are marked as "won't fix", sadly.

            – mwfearnley
            Nov 17 '15 at 12:22













            @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

            – anatoly techtonik
            Jun 15 '18 at 6:16





            @mwfearnley maybe becayse they use the same base library that upstream doesn't want to patch. I could make a list of those, but not now.

            – anatoly techtonik
            Jun 15 '18 at 6:16











            6














            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




























              6














              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


























                6












                6








                6







                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













                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












                share|improve this answer



                share|improve this answer










                answered Nov 3 '12 at 8:03









                CHolmstedtCHolmstedt

                198118




                198118























                    4














                    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
















                    4














                    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














                    4












                    4








                    4







                    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















                    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














                    share|improve this answer



                    share|improve this answer








                    edited Nov 7 '12 at 10:22

























                    answered Nov 3 '12 at 9:39









                    david6david6

                    13.7k43145




                    13.7k43145













                    • Looks like a really cool terminal. Such a shame that it costs so much.

                      – Ben
                      Nov 3 '12 at 18:44



















                    • Looks like a really cool terminal. Such a shame that it costs so much.

                      – Ben
                      Nov 3 '12 at 18:44

















                    Looks like a really cool terminal. Such a shame that it costs so much.

                    – Ben
                    Nov 3 '12 at 18:44





                    Looks like a really cool terminal. Such a shame that it costs so much.

                    – Ben
                    Nov 3 '12 at 18:44











                    3














                    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



















                    • 3





                      This answer was already given and does not add information.

                      – Requist
                      Dec 10 '14 at 15:16
















                    3














                    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



















                    • 3





                      This answer was already given and does not add information.

                      – Requist
                      Dec 10 '14 at 15:16














                    3












                    3








                    3







                    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













                    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












                    share|improve this answer



                    share|improve this answer










                    answered Dec 10 '14 at 14:16









                    Parm PatramParm Patram

                    411




                    411








                    • 3





                      This answer was already given and does not add information.

                      – Requist
                      Dec 10 '14 at 15:16














                    • 3





                      This answer was already given and does not add information.

                      – Requist
                      Dec 10 '14 at 15:16








                    3




                    3





                    This answer was already given and does not add information.

                    – Requist
                    Dec 10 '14 at 15:16





                    This answer was already given and does not add information.

                    – Requist
                    Dec 10 '14 at 15:16











                    1














                    It's not everything you want, but a middle-click in Gnome Terminal takes the place of the right-click - it does a copy-and-paste (using the clipboard) on selected text, and pastes otherwise.



                    I don't think there's any equivalent way to just copy though - the right-click context menu seems to be the closest option.






                    share|improve this answer




























                      1














                      It's not everything you want, but a middle-click in Gnome Terminal takes the place of the right-click - it does a copy-and-paste (using the clipboard) on selected text, and pastes otherwise.



                      I don't think there's any equivalent way to just copy though - the right-click context menu seems to be the closest option.






                      share|improve this answer


























                        1












                        1








                        1







                        It's not everything you want, but a middle-click in Gnome Terminal takes the place of the right-click - it does a copy-and-paste (using the clipboard) on selected text, and pastes otherwise.



                        I don't think there's any equivalent way to just copy though - the right-click context menu seems to be the closest option.






                        share|improve this answer













                        It's not everything you want, but a middle-click in Gnome Terminal takes the place of the right-click - it does a copy-and-paste (using the clipboard) on selected text, and pastes otherwise.



                        I don't think there's any equivalent way to just copy though - the right-click context menu seems to be the closest option.







                        share|improve this answer












                        share|improve this answer



                        share|improve this answer










                        answered Dec 11 '15 at 9:34









                        mwfearnleymwfearnley

                        1,01421120




                        1,01421120























                            1














                            Another terminal that would work and hasn't been mentioned here is Gnome Connection Manager: http://kuthulu.com/gcm/



                            This is actually my personal favourite because it allows you to connect to multiple machines in a very user friendly way.



                            You can set it up to automatically copy selected text, and text can be pasted using right click.






                            share|improve this answer




























                              1














                              Another terminal that would work and hasn't been mentioned here is Gnome Connection Manager: http://kuthulu.com/gcm/



                              This is actually my personal favourite because it allows you to connect to multiple machines in a very user friendly way.



                              You can set it up to automatically copy selected text, and text can be pasted using right click.






                              share|improve this answer


























                                1












                                1








                                1







                                Another terminal that would work and hasn't been mentioned here is Gnome Connection Manager: http://kuthulu.com/gcm/



                                This is actually my personal favourite because it allows you to connect to multiple machines in a very user friendly way.



                                You can set it up to automatically copy selected text, and text can be pasted using right click.






                                share|improve this answer













                                Another terminal that would work and hasn't been mentioned here is Gnome Connection Manager: http://kuthulu.com/gcm/



                                This is actually my personal favourite because it allows you to connect to multiple machines in a very user friendly way.



                                You can set it up to automatically copy selected text, and text can be pasted using right click.







                                share|improve this answer












                                share|improve this answer



                                share|improve this answer










                                answered Feb 13 '16 at 17:46









                                Xavier AlvarezXavier Alvarez

                                461




                                461























                                    1














                                    If right-click paste in your terminal accidentally broken, this could happens after updating gnome >=3.9



                                    Solution is here: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_middle-click_paste_the_primary_selection.3F



                                    # ~/.config/gtk-3.0/settings.ini
                                    [Settings]
                                    gtk-enable-primary-paste=true





                                    share|improve this answer
























                                    • Thx, this is what I was looking for.

                                      – joemooney
                                      Jan 24 '18 at 15:54
















                                    1














                                    If right-click paste in your terminal accidentally broken, this could happens after updating gnome >=3.9



                                    Solution is here: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_middle-click_paste_the_primary_selection.3F



                                    # ~/.config/gtk-3.0/settings.ini
                                    [Settings]
                                    gtk-enable-primary-paste=true





                                    share|improve this answer
























                                    • Thx, this is what I was looking for.

                                      – joemooney
                                      Jan 24 '18 at 15:54














                                    1












                                    1








                                    1







                                    If right-click paste in your terminal accidentally broken, this could happens after updating gnome >=3.9



                                    Solution is here: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_middle-click_paste_the_primary_selection.3F



                                    # ~/.config/gtk-3.0/settings.ini
                                    [Settings]
                                    gtk-enable-primary-paste=true





                                    share|improve this answer













                                    If right-click paste in your terminal accidentally broken, this could happens after updating gnome >=3.9



                                    Solution is here: https://wiki.gnome.org/Apps/Terminal/FAQ#How_can_I_make_middle-click_paste_the_primary_selection.3F



                                    # ~/.config/gtk-3.0/settings.ini
                                    [Settings]
                                    gtk-enable-primary-paste=true






                                    share|improve this answer












                                    share|improve this answer



                                    share|improve this answer










                                    answered May 23 '17 at 6:18









                                    gaRexgaRex

                                    1313




                                    1313













                                    • Thx, this is what I was looking for.

                                      – joemooney
                                      Jan 24 '18 at 15:54



















                                    • Thx, this is what I was looking for.

                                      – joemooney
                                      Jan 24 '18 at 15:54

















                                    Thx, this is what I was looking for.

                                    – joemooney
                                    Jan 24 '18 at 15:54





                                    Thx, this is what I was looking for.

                                    – joemooney
                                    Jan 24 '18 at 15:54











                                    0














                                    For gnome-terminal a patch exists: https://github.com/jrnewell/ubuntu-gnome-terminal-patch to copy-paste in putty-style.



                                    Tested on Ubuntu 16.04 + GNOME Shell 3.18.5 with LightDm. It works!



                                    Upd: Updated for Ubuntu 18 here: https://github.com/sasha-ch/ubuntu-gnome-terminal-patch . Feedback are welcome!






                                    share|improve this answer






























                                      0














                                      For gnome-terminal a patch exists: https://github.com/jrnewell/ubuntu-gnome-terminal-patch to copy-paste in putty-style.



                                      Tested on Ubuntu 16.04 + GNOME Shell 3.18.5 with LightDm. It works!



                                      Upd: Updated for Ubuntu 18 here: https://github.com/sasha-ch/ubuntu-gnome-terminal-patch . Feedback are welcome!






                                      share|improve this answer




























                                        0












                                        0








                                        0







                                        For gnome-terminal a patch exists: https://github.com/jrnewell/ubuntu-gnome-terminal-patch to copy-paste in putty-style.



                                        Tested on Ubuntu 16.04 + GNOME Shell 3.18.5 with LightDm. It works!



                                        Upd: Updated for Ubuntu 18 here: https://github.com/sasha-ch/ubuntu-gnome-terminal-patch . Feedback are welcome!






                                        share|improve this answer















                                        For gnome-terminal a patch exists: https://github.com/jrnewell/ubuntu-gnome-terminal-patch to copy-paste in putty-style.



                                        Tested on Ubuntu 16.04 + GNOME Shell 3.18.5 with LightDm. It works!



                                        Upd: Updated for Ubuntu 18 here: https://github.com/sasha-ch/ubuntu-gnome-terminal-patch . Feedback are welcome!







                                        share|improve this answer














                                        share|improve this answer



                                        share|improve this answer








                                        edited Sep 25 '18 at 12:53

























                                        answered Apr 13 '18 at 16:15









                                        sasha-chsasha-ch

                                        112




                                        112























                                            0














                                            Tested in terminator installation on top of cgywin, the "terminal.py" is located in /usr/lib/python2.7/site-packages/terminatorlib/terminal.py



                                            search for "rightclick" and change elif options as follow will do the same as mentioned in the early post.



                                            elif event.button == 3:
                                            # rightclick should paste the clipboard
                                            self.paste_clipboard(True)
                                            return(True)
                                            elif event.button == 2:
                                            # middleclick should display a context menu if Ctrl is not pressed
                                            if event.state & gtk.gdk.CONTROL_MASK == 0:
                                            self.popup_menu(widget, event)
                                            return(True)





                                            share|improve this answer




























                                              0














                                              Tested in terminator installation on top of cgywin, the "terminal.py" is located in /usr/lib/python2.7/site-packages/terminatorlib/terminal.py



                                              search for "rightclick" and change elif options as follow will do the same as mentioned in the early post.



                                              elif event.button == 3:
                                              # rightclick should paste the clipboard
                                              self.paste_clipboard(True)
                                              return(True)
                                              elif event.button == 2:
                                              # middleclick should display a context menu if Ctrl is not pressed
                                              if event.state & gtk.gdk.CONTROL_MASK == 0:
                                              self.popup_menu(widget, event)
                                              return(True)





                                              share|improve this answer


























                                                0












                                                0








                                                0







                                                Tested in terminator installation on top of cgywin, the "terminal.py" is located in /usr/lib/python2.7/site-packages/terminatorlib/terminal.py



                                                search for "rightclick" and change elif options as follow will do the same as mentioned in the early post.



                                                elif event.button == 3:
                                                # rightclick should paste the clipboard
                                                self.paste_clipboard(True)
                                                return(True)
                                                elif event.button == 2:
                                                # middleclick should display a context menu if Ctrl is not pressed
                                                if event.state & gtk.gdk.CONTROL_MASK == 0:
                                                self.popup_menu(widget, event)
                                                return(True)





                                                share|improve this answer













                                                Tested in terminator installation on top of cgywin, the "terminal.py" is located in /usr/lib/python2.7/site-packages/terminatorlib/terminal.py



                                                search for "rightclick" and change elif options as follow will do the same as mentioned in the early post.



                                                elif event.button == 3:
                                                # rightclick should paste the clipboard
                                                self.paste_clipboard(True)
                                                return(True)
                                                elif event.button == 2:
                                                # middleclick should display a context menu if Ctrl is not pressed
                                                if event.state & gtk.gdk.CONTROL_MASK == 0:
                                                self.popup_menu(widget, event)
                                                return(True)






                                                share|improve this answer












                                                share|improve this answer



                                                share|improve this answer










                                                answered Dec 12 '18 at 12:09









                                                Ye GuanYe Guan

                                                1




                                                1






























                                                    draft saved

                                                    draft discarded




















































                                                    Thanks for contributing an answer to Ask Ubuntu!


                                                    • Please be sure to answer the question. Provide details and share your research!

                                                    But avoid



                                                    • Asking for help, clarification, or responding to other answers.

                                                    • Making statements based on opinion; back them up with references or personal experience.


                                                    To learn more, see our tips on writing great answers.




                                                    draft saved


                                                    draft discarded














                                                    StackExchange.ready(
                                                    function () {
                                                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f211292%2fa-terminal-which-provides-select-to-copy-and-right-click-to-paste%23new-answer', 'question_page');
                                                    }
                                                    );

                                                    Post as a guest















                                                    Required, but never shown





















































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown

































                                                    Required, but never shown














                                                    Required, but never shown












                                                    Required, but never shown







                                                    Required, but never shown







                                                    Popular posts from this blog

                                                    Human spaceflight

                                                    Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

                                                    張江高科駅