I'm coping file to
cat file.txt | xclip
I'm pasting without problem with
When I want to paste it to
Ctrl+V it pastes old text (that shouldn't already be in the clipboard).
When I go back to terminal and run
xclip -o it pastes the correct text.
Why is there a problem with pasting to