GNOME Bugzilla – Bug 306252
RFE: clipboard support between host and vnc server
Last modified: 2007-10-15 18:38:21 UTC
This bug has been opened here: https://bugzilla.ubuntu.com/11321 "Vino doesn't support clipboard features between the VNC client and the VNC server. For example, using a regular VNC server with tightVNC client on my win2k box, I can select text in an Xterm window, switch back to windows and do a 'CTRL-V' to paste the text into a windows app. Same goes transferring the windows clipboard to the VNC server. Supporting clipboard functionality across the VNC server/client boundary would be a great enhancement. Probably need to open this one upstream..."
*** Bug 414796 has been marked as a duplicate of this bug. ***
Created attachment 97254 [details] [review] Proposed patch
Looks cool to me One suggestion I'd make would be to do: text = gtk_clipboard_wait_for_text (cb); if (!text) return; For the record, a couple of things we discussed offline: + Do we want to send an empty string if wait_for_text() returns NULL? e.g. if it returns NULL when the clipboard has been emptied? Answer is that it also returns NULL when there's an error, and you wouldn't want to empty the client's clipboard in that case. + How can you assume the client's codeset is iso8859-1? Answer is that the RFB spec mandates that.
2007-10-15 Jonh Wendell <jwendell@gnome.org> * server/vino-server.c, * server/vino-input.c: Handles clipboard text (Closes #306252)