Copy and paste used to work in my Linux terminal, but now pressing Ctrl+Shift+C or Ctrl+Shift+V shows control characters instead. I tried changing the terminal configuration without success. What should I check?
Why am I getting ^C and ^V instead of copy and paste in my terminal?
Answers
Ctrl+C normally interrupts the foreground command in a terminal, so seeing ^C can be normal. Ctrl+Shift+C and Ctrl+Shift+V are common copy and paste shortcuts, but the terminal has to recognize those combinations before they reach the program running inside it.
Since you already tried the shifted shortcuts, check whether the terminal has custom key mappings that override them. Temporarily remove those mappings or start with a fresh configuration, keeping a backup of the original.
Reply to this answer
Try another terminal emulator and see if the same keys work there. Also check whether Ctrl and Shift work normally in other applications. That should help narrow it down to the terminal configuration or a broader keyboard or desktop issue.
If the terminal itself seems stuck in an odd state, you can also try running reset. That may help with terminal modes, though it will not fix a shortcut mapping that is wrong.
Reply to this answer
For a workaround, try Shift+Insert to paste and Ctrl+Insert to copy. Those shortcuts depend on the terminal and keyboard, but they are worth a shot if the usual bindings aren't working.
Reply to this answer
Another option on many Linux desktops is to select text and paste it with a middle click. That often uses the selection rather than the regular clipboard, so it may not paste the same thing as Ctrl+Shift+V. Some terminals also offer paste in a right-click menu.
Reply to this answer
Add your answer
Answers are reviewed before publication.
Related Discussions