Copy and paste doesn't work in the terminal











up vote
7
down vote

favorite
1












Before you go marking this as a dupe, I know about Ctrl+Shift+C and Ctrl+Shift+V



I try to use them, and it doesn't work. On one particular Ubuntu computer, normal copy paste commands do not work: They do not work locally, and they do not work via remote session.



My guess was that perhaps logging into a computer where these functions where acting normally, and logging in via ssh would bypass the issue. This was not the case. I still cannot gain this functionally, even though the Ubuntu PC I am using has functional copy and paste from the terminal.



So I am out of guesses.



How do I enable this? The affected computer runs Ubuntu MATE 16.04. The terminal is mate-terminal, except when I login via ssh, in which case it's Bash. Caja is the window manager.










share|improve this question




















  • 3




    "even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
    – muru
    Oct 2 '17 at 0:23










  • So the issue only affects SSH? How are you connecting SSH?
    – wjandrea
    Oct 2 '17 at 0:42












  • Can you clarify your question
    – Panther
    Oct 2 '17 at 0:44






  • 2




    Bash isn't a terminal. It's a shell, which runs inside a terminal.
    – wjandrea
    Oct 2 '17 at 3:45








  • 1




    Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
    – Zanna
    Oct 2 '17 at 20:37

















up vote
7
down vote

favorite
1












Before you go marking this as a dupe, I know about Ctrl+Shift+C and Ctrl+Shift+V



I try to use them, and it doesn't work. On one particular Ubuntu computer, normal copy paste commands do not work: They do not work locally, and they do not work via remote session.



My guess was that perhaps logging into a computer where these functions where acting normally, and logging in via ssh would bypass the issue. This was not the case. I still cannot gain this functionally, even though the Ubuntu PC I am using has functional copy and paste from the terminal.



So I am out of guesses.



How do I enable this? The affected computer runs Ubuntu MATE 16.04. The terminal is mate-terminal, except when I login via ssh, in which case it's Bash. Caja is the window manager.










share|improve this question




















  • 3




    "even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
    – muru
    Oct 2 '17 at 0:23










  • So the issue only affects SSH? How are you connecting SSH?
    – wjandrea
    Oct 2 '17 at 0:42












  • Can you clarify your question
    – Panther
    Oct 2 '17 at 0:44






  • 2




    Bash isn't a terminal. It's a shell, which runs inside a terminal.
    – wjandrea
    Oct 2 '17 at 3:45








  • 1




    Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
    – Zanna
    Oct 2 '17 at 20:37















up vote
7
down vote

favorite
1









up vote
7
down vote

favorite
1






1





Before you go marking this as a dupe, I know about Ctrl+Shift+C and Ctrl+Shift+V



I try to use them, and it doesn't work. On one particular Ubuntu computer, normal copy paste commands do not work: They do not work locally, and they do not work via remote session.



My guess was that perhaps logging into a computer where these functions where acting normally, and logging in via ssh would bypass the issue. This was not the case. I still cannot gain this functionally, even though the Ubuntu PC I am using has functional copy and paste from the terminal.



So I am out of guesses.



How do I enable this? The affected computer runs Ubuntu MATE 16.04. The terminal is mate-terminal, except when I login via ssh, in which case it's Bash. Caja is the window manager.










share|improve this question















Before you go marking this as a dupe, I know about Ctrl+Shift+C and Ctrl+Shift+V



I try to use them, and it doesn't work. On one particular Ubuntu computer, normal copy paste commands do not work: They do not work locally, and they do not work via remote session.



My guess was that perhaps logging into a computer where these functions where acting normally, and logging in via ssh would bypass the issue. This was not the case. I still cannot gain this functionally, even though the Ubuntu PC I am using has functional copy and paste from the terminal.



So I am out of guesses.



How do I enable this? The affected computer runs Ubuntu MATE 16.04. The terminal is mate-terminal, except when I login via ssh, in which case it's Bash. Caja is the window manager.







