Use this tag for questions about using the xclip utility to copy text into and from the X clipboard.
The xclip tool can be used to manage the X clipboard and move text between processes running within terminal emulators and other X11 applications.
It can be installed in Ubuntu with
sudo apt-get install xclip