Il faut installer :

sudo apt-get install xclip

Taper :

 echo "ceci est un test" | xclip

et à présent taper en console shift+insert