command-line ssh copy paste






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 2 '17 at 20:33









Zanna

49.1k13123234




49.1k13123234










asked Oct 2 '17 at 0:09









j0h

6,1461351110




6,1461351110








  • 3




    "even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
    – muru
    Oct 2 '17 at 0:23










  • So the issue only affects SSH? How are you connecting SSH?
    – wjandrea
    Oct 2 '17 at 0:42












  • Can you clarify your question
    – Panther
    Oct 2 '17 at 0:44






  • 2




    Bash isn't a terminal. It's a shell, which runs inside a terminal.
    – wjandrea
    Oct 2 '17 at 3:45








  • 1




    Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
    – Zanna
    Oct 2 '17 at 20:37
















  • 3




    "even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
    – muru
    Oct 2 '17 at 0:23










  • So the issue only affects SSH? How are you connecting SSH?
    – wjandrea
    Oct 2 '17 at 0:42












  • Can you clarify your question
    – Panther
    Oct 2 '17 at 0:44






  • 2




    Bash isn't a terminal. It's a shell, which runs inside a terminal.
    – wjandrea
    Oct 2 '17 at 3:45








  • 1




    Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
    – Zanna
    Oct 2 '17 at 20:37










3




3




"even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
– muru
Oct 2 '17 at 0:23




"even thought the ubuntu pc I am using has functional copy paste from the terminal" ... I'm confused - is copy-paste working or not?
– muru
Oct 2 '17 at 0:23












So the issue only affects SSH? How are you connecting SSH?
– wjandrea
Oct 2 '17 at 0:42






So the issue only affects SSH? How are you connecting SSH?
– wjandrea
Oct 2 '17 at 0:42














Can you clarify your question
– Panther
Oct 2 '17 at 0:44




Can you clarify your question
– Panther
Oct 2 '17 at 0:44




2




2




Bash isn't a terminal. It's a shell, which runs inside a terminal.
– wjandrea
Oct 2 '17 at 3:45






Bash isn't a terminal. It's a shell, which runs inside a terminal.
– wjandrea
Oct 2 '17 at 3:45






1




1




Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
– Zanna
Oct 2 '17 at 20:37






Caja isn't a window manager - it's a file manager/browser (default on MATE). The default window manager on MATE is Marco (a fork of Metacity). I use MATE, and Ctrl+Shift+C/V have worked fine for me in mate-terminal throughout my time using MATE (in 16.04, 16.10, 17.04). cc @bodhi.zazen since you asked about this :)
– Zanna
Oct 2 '17 at 20:37












3 Answers
3






active

oldest

votes

















up vote
12
down vote













There are different ways to mark/copy and paste in linux. One of them works in all terminal emulators that I know, including xterm.



1. The linux mark and paste method - 'middle clicking'




  • Mark the text, that you want to paste by pressing the left mouse button and move the mouse. (You can left click twice to mark a word or three times to mark a line.)


  • Move the mouse cursor to where you want to paste the text.



  • Press the middle button or scrolling wheel (like it were a button). If no middle button, press the left and right buttons at the same time.



    In a terminal window, the text will be pasted at the cursor position. This works in the same terminal window, in another terminal window as well as in other programs, for example Firefox and gedit.




2. A method that works in many but not all terminal windows



2.1 Via menus




  • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


  • Use a pull-down or right-click menu and select 'Copy' (to clipboard).


  • Move the mouse cursor to where you want to copy the text.


  • Use a pull-down or right-click menu and select 'Paste'



2.2 hotkey combination with ctrl




  • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


  • Press shift + ctrl + c to 'Copy' (to clipboard).


  • Press shift + ctrl + v to 'Paste' into another terminal window.


  • Press ctrl + v to 'Paste' into a normal GUI application program, for example Firefox or Gedit.







