3

I tried this on Ubuntu and Kubuntu. Result is the same. How I can fix copy/pase in the console?

4 Answers4

1

I have the same problem on some terminals (when the keyboard language is different from the system language).

On these terminals I have verified that Ctrl+Shift+V pastes the contents of the clipboard if I lift my finger from the Shift key (while holding down the other two keys). The procedure for copying is similar.

It's strange and not very functional but it works.

0

I don't think I fully understand what you mean. Can you tell us a way to reproduce this issue?

As a workaround you you can select the text you want to copy and press the mouse wheel. This will copy and paste your selection.

  • By default you can use Ctrl+Shift+V/Ctrl+Shift+C in console (on Ubuntu and Kubuntu), but if you will set setting this, Ctrl+Shift+V/Ctrl+Shift+C will work no longer. In Ubuntu you can use Gnome Tweaks to apply the same option (switch layout on Ctrl+Shift). – Alexander Zolkin Apr 16 '20 at 10:42
  • I believe it has to do with the order that the OS resolves the pressing of the buttons. You have reserved the Ctrl+Shift combination for switching layouts. I'm no expert but I think that the OS catches the event before the terminal so only one operation is completed, the switching of the layout. If I'm correct, your only option is to change the combination to something else. – spyroukostas Apr 16 '20 at 11:06
0

You could change Shortcuts preferences in terminal to Ctrl+Super+C:

Edit -> Preferences -> Shortcuts

enter image description here

The same could be performed for Konsole:

Settings -> Configure Shortcuts

enter image description here

Or just change layout switching Shortcut to something else in Applications -> Settings -> Devices -> Keyboard Shortcuts under Typing section.

Gryu
  • 7,559
  • 9
  • 33
  • 52
0

I had the same issue and i solved it, Just follow my steps :
1. Open your Terminal / console , using Ctrl + Alt + T.

enter image description here

2. From Edit > Preferences > Shortcuts, Look for copy/paste and double click and type your shortcut , Then Close.

Note :
Default shortcut for copy Ctrl + C
Default shortcut for paste Ctrl + V

enter image description here

Now, you can copy and paste in your terminal, This way worked with me Ubuntu 18.04.
Hope that helps you to solve your issue.

AEM
  • 1,166