From 139d6e2818fcbc69a5a4ed7550e6439ab0e07c57 Mon Sep 17 00:00:00 2001 From: Daniel Nouri Date: Mon, 14 Jul 2025 13:57:45 +0200 Subject: Fix clipboard on Wayland systems (#941) Co-authored-by: Daniel Nouri --- packages/web/src/content/docs/docs/troubleshooting.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/web/src/content/docs') diff --git a/packages/web/src/content/docs/docs/troubleshooting.mdx b/packages/web/src/content/docs/docs/troubleshooting.mdx index 234c7cce1..bb4f906ee 100644 --- a/packages/web/src/content/docs/docs/troubleshooting.mdx +++ b/packages/web/src/content/docs/docs/troubleshooting.mdx @@ -115,4 +115,4 @@ Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & export DISPLAY=:99.0 ``` -opencode will automatically detect and use the first available clipboard tool in order of preference: `xclip`, `xsel`, then `wl-clipboard`. +opencode will detect if you're using Wayland and prefer `wl-clipboard`, otherwise it will try to find clipboard tools in order of: `xclip` and `xsel`. -- cgit v1.2.3