Top "Xclip" questions

xclip is a command line interface to the X11 clipboard.

echo "string" | xclip -selection clipboard , copies the 'string' but also adds a new line to it. how to fix this?

this is the command responsible for adding a new line to the string echo "string" | xclip -selection clipboard

linux centos clipboard xclip
xclip gives `Error: Can't open display: localhost:10.0` in tmux session in Ubuntu VirtualBox VM

I'm attempting to use xclip in a tmux session in my Ubuntu VirtualBox VM for some copy/paste keybindings, but …

ssh tmux x11-forwarding xclip