clipboard_write
Place text or a file's bytes on the GNOME Wayland clipboard and verify the write by reading back the data, ensuring the compositor holds the correct content.
Instructions
Put text or a file's bytes on the clipboard, and PROVE it landed by reading it back. Goes through the gnome-shell extension so the compositor sets the clipboard itself -- mutter has a measured bug (S-018) where an external client's offer can serve wrong bytes to text requests, so wl-copy is only the fallback and says so when used.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | File whose bytes go on the clipboard, e.g. a PNG | |
| text | No | Text to place on the clipboard. Give this OR path+mimetype, not both. | |
| mimetype | No | The type those bytes are offered as, e.g. image/png. Required with path. |