You are not logged in.
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
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
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
[ Generated in 0.007 seconds, 9 queries executed - Memory usage: 529.55 KiB (Peak: 530.84 KiB) ]