Unable to paste the code

Hello everyone,
Iam unable to pate the code from the course website to my Ubuntu server.

Hi @guruhathokkalu

Apologies for the inconvenience. Currently there is a technical issue where the code snippet gets copied but the screen does not scroll. We are trying to solve it. As of now, you can first scroll to the bottom of the content and to then drag to the top. Copy and paste it in your ubuntu server.

Thank you for your answer but can you tell me what is the shortcut to paste the code in Ununtu as I press Cntrl+v or cntrl+u it shows cutbuffer is empty

@guruhathokkalu
In Ubuntu, especially when using the terminal the typical Ctrl+V shortcut for pasting may not work.
Try using Shift+Ctrl+V.

You can also try to place the cursor to the area where it has to be pasted and Right-click to paste

Let us know if this works

Sir ,shift+ctrl+V is not working and in my terminal no cursor is present only a blinking underscore is there and right click is also not working with underscore

@guruhathokkalu can you check if pressing the insert key on your keyboard changes the blinking underscore to a different symbol? After the symbol changes try RIGHT CLICK to paste the code. Do try this and let me know if it it works. Try pasting any random text to see if it works.

No , @pranav.kundaikar it opens the ‘file to insert’ option

Hi @guruhathokkalu,

Could you please share a short video demonstrating the issue? Usually, following the steps provided by @pranav.kundaikar should resolve the problem. If it doesn’t work, we might need more information to debug. Therefore, please share a short video showing the points we have mentioned, as well as the ‘file to insert’ you were referring to.

Also, let us know what software you are using to run the Ubuntu server. This will help us determine if there are any specific settings that need to be enabled, which might be preventing you from pasting the content.

@guruhathokkalu
Can you refer to the suggestions given in this thread and try to enable the copy paste for your VMware system?

Do try out and let me know if the suggestions help in resolving the issue.

Worst case scenario if the issue is not getting solved, I would recommend you type out the code so that you are able to continue your learning and your time doesn’t get wasted in solving the issue.

There are various method to copy paste in ubuntu, use anyone from the below -

  1. Terminal:
  • Copy: Ctrl + Shift + C
  • Paste: Ctrl + Shift + V
  1. GUI Applications (like Text Editors, Browsers, etc.):
  • Copy: Ctrl + C
  • Paste: Ctrl + V
  1. Use Xsel
  • A. Install xsel using (sudo apt install xsel)
  • B. Copy text using (echo “Hello, World!” | xsel --clipboard)
  • C. Paste the text using (xsel --clipboard --output)