Closed yannickperrenet closed 3 years ago
The solution does not seem to be very elegant. According to https://unix.stackexchange.com/a/450622:
Under X, there isn't really a clipboard. All selections are copied by having the two X clients that are involved talk to each other. That means if one X client holding the selection is no longer running, the selection is gone.
The proposed solution is to keep a client like xclipboard
running for the communication.
For example: