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

Automatically copy to the clipboard after selecting some words. #1559

Closed
txdyzdy opened this issue Jun 30, 2021 · 1 comment
Closed

Automatically copy to the clipboard after selecting some words. #1559

txdyzdy opened this issue Jun 30, 2021 · 1 comment
Labels

Comments

@txdyzdy
Copy link

txdyzdy commented Jun 30, 2021

Describe the bug
Automatically copy to the clipboard after selecting some words in the server.

To Reproduce
Steps to reproduce the behavior:

  1. Click on 'clipboard'
  2. Select somethings
  3. See error

Expected behavior
After selecting the text in the server, click 'Copy' or the shortcut key ctrl + x/c, and then copy it to the clipboard.

If I want to replace some text on the server, after putting the local text into the clipboard, select the text to be replaced on the server, the content of the clipboard is changed.

Client (please complete the following information):

  • OS: iOS
  • Browser: chrome
  • Browser version: 91.0.4472.114

Server (please complete the following information):

  • noVNC version: 1.2.0
  • VNC server: TigerVNC
  • WebSocket proxy: websockify
@samhed
Copy link
Member

samhed commented Jun 30, 2021

That's because of how the primary clipboard works in Linux, selecting text will copy it to the clipboard. I understand your confusion in this case due to the way the clipboard works in noVNC. Using the clipboard in noVNC is quite cumbersome at the moment, hopefully we can get it working more seamlessly in the future, see #1347

I'd recommend looking for a way of disabling the primary clipboard on the linux desktop on your server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants