docker-baseimage-gui icon indicating copy to clipboard operation
docker-baseimage-gui copied to clipboard

Clipboard Auto Sync

Open djarbz opened this issue 2 years ago • 6 comments

Is it possible to enable auto syncronization of the remote clipboard with the local clipboard? It is a bit of a pain to have to paste into the clipboard widget and then paste again inside the VNC session and to remember to do so.

djarbz avatar Dec 21 '22 16:12 djarbz

The local and remote clipboards are synchronized. Are you suggesting that a "ctrl+v" into the clipboard widget automatically performs a "ctrl+v" into the remote app ?

jlesage avatar Dec 23 '22 16:12 jlesage

I have to use the clipboard widget in the side panel in order to transfer to/from the app. I can't copy something on my host PC and paste it directly into the app or vice versa.

djarbz avatar Dec 31 '22 18:12 djarbz

I can't copy something on my host PC and paste it directly into the app or vice versa.

To my knowledge this is not something that can be done: for security reason, a web page cannot freely access the clipboard without user intervention.

jlesage avatar Jan 02 '23 02:01 jlesage

Would ctrl+v or ctrl+c not be intervention? I swear I have used other HTML VNC like apps before that accomplish this, I know other apps such as code-server require HTTPS for the clipboard to work. I'll have to see if I can find any examples, it's been a while.

djarbz avatar Jan 02 '23 20:01 djarbz

Looks like it is not supported by noVNC yet, see this PR: https://github.com/novnc/noVNC/pull/1347

djarbz avatar Jan 02 '23 20:01 djarbz

Thanks for the pointer! I will follow this thread closely.

jlesage avatar Jan 03 '23 00:01 jlesage