I have a TigerVNC GUI running. In the GUI I have a text file open in gedit. I want to copy some text from the text file open in the TigerVNC to my local mac, but the catch is that if the size of the text exceeds a certain limit (say 100 bytes), the paste shouldn't occur. I see 2 options

  1. Write a middleware between the VNC server in my remote machine and VNC client in my MAC.
  2. Manually implement the copy-paste functionality using X11/Xlib APIs like XConvertSelection etc.

The copy-paste operation should be "CTRL + C" and "CTRL + V" i.e. using CLIPBOARD.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.