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?
1 Answer
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.