Yuri Khan yurivkhan@gmail.com writes:
This patch achieves this by creating an auxiliary thread that will run in the same process that puts data on the clipboard and handle X selection messages.
That looks quite inefficient, especially since you create a new thread every time. You should limit this to the cases where it's really necessary, using clipboard from command line apps is a very uncommon operation.