EN | RU
2024-09-29: Archived - use clipboard-sync instead.
The purpose here is to sync clipboard content when working in VirtualBox. Wayland clipboard is not syncing, but X11 clipboard does. So the service created by this script here watches Wayland clipboard content, and when it changes, it copies it to the X11 clipboard content and vice versa.
pacman
(Arch-based) orapt-get
(Debian-based) installed;sudo
installed.
Execute inside virtual machine for usual user:
curl -s https://raw.githubusercontent.com/Nikolai2038/wayland-clipboard-fix/main/fix.sh | sh
Feel free to contribute via pull requests or issues!