-
Notifications
You must be signed in to change notification settings - Fork 379
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
Commit d205e6be does not explain what is wrong with nxagent's clipboard management #440
Comments
using which backend? on nxagent exclusively, too? Asking as I too once had my clipboard randomly stop working a few times, but with Xephyr only. |
Yes, my setup relies exclusively on nxagent. |
Thank you for the report! I am not sure what exactly causes the issue. A suspicion: If more than one x11docker instance is running with Currently there are two versions of (The clipboard content is repeatedly checked. This will hopefully be improved in future with a new xclip option to wait for clipboard changes. Compare astrand/xclip#134 (comment) ff.) Please update and tell me if the issue has disappeared. I'll check here, too (no issue the last few hours).
IIRC nxagent does not support image clips while x11docker's |
Thank you for this clarification. Do not hesitate to comment the code accordingly in case someone else stumble upon the same interrogation. As to clipboard problems: I confirm I run multiple applications with x11docker simultaneously. I have patched x11docker to leverage nxagent's capabilities instead of clipboardrc and intend to keep it this way for some time to ensure it works reliably (even if it is limited to text only). |
Some points I found so far:
|
Using the new clipboardrc since a week I don't have issues anymore. |
I read https://www.uninformativ.de/blog/postings/2017-04-02/0/POSTING-en.html -- it does a fairly good job explaining the complexity of the X11 copy/paste mechanisms without covering all the subtleties. Instead, I went a little further with nxagent's copy/paste capabilities and submitted this PR that makes it possible to change nxagent's clipboard mode (none, client, server, both) on the fly: ArcticaProject/nx-libs#1047 -- alas, no feedback so far. Thank you for the fix, I'll have a look at it. |
|
I have added some optional arguments to option
With |
The message for commit d205e6b clearly states:
which indeed describes what happens in this commit.
However, both message and code fail at explaining why such a change is necessary or relevant. Could you please clarify?
Context: on multiple occasions, I found myself unable to copy/paste to/from the applications run through x11docker. My investigations are not complete yet (mainly because this usually happens right when I have other priorities), but I was surprised to notice that nxagent's seemingly interesting clipboard capabilities had been recently replaced with the clipboardrc mechanism.
The text was updated successfully, but these errors were encountered: