-
Notifications
You must be signed in to change notification settings - Fork 140
[Linux Mint] Dysfunctional Copy and Paste #313
Comments
Do you use wayland perhaps? |
confirmed to be x11 with "echo $XDG_SESSION_TYPE". |
If there's any suggestion, tinkering, or work around you can suggest to alliviate the issue, I'm open to suggestions. Not being able to copy and paste makes working in the client difficult. |
What shortcut do xou paste with |
Ctrl+Alt+C |
Is that a cordless shortcut you decided on or something your terminal does? |
cordless shortcut, my terminal is ctrl+shift+C. Using gnome-terminal. |
Have you tried using different terminals to see whether the behaviour differs between them? |
I used gnome-terminal and tried with guake, neither work. |
Doesn't guake use the gnome terminal widget? This would mean it's basically the same. Try something completly different. Lie Alacritty, xterm, st or so. |
Tried xterm, similar result as last. |
I am sorry, but I can't reproduce this issue. Can you somehow narrow down the problem? |
Well I don't really know how I could besides system specifications and packages. I have both xsel and xclip installed (due to different scripts needing both), but after removing xclip and xsel and trying with just one, nothing changed. That rules out issues with that. Doubt it'd be a hardware comparability issue, but will provide if requested. X version is following:
|
So, you copy in cordless and then paste via your normal system keyboard shortcut? Or do you use middle mouse button (second clipboard?) Or do you perhaps use some clipboard manager or so? Maybe I misunderstood the situation. And what if you try manually outputting the supposedly copied text via xclip on the cli. Also, is there any error in the cordless console? |
To start, there is no error, in console and (to my knowledge) I am not using any clipboard management program. Neither middle mouse or normal system keyboard pastes the copied text. To elaborate more on the issue with this, I highlight someone's message, hit the copy bind, and try either middle click or CTRL + V, incorrect text pastes. The incorrect text is only for CTRL + V and is due to something I had in my clipboard before, so the program is not writing to clipboard. Both in and out of cordless the paste fails to get the right text. Know thinking about it, the issue might be with the fact that cordless doesn't write anything to the xorg clipboard. |
Could you try again with this patch applied:
It should show an error in the console. |
How would one go about applying the patch? |
|
Applied the patch and ran the patched version. Attempted copy and paste and no error occurred so either your code for error handling is faulty (that I doubt) or something IS being wrote but is configured improperly and therefore it breaks. |
Can you make sure xclip works?
|
Well we found the issue, xclip and xsel aren't copying data. Cordless is not running in a container or SSH. Voice calls should be avoided to keep a project's issues orderly and findable. Valuable information could be locked from the public about this program if our discussion isn't public. In case someone else is having the issue, I'd want them to be able to use this as a resource for his or her issue. |
also realized earlier that when you asked what I paste with, I misread that as copy. My paste bind in terminal is CTRL+SHIFT+V, out of is CTRL+V |
I see, so your system setup appears to be faulty? |
not exactly, copy and pasting for all scenarios but this works completely fine. There is likely a variable that you could call that shows the preferred clipboard program of a system. It's late for me so I will be going to bed soon, so I can't get you that research, but that variable (if it exists) might be a better alternative to the current system of xsel or xclip only (as those don't work on some machines) OR the program used for clipboard management on my system is found and either swapped or integrated to function on cordless. Either works and either (in theory) should fix the issue. I'll be heading off now to get some much needed rest, so don't expect a response for some time. |
This might be an issue for https://github.com/atotto/clipboard then |
Will open an issue up there then. |
How have you installed cordless
What happened
After installing xclip (also attempting with xsel), and attempting the copy bind, the said text was not copied to the system clipboard
How do you reproduce this bug
Error output
Not Appliciable
Hints on what could've happened
Possible mixup/conflict between system and xorg clipboard
System information
| Key | Value |
| - | - | ???
| OS | Linux Mint Version 20 |
| Architecture | amd64 |
Note
This is likely vague and unhelpful (I really do not know what to tell you guys to help), but I am always open to giving new information
The text was updated successfully, but these errors were encountered: