-
Notifications
You must be signed in to change notification settings - Fork 34
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
Bug: If xclip is installed on Wayland uniclip prints errors and does not copy to clipboard #26
Comments
Similar issue here. Even after uninstalling
|
Same here.. cloned for github on both linux (gnome 46 wayland on 24.04) xclip installed or not.. get this on server: craig@aragorn:~$ uniclip -d -p 6666 Connected to device at 192.168.0.208:46988 And this one client: raig@frodo:~$ uniclip -d 192.168.0.236:6666 |
Same here.. |
Description of the bug
Uniclip prints errors and does not add anything to the clipboard when running in Wayland with xclip (or presumably xsel) installed. I believe this is happening because uniclip uses the first binary it finds here and xclip is prioritized over wl-paste:
https://github.com/quackduck/uniclip/blob/master/uniclip.go#L340
I don't think I actually need xclip so I was able to work around the issue by just uninstalling it. But it might be nice if uniclip was able to handle this somehow or at least provide a more informative warning to explain what's going on.
Verbose output (Use the
--debug
option)Steps to Reproduce
uniclip
on the Wayland machine thanuniclip <ip address>
on the otherExpected behavior
Uniclip should run without errors in Wayland and share the clipboard between machines as normal. Or perhaps print a warning that there are multiple possible clipboard sources so it's clearer what was going on.
OS and Uniclip version
On the Wayland machine I was running the dev version of uniclip cloned from this GitHub on ArchLinux.
The other machine was Windows 10 running uniclip 2.3.6.
The text was updated successfully, but these errors were encountered: