This is a simple distributed clipboard.
Imagine this scenario: you use a a couple of different machines to do your
work. You need a way to share clipboard contents between all these machines.
clipd
solves this problem for you. Imagine xclip
but with a server and
clients.
rustup target add x86_64-unknown-linux-musl
cargo build --target x86_64-unknown-linux-musl --release
scp ./target/x86_64-unknown-linux-musl/release/clipd_server root@<server>:/usr/local/bin
scp ./etc/clipd.service root@<server>:/etc/systemd/system
ssh root@<server> systemctl enable --now clipd
cp ./target/x86_64-unknown-linux-musl/release/clipd /usr/local/bin
mkdir -p ~/.config/clipd
cp ./etc/client.toml ~/.config/clipd
- Modify
~/.config/clipd/client.toml
'sserver
field to point to server