Place all .socket and .service in ~/.config/user/
systemctl enable xclip.socket
systemctl start xclip.socket
systemctl status xclip.socketecho "text to copy" | nc localhost 11988Host xxx
Hostname xxx
RemoteForward 11988 localhost:11988- Not use sudo, xclip require to use
DISPLAY. Otherwise, suffer fromError: Can't open display: (null) - pay attention to the name `xclip@.service``
- Theoretically,
xcliponly support file