share|improve this answer



















  • 1




    I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
    – fchen
    Jan 22 at 4:54










  • @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
    – sudodus
    Jan 22 at 7:04










  • I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
    – fchen
    Jan 23 at 4:41










  • @fchen I'm on 16.04 and I'm experiencing the same problem :/
    – polynomial_donut
    May 15 at 14:28






  • 1




    Let us continue this discussion in chat.
    – sudodus
    May 16 at 17:08


















up vote
2
down vote













FWIW, I don't do much cutting & pasting in a terminal. Just typing. What are you up to that makes cutting important?



Copy/paste is provided by the terminal program, if at all. There is no general answer. Since you don't tell us which terminal emulator you use, we cannot help. If terminal has pull down menu (gnome terminal), you may get hints. I am almost sure there is no Ctrl+V in xterm or rxvt.



ALSO can get cut/paste from program you are running in terminal. Launch emacs in a terminal, cut is Ctrl+W and paste is Ctrl+Y.



The only general paste feature will come from the basic Linux OS. This works in a Virtual Terminal (Alt+Ctrl+F1) as well. Use the left button to highlight. Then middle click to paste. Action must happen with no clicks between. Middle click is a focus and paste in one step. I use that all the time.



Also possible to install a clipboard imitation, maybe find terminal to cooperate with it. Transfer text from one program to another.






share|improve this answer























  • How do you use the mouse in a TTY?
    – wjandrea
    Oct 2 '17 at 3:55






  • 4




    @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
    – dessert
    Oct 2 '17 at 5:13


















up vote
1
down vote













