-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
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
Add flag to disable automatic clipboard updates #2228
Comments
I would also like this feature. Is your feature request related to a problem? Please describe. Attempting to copy (ctrl+c) on the computer often fails unless I spam the command. Describe the solution you'd like Describe alternatives you've considered |
#2817 adds an option |
By default, scrcpy automatically synchronizes the computer clipboard to the device clipboard before injecting Ctrl+v, and the device clipboard to the computer clipboard whenever it changes. This new option --no-clipboard-autosync disables this automatic synchronization. Fixes #2228 <#2228> PR #2817 <#2817>
Implemented by #2817. |
If --no-clipboard-autosync is enabled, the automatic clipboard synchronization whenever the device clipboard changes is disabled. But on explicit copy and cut scrcpy shortcuts (MOD+c and MOD+x), the clipboard should be synchronized, so that it is still possible to copy-paste from the device to the computer. This is consistent with the behavior of MOD+v, which pastes the computer clipboard to the device. Refs #2228 <#2228> Refs #2817 <#2817>
If --no-clipboard-autosync is enabled, the automatic clipboard synchronization whenever the device clipboard changes is disabled. But on explicit COPY and CUT scrcpy shortcuts (MOD+c and MOD+x), the clipboard should still be synchronized, so that it remains possible to copy-paste from the device to the computer. This is consistent with the behavior of MOD+v, which pastes the computer clipboard to the device. Refs #2228 <#2228> Refs #2817 <#2817>
If --no-clipboard-autosync is enabled, the automatic clipboard synchronization performed whenever the device clipboard changes is disabled. But on explicit COPY and CUT scrcpy shortcuts (MOD+c and MOD+x), the clipboard should still be synchronized, so that it remains possible to copy-paste from the device to the computer. This is consistent with the behavior of MOD+v, which pastes the computer clipboard to the device. Refs #2228 <#2228> Refs #2817 <#2817> PR #2834 <#2834>
Describe the solution you'd like
It would be nice to have control over the automatic clipboard population on the host.
scrcpy -s abcd1234 --clipboard-copy false
Describe alternatives you've considered
Running
scrcpy
in a VM. Doable, but seems like overkill for something that can be potentially just one if clause.Additional context
It will improve quality of life during passive control over the scripted tasks. Limiting disturbations to other work.
The text was updated successfully, but these errors were encountered: