Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-11-19 13:33:32

Friedrich
Member
Registered: 2016-09-18
Posts: 140
UbuntuFirefox 132.0

Share clipboard with other Network devices

Hi,

is there a function in xfce4-clipman to share the clipboard with other devices (all ubuntu with xfce) in the same home network?

If not: I use ssh with key files to simply connect to that machines. I think it's possible to "send" the value of my local clipboard to all other machines using ssh and xsel. But i need a mechanism to start the script when the clipboard is changed similar to "inotifywait". Is there a file where xfce4-clipman stores the clipboard's value in?

Friedrich

EDIT
All the programs i found are not designed to share clipboard between devices in home network but between host and guest (virtual machine) or when using xephyr.

Offline

#2 2024-11-19 20:45:46

mint4all
Member
From: off the map
Registered: 2018-08-21
Posts: 276
LinuxFirefox 132.0

Re: Share clipboard with other Network devices

Friedrich wrote:

Hi,

is there a function in xfce4-clipman to share the clipboard with other devices (all ubuntu with xfce) in the same home network?

If not: I use ssh with key files to simply connect to that machines. I think it's possible to "send" the value of my local clipboard to all other machines using ssh and xsel. But i need a mechanism to start the script when the clipboard is changed similar to "inotifywait". Is there a file where xfce4-clipman stores the clipboard's value in?
Friedrich
EDIT
All the programs i found are not designed to share clipboard between devices in home network but between host and guest (virtual machine) or when using xephyr.

Greetings to you, Friedrich:

Some time ago, I was looking into a similar functionality (sending/receiving files and such between laptops and android phones on my home network). I learned about "CopyQ", a FOSS clipbord manager that apparently has (according to its documentation) a quite elaberate scripting facility biult-in, see https://hluk.github.io/CopyQ/ ... For my purposes, Linux Mint's "warpnator" app worked just fine. But your needs are well beyong that app's functions. Perhaps CopyQ does what you're looking for?

Cheers, m4a


Linux Mint 21.3 -- xfce 4.18 ... Apple iMAC -- Lenovo, Dell, HP Desktops and Laptops -- Family & Community Support

Offline

#3 Yesterday 11:50:43

Friedrich
Member
Registered: 2016-09-18
Posts: 140
UbuntuFirefox 132.0

Re: Share clipboard with other Network devices

I found an Feature Request from 2019 - CopyQ doesn't has this Feature. The only way is to "send" the content of the "server" clipboard to the "client" clipboard using ssh. For that i need to run a script every time the "server" clipboard is changed and then run the script. But i don't know whether this is possible.

The other way is to run a script with an infinity loop that writes the content of the clipboard to a variable with a pause of lets say 1 sec and compare both. When it's different something has changed and ssh sends the content to the "client". But i guess running a script with a loop in autostart isn't a good idea.

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.007 seconds, 9 queries executed - Memory usage: 529.55 KiB (Peak: 530.84 KiB) ]