How to sync clipboard between 2 computers on xorg and wayland?

mariah@feddit.rocks to Linux@lemmy.ml – 21 points –

i want to sync what i copy between my tablet and pc, both running debian.

26

KDE connect can do that if they are on the same network

Or if you use a VPN.

I mean, this still means they're on the same network, right?

Do you have any tips using KDE Connect with a local VPN (Wireguard)? It works great for me on the same network, but unfortunately fails to connect outside of my network despite one (or both) devices connected to my VPN

You need to input the IP directly, WireGuard doesn't quite do broadcasts in most cases so mDNS won't work.

Also your firewall may block some ports through Wireguard, but not through a "trusted home network".

I think opening ports for wireguard helps? To allow incoming traffic?

kinda off topic but will this work in waydroid

i have kde connect and have sync clipboard on but its not working

To sync from android to your PC, you'd need to manually do it by pressing the send clipboard button in the KDE Connect app on your android device. It's due to a limitation imposed by Google. However sync from Linux to android should work automatically. Is that not the case for you?

im not on android

Oof, I have no experience with (assuming) apple stuff. But it might be even more restricted than android. Good luck and don't forget to share your solution if and when you find it! :)

? i said both run linux. my tablet runs linux

Whoops. My bad, apparently I'm too tired to read

Are the two Linux devices on the same IP subnet?
Are any of the other KDE connect features working?

Just out of curiosity, may I ask why you want to do that?

im disabed and its easier to use touch. so i wanna copy a link on my tablet and open it on my pc

On Firefox I can easily send a tab to another one of my devices using a Firefox account to link them if something like that sounds acceptable to you. I imagine the same is possible with Chrome.