/wayland-clipboard-fix

This script creates service which copies Wayland clipboard content to X11, allowing it to be available when using VirtualBox clipboard redirection

Primary LanguageShellGNU Affero General Public License v3.0AGPL-3.0

wayland-clipboard-fix

EN | RU

1. Description

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.

2. Requirements

  • pacman (Arch-based) or apt-get (Debian-based) installed;
  • sudo installed.

3. Usage

Execute inside virtual machine for usual user:

curl -s https://raw.githubusercontent.com/Nikolai2038/wayland-clipboard-fix/main/fix.sh | sh

4. Contribution

Feel free to contribute via pull requests or issues!