Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Server-to-client copy/paste would be nice #106

Open
KJ7LNW opened this issue Oct 4, 2022 · 5 comments
Open

Feature: Server-to-client copy/paste would be nice #106

KJ7LNW opened this issue Oct 4, 2022 · 5 comments
Assignees
Labels
feature-request New feature or request

Comments

@KJ7LNW
Copy link

KJ7LNW commented Oct 4, 2022

Is your feature request related to a problem? Please describe.

I am unable to copy from Android and paste locally to my desktop.

Describe the solution you'd like

Support copy-paste of plain-text content

Describe alternatives you've considered

Even if I have to paste the text into a "clipboard transfer" box on the droidVNC-NG app itself, that would be ok, but even better if you can transfer the clipboard as soon as text is copied!

Additional context

If this is actually known to work, then let me know I should troubleshoot.

Thanks!

@bk138
Copy link
Owner

bk138 commented Oct 5, 2022

Please see the third bullet point in https://github.com/bk138/droidVNC-NG#features: Android keeps services/apps from getting clipboard data. We could have the "clipboard transfer" box you suggested, that would work but probably be not very good UX :-/

I'm keeping this open as it might relate to #4

@bk138 bk138 added the feature-request New feature or request label Oct 5, 2022
@bk138 bk138 changed the title Feature: Copy/paste would be nice Feature: Server-to-client copy/paste would be nice Oct 5, 2022
@KJ7LNW
Copy link
Author

KJ7LNW commented Oct 5, 2022

Interesting point.

I'd like to highlight this from the original post above:

Even if I have to paste the text into a "clipboard transfer" box on the droidVNC-NG app itself, that would be ok, but even better if you can transfer the clipboard as soon as text is copied!

This was my case:

I used my phone to scan a QR code with TOTP keys, but wanted to securely transfer the (very long) key to my desk without re-typing it. So I setup ssh forwarding and tried droidVNC-NG hoping clipboard would work.

For this example I would be fine pasting it into a dedicated "clipboard" textarea of the droidVNC-NG app itself, so it fills the clipboard on my VNC desktop client, so I can paste to my desk.

@freebrowser1
Copy link

Weird, for me this did work.
Using RealVNC viewer on macOS copying text from Android (OnePlus 6 running Android 10) to my Mac did work.

@ElishaAz
Copy link

KDEConnect solved the Android 10 problem by opening an invisible activity that retrieves the clipboard: https://github.com/KDE/kdeconnect-android/blob/master/src/org/kde/kdeconnect/Plugins/ClibpoardPlugin/ClipboardFloatingActivity.java
This can only be done on-demand, but is still much better than having to paste it into a text field

@bk138 bk138 self-assigned this May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants