With NoMachine workstation server running on CentOS, any selection of text in any GUI app will be copied to clipboard. This is extremely annoying in a text editing environment. Instead, I would like an option equivalent to “Clipboard may use PRIMARY selection” (https://x.cygwin.com/docs/ug/using-clipboard-integration.html) in Cygwin. When the option is disabled, copy texts to clipboard only when Ctrl+C is explicitly pressed.
I’ll give one common scenario when copy-on-select is highly desired to be disabled:
I want to replace “<To Be Replaced>” with “Real Text”.
1. I copied “Real Text” from another source, could be local or remote.
2. I select “<To Be Replaced>” on the remote editor app.
3. I press “Ctrl + V” to paste.
This works both on Linux and Windows. On Linux, the selection is supposed to be copied to the PRIMARY selection and would not affect clipboard. Now with NoMachine, the above workflow doesn’t do anything, as clipboard is overwritten in step 2 with “<To Be Replaced>”. So it is not possible to select something, and press Ctrl + V to replace it.