clipboardprobe

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 14 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command clipboardprobe live-verifies the clipboard flavor interfaces (pre-rebrand tracker #513) against the real system clipboard.

CLI mode (desktop): run one operation and exit, e.g.

go run ./hack/clipboardprobe caps
go run ./hack/clipboardprobe set-html '<b>bold</b>' 'bold'
go run ./hack/clipboardprobe get-image /tmp/out.png

Managed CLI mode (Linux): --run executes the operation inside the running app — clipboard access there needs the initialized GLFW loop, Wayland additionally needs the window focused, and after a set the process must stay alive to serve the X11 selection / Wayland data source:

go run ./hack/clipboardprobe --run set-image   # serves until killed
go run ./hack/clipboardprobe --run get-image /tmp/out.png

UI mode (no args): a button-per-operation window, needed on wasm where clipboard access must happen inside a user gesture.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL