I am on Ubuntu 22.10, when I copy text from anywhere, there is no problem with pasting it on a regular other app. But I get errors when I try to paste the text into terminal text editors.
For example in Nano I get the error
[ Cutbuffer is empty ]
and in VIM :
error E353: Nothing in register *
I've tried this for vim in .vimrc
:
set clipboard=unnamed
and didn't work!
NOTE: when first open vim, running the above command in vim command bar causes the error to not be displayed, but the clipboard is empty and nothing pasted!