You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using opencode in Wayland environments with wl-clipboard, copying text via highlight selection or Ctrl+Y only populates the regular clipboard but not the primary clipboard. This prevents pasting to the host OS when using VMware Workstation, which only syncs the primary clipboard between guest and host.
Additional context:
wl-clipboard version: 2.2.1
In VMware Workstation, only the primary clipboard gets synced between guest and host OS
The issue affects both the highlight-to-copy functionality and the Ctrl+Y explicit copy command
Proposed solution:
Add a configuration option to control clipboard behavior in Wayland environments:
These issues all relate to clipboard and copy/paste functionality on Linux/Wayland environments. Feel free to ignore if this is addressing a specific edge case not covered by the others.
Activity
github-actions commentedon Dec 24, 2025
This issue might be a duplicate of existing issues. Please check:
These issues all relate to clipboard and copy/paste functionality on Linux/Wayland environments. Feel free to ignore if this is addressing a specific edge case not covered by the others.
mickalpine commentedon Jan 22, 2026
@rekram1-node I created a PR to solve this issue #6370
To enable primary clipboard copy it would be add to opencode config (default is false):
{ "clipboard": { "linux": { "enablePrimaryCopy": true } } }github-actions commentedon Mar 26, 2026
To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.