Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an application that needs to access the clipboard on *nix OSs but I do not have access to the x event loop because of how it works. Therefore I need to send a command to another application to perform copy paste of strings. I was going to use xclip until I found out it is not standard with every Linux distro. Is there an application that comes standard on every (or almost every) Linux distro that can do copy paste of strings?

share|improve this question
AFAIK, there is no tool guaranteed to be on every Linux distro. xclip, or xsel are very common. If you really need it to be present, why not simply request that it be installed? – Zoredache Oct 20 '11 at 18:32

I do not know which tool is most common, but in addition to xclip there also is a tool called xsel (MacOS has pbcopy). Then there also is uclip, however it is not going to be as widespread and it have some problems. See also this question.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.