Have you tried using Ctrl+Ins and Shift+Ins? I'm not sure about copying, but pasting works fine for me. Give it a try and EDIT your question if it doesn't work.






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',
    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%2f961175%2fcopy-and-paste-doesnt-work-in-the-terminal%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    12
    down vote













    There are different ways to mark/copy and paste in linux. One of them works in all terminal emulators that I know, including xterm.



    1. The linux mark and paste method - 'middle clicking'




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse. (You can left click twice to mark a word or three times to mark a line.)


    • Move the mouse cursor to where you want to paste the text.



    • Press the middle button or scrolling wheel (like it were a button). If no middle button, press the left and right buttons at the same time.



      In a terminal window, the text will be pasted at the cursor position. This works in the same terminal window, in another terminal window as well as in other programs, for example Firefox and gedit.




    2. A method that works in many but not all terminal windows



    2.1 Via menus




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Use a pull-down or right-click menu and select 'Copy' (to clipboard).


    • Move the mouse cursor to where you want to copy the text.


    • Use a pull-down or right-click menu and select 'Paste'



    2.2 hotkey combination with ctrl




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Press shift + ctrl + c to 'Copy' (to clipboard).


    • Press shift + ctrl + v to 'Paste' into another terminal window.


    • Press ctrl + v to 'Paste' into a normal GUI application program, for example Firefox or Gedit.







    share|improve this answer



















    • 1




      I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
      – fchen
      Jan 22 at 4:54










    • @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
      – sudodus
      Jan 22 at 7:04










    • I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
      – fchen
      Jan 23 at 4:41










    • @fchen I'm on 16.04 and I'm experiencing the same problem :/
      – polynomial_donut
      May 15 at 14:28






    • 1




      Let us continue this discussion in chat.
      – sudodus
      May 16 at 17:08















    up vote
    12
    down vote













    There are different ways to mark/copy and paste in linux. One of them works in all terminal emulators that I know, including xterm.



    1. The linux mark and paste method - 'middle clicking'




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse. (You can left click twice to mark a word or three times to mark a line.)


    • Move the mouse cursor to where you want to paste the text.



    • Press the middle button or scrolling wheel (like it were a button). If no middle button, press the left and right buttons at the same time.



      In a terminal window, the text will be pasted at the cursor position. This works in the same terminal window, in another terminal window as well as in other programs, for example Firefox and gedit.




    2. A method that works in many but not all terminal windows



    2.1 Via menus




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Use a pull-down or right-click menu and select 'Copy' (to clipboard).


    • Move the mouse cursor to where you want to copy the text.


    • Use a pull-down or right-click menu and select 'Paste'



    2.2 hotkey combination with ctrl




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Press shift + ctrl + c to 'Copy' (to clipboard).


    • Press shift + ctrl + v to 'Paste' into another terminal window.


    • Press ctrl + v to 'Paste' into a normal GUI application program, for example Firefox or Gedit.







    share|improve this answer



















    • 1




      I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
      – fchen
      Jan 22 at 4:54










    • @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
      – sudodus
      Jan 22 at 7:04










    • I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
      – fchen
      Jan 23 at 4:41










    • @fchen I'm on 16.04 and I'm experiencing the same problem :/
      – polynomial_donut
      May 15 at 14:28






    • 1




      Let us continue this discussion in chat.
      – sudodus
      May 16 at 17:08













    up vote
    12
    down vote










    up vote
    12
    down vote









    There are different ways to mark/copy and paste in linux. One of them works in all terminal emulators that I know, including xterm.



    1. The linux mark and paste method - 'middle clicking'




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse. (You can left click twice to mark a word or three times to mark a line.)


    • Move the mouse cursor to where you want to paste the text.



    • Press the middle button or scrolling wheel (like it were a button). If no middle button, press the left and right buttons at the same time.



      In a terminal window, the text will be pasted at the cursor position. This works in the same terminal window, in another terminal window as well as in other programs, for example Firefox and gedit.




    2. A method that works in many but not all terminal windows



    2.1 Via menus




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Use a pull-down or right-click menu and select 'Copy' (to clipboard).


    • Move the mouse cursor to where you want to copy the text.


    • Use a pull-down or right-click menu and select 'Paste'



    2.2 hotkey combination with ctrl




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Press shift + ctrl + c to 'Copy' (to clipboard).


    • Press shift + ctrl + v to 'Paste' into another terminal window.


    • Press ctrl + v to 'Paste' into a normal GUI application program, for example Firefox or Gedit.







    share|improve this answer














    There are different ways to mark/copy and paste in linux. One of them works in all terminal emulators that I know, including xterm.



    1. The linux mark and paste method - 'middle clicking'




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse. (You can left click twice to mark a word or three times to mark a line.)


    • Move the mouse cursor to where you want to paste the text.



    • Press the middle button or scrolling wheel (like it were a button). If no middle button, press the left and right buttons at the same time.



      In a terminal window, the text will be pasted at the cursor position. This works in the same terminal window, in another terminal window as well as in other programs, for example Firefox and gedit.




    2. A method that works in many but not all terminal windows



    2.1 Via menus




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Use a pull-down or right-click menu and select 'Copy' (to clipboard).


    • Move the mouse cursor to where you want to copy the text.


    • Use a pull-down or right-click menu and select 'Paste'



    2.2 hotkey combination with ctrl




    • Mark the text, that you want to paste by pressing the left mouse button and move the mouse.


    • Press shift + ctrl + c to 'Copy' (to clipboard).


    • Press shift + ctrl + v to 'Paste' into another terminal window.


    • Press ctrl + v to 'Paste' into a normal GUI application program, for example Firefox or Gedit.








    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Oct 2 '17 at 9:26

























    answered Oct 2 '17 at 5:58









    sudodus

    21.7k32871




    21.7k32871








    • 1




      I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
      – fchen
      Jan 22 at 4:54










    • @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
      – sudodus
      Jan 22 at 7:04










    • I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
      – fchen
      Jan 23 at 4:41










    • @fchen I'm on 16.04 and I'm experiencing the same problem :/
      – polynomial_donut
      May 15 at 14:28






    • 1




      Let us continue this discussion in chat.
      – sudodus
      May 16 at 17:08














    • 1




      I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
      – fchen
      Jan 22 at 4:54










    • @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
      – sudodus
      Jan 22 at 7:04










    • I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
      – fchen
      Jan 23 at 4:41










    • @fchen I'm on 16.04 and I'm experiencing the same problem :/
      – polynomial_donut
      May 15 at 14:28






    • 1




      Let us continue this discussion in chat.
      – sudodus
      May 16 at 17:08








    1




    1




    I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
    – fchen
    Jan 22 at 4:54




    I upgraded to Ubuntu 17.10, one thing is the default x-manager changed from unity back to gnome. Now the copy-on-select no longer work, when I use middle button to paste, it pastes some other clipboard buffer. I am still looking for solutions.
    – fchen
    Jan 22 at 4:54












    @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
    – sudodus
    Jan 22 at 7:04




    @fchen, pasting with middle-click works for me in 17.10, even with Wayland. My system is a fresh install. I know that there are some problems with 17.10 systems that are upgraded from previous versions.
    – sudodus
    Jan 22 at 7:04












    I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
    – fchen
    Jan 23 at 4:41




    I switched from ubuntu xorg to unity and it works now. From other searches, people reported the copy-to-select works for a period and then won't work for some reason until you reboot.
    – fchen
    Jan 23 at 4:41












    @fchen I'm on 16.04 and I'm experiencing the same problem :/
    – polynomial_donut
    May 15 at 14:28




    @fchen I'm on 16.04 and I'm experiencing the same problem :/
    – polynomial_donut
    May 15 at 14:28




    1




    1




    Let us continue this discussion in chat.
    – sudodus
    May 16 at 17:08




    Let us continue this discussion in chat.
    – sudodus
    May 16 at 17:08












    up vote
    2
    down vote













    FWIW, I don't do much cutting & pasting in a terminal. Just typing. What are you up to that makes cutting important?



    Copy/paste is provided by the terminal program, if at all. There is no general answer. Since you don't tell us which terminal emulator you use, we cannot help. If terminal has pull down menu (gnome terminal), you may get hints. I am almost sure there is no Ctrl+V in xterm or rxvt.



    ALSO can get cut/paste from program you are running in terminal. Launch emacs in a terminal, cut is Ctrl+W and paste is Ctrl+Y.



    The only general paste feature will come from the basic Linux OS. This works in a Virtual Terminal (Alt+Ctrl+F1) as well. Use the left button to highlight. Then middle click to paste. Action must happen with no clicks between. Middle click is a focus and paste in one step. I use that all the time.



    Also possible to install a clipboard imitation, maybe find terminal to cooperate with it. Transfer text from one program to another.






    share|improve this answer























    • How do you use the mouse in a TTY?
      – wjandrea
      Oct 2 '17 at 3:55






    • 4




      @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
      – dessert
      Oct 2 '17 at 5:13















    up vote
    2
    down vote













    FWIW, I don't do much cutting & pasting in a terminal. Just typing. What are you up to that makes cutting important?



    Copy/paste is provided by the terminal program, if at all. There is no general answer. Since you don't tell us which terminal emulator you use, we cannot help. If terminal has pull down menu (gnome terminal), you may get hints. I am almost sure there is no Ctrl+V in xterm or rxvt.



    ALSO can get cut/paste from program you are running in terminal. Launch emacs in a terminal, cut is Ctrl+W and paste is Ctrl+Y.



    The only general paste feature will come from the basic Linux OS. This works in a Virtual Terminal (Alt+Ctrl+F1) as well. Use the left button to highlight. Then middle click to paste. Action must happen with no clicks between. Middle click is a focus and paste in one step. I use that all the time.



    Also possible to install a clipboard imitation, maybe find terminal to cooperate with it. Transfer text from one program to another.






    share|improve this answer























    • How do you use the mouse in a TTY?
      – wjandrea
      Oct 2 '17 at 3:55






    • 4




      @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
      – dessert
      Oct 2 '17 at 5:13













    up vote
    2
    down vote










    up vote
    2
    down vote









    FWIW, I don't do much cutting & pasting in a terminal. Just typing. What are you up to that makes cutting important?



    Copy/paste is provided by the terminal program, if at all. There is no general answer. Since you don't tell us which terminal emulator you use, we cannot help. If terminal has pull down menu (gnome terminal), you may get hints. I am almost sure there is no Ctrl+V in xterm or rxvt.



    ALSO can get cut/paste from program you are running in terminal. Launch emacs in a terminal, cut is Ctrl+W and paste is Ctrl+Y.



    The only general paste feature will come from the basic Linux OS. This works in a Virtual Terminal (Alt+Ctrl+F1) as well. Use the left button to highlight. Then middle click to paste. Action must happen with no clicks between. Middle click is a focus and paste in one step. I use that all the time.



    Also possible to install a clipboard imitation, maybe find terminal to cooperate with it. Transfer text from one program to another.






    share|improve this answer














    FWIW, I don't do much cutting & pasting in a terminal. Just typing. What are you up to that makes cutting important?



    Copy/paste is provided by the terminal program, if at all. There is no general answer. Since you don't tell us which terminal emulator you use, we cannot help. If terminal has pull down menu (gnome terminal), you may get hints. I am almost sure there is no Ctrl+V in xterm or rxvt.



    ALSO can get cut/paste from program you are running in terminal. Launch emacs in a terminal, cut is Ctrl+W and paste is Ctrl+Y.



    The only general paste feature will come from the basic Linux OS. This works in a Virtual Terminal (Alt+Ctrl+F1) as well. Use the left button to highlight. Then middle click to paste. Action must happen with no clicks between. Middle click is a focus and paste in one step. I use that all the time.



    Also possible to install a clipboard imitation, maybe find terminal to cooperate with it. Transfer text from one program to another.







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Oct 2 '17 at 5:16









    dessert

    21.3k55896




    21.3k55896










    answered Oct 2 '17 at 3:49









    pauljohn32

    2,169820




    2,169820












    • How do you use the mouse in a TTY?
      – wjandrea
      Oct 2 '17 at 3:55






    • 4




      @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
      – dessert
      Oct 2 '17 at 5:13


















    • How do you use the mouse in a TTY?
      – wjandrea
      Oct 2 '17 at 3:55






    • 4




      @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
      – dessert
      Oct 2 '17 at 5:13
















    How do you use the mouse in a TTY?
    – wjandrea
    Oct 2 '17 at 3:55




    How do you use the mouse in a TTY?
    – wjandrea
    Oct 2 '17 at 3:55




    4




    4




    @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
    – dessert
    Oct 2 '17 at 5:13




    @wjandrea By using the General Purpose Mouse interface: How can I use the mouse in a virtual terminal?
    – dessert
    Oct 2 '17 at 5:13










    up vote
    1
    down vote













    Have you tried using Ctrl+Ins and Shift+Ins? I'm not sure about copying, but pasting works fine for me. Give it a try and EDIT your question if it doesn't work.






    share|improve this answer



























      up vote
      1
      down vote













      Have you tried using Ctrl+Ins and Shift+Ins? I'm not sure about copying, but pasting works fine for me. Give it a try and EDIT your question if it doesn't work.






      share|improve this answer

























        up vote
        1
        down vote










        up vote
        1
        down vote









        Have you tried using Ctrl+Ins and Shift+Ins? I'm not sure about copying, but pasting works fine for me. Give it a try and EDIT your question if it doesn't work.






        share|improve this answer














        Have you tried using Ctrl+Ins and Shift+Ins? I'm not sure about copying, but pasting works fine for me. Give it a try and EDIT your question if it doesn't work.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Oct 2 '17 at 5:13









        dessert

        21.3k55896




        21.3k55896










        answered Oct 2 '17 at 4:03









        Alex F

        636




        636






























            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f961175%2fcopy-and-paste-doesnt-work-in-the-terminal%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

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局