cutsel
Keep the X clipboard and the cutbuffer in sync
Install
- All systems
-
curl cmd.cat/cutsel.sh
- Debian
-
apt-get install autocutsel
- Ubuntu
-
apt-get install autocutsel
- Arch Linux
-
pacman -S autocutsel
- Kali Linux
-
apt-get install autocutsel
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install autocutsel
- Raspbian
-
apt-get install autocutsel
- Dockerfile
- dockerfile.run/cutsel
autocutsel
Keep the X clipboard and the cutbuffer in sync
This tracks changes in the server's cutbuffer and clipboard selection. when the clipboard is changed, it updates the cutbuffer. When the cutbuffer is changed, it owns the clipboard selection. The cutbuffer and clipboard selection are always synchronized. In the case of a VNC client since it synchronizes the Windows' clipboard and the server's cutbuffer, all three "clipboards" are always kept synchronized. When you copy some text in Windows, the cutbuffer and the clipboard selection are updated. When you copy text on the server using either the cutbuffer or the clipboard selection, the Windows's clipboard is always updated.