1urxvt-remote-clipboard(1) RXVT-UNICODE urxvt-remote-clipboard(1)
2
3
4
6 remote-clipboard - manage a shared and possibly remote clipboard
7
9 Somewhat of a misnomer, this extension adds two menu entries to the
10 selection popup that allows one to run external commands to store the
11 selection somewhere and fetch it again.
12
13 We use it to implement a "distributed selection mechanism", which just
14 means that one command uploads the file to a remote server, and another
15 reads it.
16
17 The commands can be set using the "URxvt.remote-selection.store" and
18 "URxvt.remote-selection.fetch" resources. The first should read the
19 selection to store from STDIN (always in UTF-8), the second should
20 provide the selection data on STDOUT (also in UTF-8).
21
22 The defaults (which are likely useless to you) use rsh and cat:
23
24 URxvt.remote-selection.store: rsh ruth 'cat >/tmp/distributed-selection'
25 URxvt.remote-selection.fetch: rsh ruth 'cat /tmp/distributed-selection'
26
27
28
299.31 2023-07-22 urxvt-remote-clipboard(1)